API reference

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

C

classFlangerEffect

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

Flanger effect using native WebAudio nodes (no worklet required). A flanger is a very short LFO-modulated delay (1–10 ms) with a feedback loop. Unlike a chorus — which uses longer delays without feedback to produce thickening — the flanger's feedback reinforces phase cancellation, creating the characteristic sweeping comb-filter "jet-plane" sound as notches and peaks slide up and down the spectrum. Node graph: ``` inputGain ┬── dryGain ─────────────────────────┐ │ ├── outputGain └──▶ delayNode ──▶ wetGain ───────────┘ ↑ │ feedbackGain ◀─┘ lfoOscillator ── lfoGain (depth in seconds) ──▶ delayNode.delayTime ``` Gains: `dryGain.gain = 1 - wet`; `wetGain.gain = wet`; `feedbackGain.gain = feedback`; `lfoGain.gain = depthMs / 1000`.

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

Flanger effect using native WebAudio nodes (no worklet required).

A flanger is a very short LFO-modulated delay (1–10 ms) with a feedback loop. Unlike a chorus — which uses longer delays without feedback to produce thickening — the flanger's feedback reinforces phase cancellation, creating the characteristic sweeping comb-filter "jet-plane" sound as notches and peaks slide up and down the spectrum.

Node graph: ``` inputGain ┬── dryGain ─────────────────────────┐ │ ├── outputGain └──▶ delayNode ──▶ wetGain ───────────┘ ↑ │ feedbackGain ◀─┘

lfoOscillator ── lfoGain (depth in seconds) ──▶ delayNode.delayTime ```

Gains: `dryGain.gain = 1 - wet`; `wetGain.gain = wet`; `feedbackGain.gain = feedback`; `lfoGain.gain = depthMs / 1000`.

Constructors 1
new(options: FlangerEffectOptions): FlangerEffect
Methods 1
destroy(): void
Properties 8
delayMs: number
depthMs: number
feedback: number
inputNode: AudioNode
outputNode: AudioNode
rateHz: number
ready: Promise<void>
wet: number
Source