Boost Audio - Audio to MIDI
boost_audio_to_midiConvert a melody or drum track from audio to a downloadable MIDI file. Use midi_mode='melody' (default) for pitched instruments/vocals, 'drums' for drum transcription.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| audio_url | No | Optional public URL to an audio/video file. If omitted, the user uploads the file in the rendered widget. | |
| file_name | No | Original file name. Required when audio_base64 is provided. | |
| file_type | No | Original mime type. Required when audio_base64 is provided. | |
| midi_mode | No | 'melody' for pitched instruments/vocals (default), 'drums' for drum transcription. | melody |
| stem_hint | No | Instrument type hint for melody mode — helps the transcription engine. Ignored when midi_mode is 'drums'. | other |
| file_token | No | Token for a pre-uploaded large file (>22 MB). Obtained from POST /widget-api/upload-raw. Used instead of audio_base64 for large files. | |
| audio_base64 | No | Optional base64-encoded audio file payload. Used by the widget when the host iframe blocks CORS fetches. |