API reference

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

C

classReverbEffect

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

Convolution reverb using a procedurally-generated impulse response loaded into a `ConvolverNode`. The impulse response is a stereo noise burst whose amplitude decays exponentially, simulating room reflections. Adjusting `durationSeconds` or `decay` rebuilds the impulse response immediately, so avoid animating these properties at audio rate - use `wet` for real-time mix control instead.

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

Convolution reverb using a procedurally-generated impulse response loaded into a `ConvolverNode`. The impulse response is a stereo noise burst whose amplitude decays exponentially, simulating room reflections. Adjusting `durationSeconds` or `decay` rebuilds the impulse response immediately, so avoid animating these properties at audio rate - use `wet` for real-time mix control instead.

Constructors1
Methods1
destroy(): void
Disconnects all audio nodes and releases resources. Must be called when the effect is no longer needed.
Properties6
decay: number
Exponential decay rate of the impulse response. Higher values produce a tighter, drier reverb tail. Range 0.5..10, default 2. Changing this rebuilds the IR buffer.
durationSeconds: number
Length of the generated impulse response in seconds. Range 0.1..5, default 2. Changing this rebuilds the IR buffer.
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.
wet: number
Wet (reverberated) mix level, 0..1. The dry level is automatically 1 - wet. Default 0.4.
Source