Set clip fades
clip_fadesSets the addressed clip's fade ramps and curve exponents (0.1-4, 0.5 = equal power). All four fade values are in unit (default bars) and 0 clears one.
Instructions
Sets the addressed clip's fade ramps and curve exponents (0.1-4, 0.5 = equal power). All four fade values are in unit (default bars) and 0 clears one. Each ramp has two edges measured inward from the clip edge: the fade-in runs from fade_in_start to fade_in after the clip start, the fade-out from fade_out to fade_out_end before the clip end, so a ramp lasts fade_in - fade_in_start (or fade_out - fade_out_end). A negative offset puts that edge outside the clip, playing source audio beyond it - e.g. fade_out 0.25 with fade_out_end -0.25 (seconds) is a 0.5 s ramp centred on the clip end, the outgoing half of a crossfade. Values are clamped against each other within the clip. The address 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>"
},
"name": "clip_fades"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| at | No | Timeline position of the clip (exclusive with region) | |
| 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 | |
| fade_in | No | Where the fade-in ramp reaches full level, measured from the clip start; the ramp length only when fade_in_start is 0 | |
| project | Yes | Path to the .audium project package (absolute paths recommended) | |
| fade_out | No | Where the fade-out ramp begins, measured back from the clip end; the ramp length only when fade_out_end is 0 | |
| fade_out_end | No | Where the fade-out ramp reaches silence, measured back from the clip end; negative = past the clip end | |
| fade_in_curve | No | Fade-in curve exponent (0.1-4, 0.5 = equal power) | |
| fade_in_start | No | Where the fade-in ramp begins, measured from the clip start; negative = before the clip start | |
| fade_out_curve | No | Fade-out curve exponent (0.1-4, 0.5 = equal power) |