add_region
Define a named time-range region in REAPER by setting start and end seconds; include optional color and return the new region index.
Instructions
Add a region.
Args: start: Start position in seconds. end: End position in seconds. name: Region name. color: Region color (0 = default).
Returns: Object with region index.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | Yes | ||
| name | No | ||
| color | No | ||
| start | Yes |