Turn a recording into MIDI
convert_to_midiFinds the melody in an audio file the user uploaded (singing, humming or one instrument), shows it as a piano roll that plays, and opens it on MusicBun to download as a MIDI file. Use when the user attaches audio and asks for MIDI or the notes of a melody.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"audio": "<audio>"
},
"name": "convert_to_midi"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| audio | Yes | The audio file the user uploaded |