Set clip gain
clip_gainSet a clip's gain linearly or in decibels, applying it to all destination channels or one channel in an Audionaut project.
Instructions
Sets the addressed clip's gain - linear by default, dB with db=true - on every destination channel, or one channel. The address (at or region) must match exactly one clip.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| at | No | Timeline position of the clip (exclusive with region) | |
| db | No | Interpret gain as decibels | |
| gain | Yes | Gain value (linear unless db=true; linear must be >= 0) | |
| unit | No | Unit for positions (default bars; bars/beats are 1-based, seconds/clocks absolute) | |
| track | No | Track id | |
| region | No | Region name of the clip | |
| channel | No | One destination channel (default: all) | |
| project | Yes | Path to the .audium project package (absolute paths recommended) |