Compute
instruments
Detects instruments in an audio file
moises.compute.instrumentsParameters
| Parameter | Type | Description |
|---|---|---|
inputUrl | string | The input audio data |
Returns:
Promise<Object> - Promise that resolves with the instruments result
Return Object Structure:
// When the promise resolves, you get:
{
instruments: "example" // string
}Usage Example
import { initMoisesExtension } from '@moises.ai/extension'
const useMoisesExtension = initMoisesExtension({
id: 'id',
name: 'name',
description: 'description',
icon: 'icon',
version: 'version',
author: 'author'
})
const { moises } = useMoisesExtension()
const result = await moises.compute.instruments({ input })
console.log(result) // { instruments: 'instrument' }This file is automatically generated. Do not edit manually.