API reference

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

C

classEqualizerEffect

@codexo/exojs-audio-fx / audio / stable

Three-band equalizer (low shelf / peaking mid / high shelf) built from a series chain of `BiquadFilterNode` instances. Gain values are in dB and clamped to ±40 dB. All six parameters (gains + frequencies) are adjustable at runtime via the corresponding setters; gain changes use a short exponential ramp to avoid clicks.

9
props
1
methods
0
events
Import
import { EqualizerEffect } from '@codexo/exojs-audio-fx'

Three-band equalizer (low shelf / peaking mid / high shelf) built from a series chain of `BiquadFilterNode` instances. Gain values are in dB and clamped to ±40 dB. All six parameters (gains + frequencies) are adjustable at runtime via the corresponding setters; gain changes use a short exponential ramp to avoid clicks.

Constructors1
Methods1
destroy(): void
Disconnects all audio nodes and releases resources. Must be called when the effect is no longer needed.
Properties9
high: number
High-shelf gain in dB applied above highFrequency. Range −40..40, default 0.
highFrequency: number
Cutoff frequency in Hz of the high-shelf band. Default 6000.
inputNode: AudioNode
The node where audio enters this effect.
low: number
Low-shelf gain in dB applied below lowFrequency. Range −40..40, default 0.
lowFrequency: number
Cutoff frequency in Hz of the low-shelf band. Default 250.
mid: number
Peaking mid-band gain in dB centered at midFrequency. Range −40..40, default 0.
midFrequency: number
Center frequency in Hz of the peaking mid band. Default 1500.
outputNode: AudioNode
The node where audio exits this effect.
ready: Promise<void>
Resolves when the effect is fully initialized. Defaults to immediately-resolved for sync effects.
Source