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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | Yes | ||
| item_index | Yes | ||
| track_index | Yes |