insert_midi_notes
Add pitched, timed MIDI notes to an existing REAPER item; define pitch, start, length, velocity, and channel in quarter-note positions relative to the item start.
Instructions
Insert MIDI notes into an existing MIDI item. Each note: {pitch: 0..127, start_qn: float, length_qn: float, velocity?: 1..127 (default 96), channel?: 0..15 (default 0)}. Positions are quarter-notes relative to the item start.
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": "insert_midi_notes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | Yes | ||
| item_index | Yes | ||
| track_index | Yes |