duplicate_item
Copy a MIDI item one or more times, placing each copy directly after the previous, to repeat loops or reuse sections in REAPER.
Instructions
Copies an item (e.g. repeat a 4-bar loop, or reuse the chorus). Copies are placed back to back.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | ||
| item_id | Yes | MIDI item id from create_midi_item/get_track_details, or "selected" | |
| start_bar | No | Where the first copy goes; default: right after the item | |
| start_beat | No | Beat within the bar, 1-based (default 1) |