Edit region
set_regionRenames a region or retrims its source-relative range, affecting every clip that uses it. Use to adjust region boundaries or name without editing individual clips.
Instructions
Renames a region and/or retrims its source-relative range (clamped to the source audio). Clips have no length of their own, so a retrim affects every clip using the region.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | New source-relative end (exclusive with length) | |
| unit | No | Unit for positions (default bars; bars/beats are 1-based, seconds/clocks absolute) | |
| start | No | New source-relative start | |
| track | No | Track id, to disambiguate same-named regions | |
| length | No | New length, keeping the start | |
| region | Yes | Name of the region to edit | |
| rename | No | New name (must not collide with an existing region) | |
| project | Yes | Path to the .audium project package (absolute paths recommended) |