Set clip fades
clip_fadesSet a clip's fade-in and fade-out ramps, curve exponents, and edge offsets to create fades or centered crossfades, with values in bars, beats, seconds, or clocks.
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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| at | No | Timeline position of the clip (exclusive with region) | |
| 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) |