API reference
Every public class, method, and event in @codexo/exojs. Generated from source.
classDuckingEffect
Sidechain compressor (ducker) implemented as an WorkletEffect. Attenuates the main audio signal whenever the `sidechain` AudioBus exceeds the threshold, then releases when it drops back down. Commonly used to duck background music under dialogue or sound effects. Attack and release times are expressed in milliseconds and converted internally to one-pole filter coefficients.
import { DuckingEffect } from '@codexo/exojs-audio-fx'Sidechain compressor (ducker) implemented as an WorkletEffect. Attenuates the main audio signal whenever the `sidechain` AudioBus exceeds the threshold, then releases when it drops back down. Commonly used to duck background music under dialogue or sound effects. Attack and release times are expressed in milliseconds and converted internally to one-pole filter coefficients.
new(options: DuckingEffectOptionsConstruction options for DuckingEffect. `sidechain` is required.): DuckingEffect_onWorkletReady(audioContext: AudioContext): void_setAudioParam(name: string, value: number): voiddestroy(): voidattackMs: numberinputNode: AudioNodeoutputNode: AudioNoderatio: numberready: Promise<void>releaseMs: numberthreshold: numberwet: number