Render music as sound
render_audioRender music as a PCM16 mono WAV: notes written as for create_midi, or a MIDI file or a ProTracker module (MOD) given as file_base64 or storage_id. A small synthesizer plays the notes with an instrument family for each General MIDI program and drums on channel 10. At most 180 seconds of sound, a WAV of at most 7938044 bytes; a longer or denser song is cut and truncated says so. A WAV over 4 MiB, about 95 seconds, is kept in Storage for 24 hours and answered as storage_id and storage_url instead of inline audio. No API key, no account and no sign up.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "render_audio"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | No | The notes, as for create_midi. | |
| tempo | No | Beats a minute for notes, 120 by default. | |
| program | No | The General MIDI program for notes, 0 (the grand piano) by default. | |
| storage_id | No | A storage_id from store_file, from a previous tool result, or from REST /storage. Objects expire 24 hours after they were stored. | |
| file_base64 | No | The file as standard base64, at most about 190 KB of file through MCP. For a larger file, store it with REST POST /services/v1/storage first and pass storage_id. |