Processes an audio file and converts it into a MIDI file. Optionally generates a sonified .wav and/or a CSV of note events. This request is handled asynchronously.
.wav file of the MIDI output and export note events into a .csv file for further analysis or editing.
Ideal for music production, remixing, and advanced audio content creation.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
audio_path | String | ✅ Yes | - | The S3 path of the input audio file to convert. |
sonify_midi | Boolean | Optional | true | If true, generates a .wav file that plays the MIDI output. |
save_note_events | Boolean | Optional | true | If true, saves predicted note events as a .csv file. |
webhook_url | String | Optional | "" | Callback URL for asynchronous result delivery. |
💡Note: audio_path must be a valid and accessible S3 URL.
content-type: multipart/form-data
🔐 Replaceapi_key,audio_path, andwebhook_urlwith your own values before sending.
audio_path or missing required parameters.webhook_url was provided, the system sends a POST request:
URL of the audio file to convert to MIDI.
"https://example.com/audio.mp3"
Audio file to upload and process directly.
If true, generates a .wav file that sonifies the MIDI output.
If true, saves predicted note events as a CSV file.
Callback URL to receive conversion results.
"https://your-webhook-url.com/callback"