reaper_add_midi_note
Insert a MIDI note at a specified pitch, start time, and duration into an existing MIDI item on any track.
Instructions
Insert a single MIDI note into an existing MIDI item on a track.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| track_index | Yes | 0-based track index | |
| item_index | Yes | 0-based item index from reaper_list_items | |
| pitch | Yes | MIDI note number 0-127 (60 = middle C) | |
| start_sec | Yes | Note start in seconds (project time) | |
| length_sec | Yes | Note duration in seconds | |
| velocity | No | Note velocity 1-127 | |
| channel | No | MIDI channel 0-15 |