live_fade
Ramp a track's mixer volume to a target value over a set duration in Ableton Live, automating gradual level changes and fades.
Instructions
Interpolate one track's mixer volume to a target value over duration seconds.
Side effects: blocks the Live main thread for up to duration seconds plus
steps; first such command in our bridge. Writes mixer_device.volume in
one undo step.
Example: live_fade(track_index=0, target_percent=0) ramps the first
track to silence; live_fade(track_index=0, target_percent=120, allow_over_unity=True) exceeds unity and may clip.
Edge cases: rejects duration above 60 seconds and target_percent
above 100 without allow_over_unity. Provide exactly one of
target_percent or target_value.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| curve | No | smoothstep | |
| steps | No | ||
| duration | No | ||
| track_index | Yes | ||
| target_value | No | ||
| target_percent | No | ||
| allow_over_unity | No |