API reference

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

C

classBiquadEffect

@codexo/exojs / audio / stable

Native biquad filter effect backed by a single `BiquadFilterNode` - the most common audio-shaping need, covering `lowpass` / `highpass` / `bandpass` / `notch` / `peaking` / `lowshelf` / `highshelf` / `allpass` via one `type` parameter. Insert it on an AudioBus (`bus.addEffect`) or a Voice (`voice.addEffect`). The single node serves as both inputNode and outputNode.

8
props
1
methods
0
events
Import
import { BiquadEffect } from '@codexo/exojs'

Native biquad filter effect backed by a single `BiquadFilterNode` - the most common audio-shaping need, covering `lowpass` / `highpass` / `bandpass` / `notch` / `peaking` / `lowshelf` / `highshelf` / `allpass` via one `type` parameter. Insert it on an AudioBus (`bus.addEffect`) or a Voice (`voice.addEffect`).

The single node serves as both inputNode and outputNode.

Constructors1
Methods1
destroy(): void
Disconnects all audio nodes and releases resources. Must be called when the effect is no longer needed.
Properties8
detune: number
Fine frequency offset in cents.
frequency: number
Center / cutoff frequency in Hz.
gain: number
Gain in dB - applies to peaking, lowshelf, and highshelf types.
inputNode: AudioNode
The node where audio enters this effect.
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.
resonance: number
Quality factor (resonance / bandwidth).
type: BiquadFilterType
Filter response type.
Source