midi_insert_notes_batch
Insert multiple MIDI notes into a selected track's MIDI item in one batch. Define pitch, velocity, timing, and channel for each note to write full musical passages quickly.
Instructions
Batch-insert notes into a MIDI item. Primary tool for writing MIDI.
Args:
track_index: 0-based track index.
item_index: MIDI item index on that track.
notes: JSON array of {"pitch":60, "velocity":100, "start":0.0, "end":0.5, "channel":0}.
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": {
"track_index": "<track_index>",
"item_index": "<item_index>",
"notes": "<notes>"
},
"name": "midi_insert_notes_batch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | Yes | ||
| item_index | Yes | ||
| track_index | Yes |