add_midi_note
Adds a MIDI note to an existing MIDI item by specifying pitch, start time, length, and channel, enabling precise MIDI composition within REAPER projects.
Instructions
Add a MIDI note to an existing MIDI item. pitch: MIDI note number 0–127 (60 = middle C, 69 = A4). start/length: seconds, relative to the item's start. channel: MIDI channel 0–15 (use 9 for drums).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pitch | Yes | ||
| start | Yes | ||
| length | Yes | ||
| channel | No | ||
| velocity | No | ||
| item_index | Yes | ||
| track_index | Yes |