add_midi_note
Add MIDI notes to existing REAPER items by specifying pitch, start time, duration, and channel to compose melodies and drum patterns programmatically.
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 |
|---|---|---|---|
| track_index | Yes | ||
| item_index | Yes | ||
| pitch | Yes | ||
| start | Yes | ||
| length | Yes | ||
| velocity | No | ||
| channel | No |