midi_set_note
Edit an existing MIDI note's pitch, velocity, timing, or channel in a REAPER item. Specify values to change; use -1 to keep current settings.
Instructions
Edit existing note. -1 keeps current value.
Args: item_index: MIDI item index. note_index: Note index in item. pitch: 0-127 (-1=keep). velocity: 1-127 (-1=keep). start_position: Seconds (-1=keep). end_position: Seconds (-1=keep). channel: 0-15 (-1=keep).
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": {
"item_index": "<item_index>",
"note_index": "<note_index>"
},
"name": "midi_set_note"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pitch | No | ||
| channel | No | ||
| velocity | No | ||
| item_index | Yes | ||
| note_index | Yes | ||
| end_position | No | ||
| start_position | No |