Set clip gain
clip_gainSets 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.
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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"project": "<project>",
"gain": "<gain>"
},
"name": "clip_gain"
}
}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) | |
| task | No | Name of the task this edit is part of, e.g. "remove speech pauses". In the open app, all edits with the same task name become one undo step: keep the name for every call of the task and change it when the next task starts. Without a task name, all edits of this session share one step | |
| 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) |