reaper_add_midi_note
Insert a MIDI note at a specified pitch, start time, and duration into an existing MIDI item on any track.
Instructions
Insert a single MIDI note into an existing MIDI item on a track.
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>",
"pitch": "<pitch>",
"start_sec": "<start_sec>",
"length_sec": "<length_sec>"
},
"name": "reaper_add_midi_note"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| track_index | Yes | 0-based track index | |
| item_index | Yes | 0-based item index from reaper_list_items | |
| pitch | Yes | MIDI note number 0-127 (60 = middle C) | |
| start_sec | Yes | Note start in seconds (project time) | |
| length_sec | Yes | Note duration in seconds | |
| velocity | No | Note velocity 1-127 | |
| channel | No | MIDI channel 0-15 |