midi
Create, add, get, replace, update, delete, or insert controller and program-change data and notes on REAPER track items using absolute project beats.
Instructions
MIDI on a track item. Times are absolute project beats. action: create_item | add | get | replace | update | delete | cc. replace rewrites the whole take in one undo step; add only appends. cc inserts CC (cc+value) or program change (program) via ccs[]. get omits index (use array offset), channel if 0, muted/selected if false.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ccs | No | ||
| muted | No | ||
| notes | No | ||
| pitch | No | ||
| action | Yes | ||
| channel | No | ||
| velocity | No | ||
| item_index | No | ||
| note_index | No | ||
| start_beats | No | ||
| track_index | Yes | ||
| length_beats | No | ||
| note_indices | No |