API reference
Every public class, method, and event in @codexo/exojs. Generated from source.
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
new(options: EqualizerEffectOptionsConstruction options for EqualizerEffect.): EqualizerEffectMethods1
destroy(): voidDisconnects all audio nodes and releases resources. Must be called when the effect is no longer needed.
Properties9
high: numberHigh-shelf gain in dB applied above highFrequency. Range −40..40, default 0.
highFrequency: numberCutoff frequency in Hz of the high-shelf band. Default 6000.
inputNode: AudioNodeThe node where audio enters this effect.
low: numberLow-shelf gain in dB applied below lowFrequency. Range −40..40, default 0.
lowFrequency: numberCutoff frequency in Hz of the low-shelf band. Default 250.
mid: numberPeaking mid-band gain in dB centered at midFrequency. Range −40..40, default 0.
midFrequency: numberCenter frequency in Hz of the peaking mid band. Default 1500.
outputNode: AudioNodeThe node where audio exits this effect.
ready: Promise<void>Resolves when the effect is fully initialized. Defaults to immediately-resolved for sync effects.
Source