Make a MIDI file from notes
create_midiMake a Standard MIDI File from notes written as text: tokens such as C4:4 (middle C, a quarter note), E4:8 (an eighth), R:4 (a rest) and C4+E4+G4:2 (a chord, a half note), separated by spaces or commas, with | starting a new track that plays at the same time. A note is a letter A to G with # or b and an octave -1 to 9, or a MIDI number 0 to 127. The answer carries the file as midi_base64 with its tracks, notes, tempo and length. Nothing is stored. No API key, no account and no sign up.
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": {
"notes": "<notes>"
},
"name": "create_midi"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | Yes | The notes, such as C4:4,E4:8,G4:8,R:4,C4+E4+G4:2. | |
| tempo | No | Beats a minute, 120 by default. | |
| program | No | The General MIDI program, 0 (the grand piano) by default. |