Insert track
reaper_insert_trackInsert a new track into a REAPER session at a given index, or append it at the end. Returns the index of the inserted track.
Instructions
Insert a new track at the given index (0-based). Omit index to append at the end. Returns the new track's index.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Track name | |
| index | No | 0-based position; omit to append |