API reference

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

C

classLowpassFilter

@codexo/exojs / audio / stable

Low-pass filter backed by a `BiquadFilterNode` in `lowpass` mode. Attenuates frequencies above the cutoff and passes everything below it. Useful for muffling audio (e.g., sound heard through a wall), taming harsh high-frequency content, or creating underwater/telephone effects. The `resonance` (Q) parameter controls the sharpness of the roll-off peak.

5
props
1
methods
0
events
Import
import { LowpassFilter } from '@codexo/exojs'

Low-pass filter backed by a `BiquadFilterNode` in `lowpass` mode. Attenuates frequencies above the cutoff and passes everything below it. Useful for muffling audio (e.g., sound heard through a wall), taming harsh high-frequency content, or creating underwater/telephone effects. The `resonance` (Q) parameter controls the sharpness of the roll-off peak.

Constructors1
Methods1
destroy(): void
Disconnects all audio nodes and releases resources. Must be called when the effect is no longer needed.
Properties5
frequency: number
Cutoff frequency in Hz. Signals above this frequency are attenuated. Range 20..20000, default 1000.
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
Q (resonance) at the cutoff. Higher values create a sharper, resonant peak. Minimum 0.0001, default 1.
Source