midi_set_note
Edit any existing MIDI note in REAPER: locate it by item and note index, then update its pitch, velocity, timing, or channel.
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).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pitch | No | ||
| channel | No | ||
| velocity | No | ||
| item_index | Yes | ||
| note_index | Yes | ||
| end_position | No | ||
| start_position | No |