split_item
Splits a MIDI item in two at a chosen bar and beat in REAPER, returning the IDs of both resulting sections.
Instructions
Splits an item in two at a bar/beat; returns both halves' ids.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| at_bar | Yes | ||
| at_beat | No | Beat within the bar, 1-based (default 1) | |
| item_id | Yes | MIDI item id from create_midi_item/get_track_details, or "selected" |