API reference

Every public class, method, and event in @codexo/exojs. Generated from source.

I

interfaceCrossFadeOptions

@codexo/exojs / audio / stable

2
props
0
methods
0
events
Import
import { CrossFadeOptions } from '@codexo/exojs'
Properties2
stopAfter?: boolean
Stop the from voice once the fade completes (default true) - the right choice for a one-shot transition, since it frees the outgoing voice. Pass false to leave from playing at volume 0, e.g. when you crossfade back and forth between two looping tracks.
toVolume?: number
Volume to fade the to voice up to. Range [0, 1]. Default 1.
Source