MotionScript

@motion-script/core


@motion-script/core / SpeedFilter

Interface: SpeedFilter

Defined in: attributes/audio/filters/implementations/speed.ts:13

Changes the clip's playback rate. Because Web Audio resamples on rate change, this alters both speed and pitch (the classic chipmunk / slow-mo effect) and the clip occupies less/more time on the timeline accordingly.

value may be a time-varying curve; when it is, the clip's scene-time length is the integral ∫ 1/speed(τ) dτ rather than a simple division (see integrateSpeedToSceneTime in ../curve).

Properties

type

type: "speed"

Defined in: attributes/audio/filters/implementations/speed.ts:14


value

value: Param

Defined in: attributes/audio/filters/implementations/speed.ts:16

Playback-rate multiplier. 1 = unchanged, 2 = twice as fast, 0.5 = half speed. May be a time-varying curve.