Add MIDI notes
reaper_add_midi_notesAdd MIDI notes to an existing MIDI item's active take, specifying start, length, and pitch in beats. Insert multiple notes in one call to build chords or melodies.
Instructions
Add MIDI notes to the active take of an existing MIDI item. Positions and lengths are in beats relative to the item start. Insert many notes in one call for chords/melodies.
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": "reaper_add_midi_notes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | Yes | Notes to insert | |
| item_index | Yes | ||
| track_index | Yes |