Create MIDI item
reaper_create_midi_itemCreate an empty MIDI item on a track at a specified beat position and length. Returns the item index to use for adding MIDI notes.
Instructions
Create an empty MIDI item on a track, positioned and sized in beats (quarter notes). Returns the item's index on that track, which you pass to reaper_add_midi_notes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| start_beat | No | Start position in beats | |
| length_beat | No | Length in beats | |
| track_index | Yes |