API reference
Every public class, method, and event in @codexo/exojs. Generated from source.
classDelayEffect
@codexo/exojs-audio-fx / audio / stable
Echo/delay effect using a Web Audio `DelayNode` with a feedback loop and dry/wet mix. The feedback path feeds the delayed signal back into itself, producing repeating echoes that decay naturally. Setting `feedback` near its maximum of 0.95 produces a long, prominent tail; lower values create a single slap-back echo.
6
props
1
methods
0
events
Import
import { DelayEffect } from '@codexo/exojs-audio-fx'Echo/delay effect using a Web Audio `DelayNode` with a feedback loop and dry/wet mix. The feedback path feeds the delayed signal back into itself, producing repeating echoes that decay naturally. Setting `feedback` near its maximum of 0.95 produces a long, prominent tail; lower values create a single slap-back echo.
Constructors1
new(options: DelayEffectOptionsConstruction options for DelayEffect.): DelayEffectMethods1
destroy(): voidDisconnects all audio nodes and releases resources. Must be called when the effect is no longer needed.
Properties6
delaySeconds: numberDelay time in seconds. Range 0..5, default 0.3.
feedback: numberFraction of the delayed signal fed back into the delay input. Range 0..0.95, default 0.4.
inputNode: AudioNodeThe node where audio enters this effect.
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.
wet: numberWet (delayed) mix level, 0..1. The dry level is automatically 1 - wet. Default 0.5.
Source