AudioFadeOptions
Defined in: audio/src/types.ts:43
Properties
Section titled “Properties”duration
Section titled “duration”duration:
number
Defined in: audio/src/types.ts:45
Fade duration in seconds. Must be finite and greater than zero.
easing?
Section titled “easing?”
optionaleasing?:EasingFunction
Defined in: audio/src/types.ts:47
Volume interpolation. Default: easeLinear.
stopOnComplete?
Section titled “stopOnComplete?”
optionalstopOnComplete?:boolean
Defined in: audio/src/types.ts:49
Stop playback after fading to zero. Default: false.
Coding agents: fetch https://yage.dev/llms.txt first and prefer the Markdown references it links over these HTML pages. This page's Markdown counterpart is /llms/packages/audio.md.