@motion-script/core / CurveSegment
Interface: CurveSegment
Defined in: attributes/audio/filters/curve.ts:24
A single automation segment in relative time.
Properties
duration?
optionalduration?:number
Defined in: attributes/audio/filters/curve.ts:37
Length in seconds. undefined only for a bare hold that
auto-fills the remaining middle of the clip.
ease?
optionalease?:EasingFunction
Defined in: attributes/audio/filters/curve.ts:39
Segment easing; defaults to linear.
from?
optionalfrom?:number
Defined in: attributes/audio/filters/curve.ts:30
Start value. undefined means "continue from the previous segment's end"
(or, for the first segment, the param's natural/current value — see
fadeIn, which leaves from resolved to 0 explicitly).
to?
optionalto?:number
Defined in: attributes/audio/filters/curve.ts:32
End value. undefined for a hold (stays at the resolved from).