API reference
Every public class, method, and event in @codexo/exojs. Generated from source.
classVocoderEffect
Phase-vocoder-style effect implemented as a WorkletEffect. Analyzes the spectral envelope of a `modulator` AudioBus across a bank of log-spaced bandpass filters and applies that envelope to the carrier signal (the main input). The result is the classic "robot voice" or talking-synth effect. Band count, frequency range, and Q are compile-time parameters set at construction; only `wet` and `envelopeSmoothing` are adjustable at runtime.
import { VocoderEffect } from '@codexo/exojs-audio-fx' Phase-vocoder-style effect implemented as a WorkletEffect. Analyzes the spectral envelope of a `modulator` AudioBus across a bank of log-spaced bandpass filters and applies that envelope to the carrier signal (the main input). The result is the classic "robot voice" or talking-synth effect. Band count, frequency range, and Q are compile-time parameters set at construction; only `wet` and `envelopeSmoothing` are adjustable at runtime.
new(options: VocoderEffectOptions): VocoderEffect _onWorkletReady(_audioContext: AudioContext): void destroy(): void envelopeSmoothing: number inputNode: AudioNode outputNode: AudioNode ready: Promise<void> wet: number