cacophony
    Preparing search index...

    Interface FdnReverbOptions

    Construction-time configuration for an FdnReverbEffect, mirroring the fdn-reverb AudioWorkletProcessor's AudioParam set (see import('./processors/fdn-reverb').FdnReverbWorkletProcessor). All fields are optional; the worklet clamps to its documented ranges downstream.

    The reverb is a Feedback Delay Network: a lossless paraunitary Hadamard feedback core keeps it stable (Schlecht & Habets 2019), per-line absorption filters set the decay (Jot & Chaigne 1991), and a sparse velvet-noise FIR adds early echo density at no multiply cost (Fagerström et al. 2020).

    interface FdnReverbOptions {
        decayTimes?: readonly number[];
        diffusion?: number;
        minDelay?: number;
        mix?: number;
        preDelay?: number;
    }
    Index
    decayTimes?: readonly number[]

    Reverberation time T60 in seconds (−60 dB decay) for each octave band of OCTAVE_BAND_CENTERS (125 Hz … 16 kHz): exactly eight values in 0.001..20. Default 1.5 s in every band. Each delay line's absorption filter is designed so the band decays at its own rate (Schlecht & Habets 2017); the reverberant energy of each band follows its T60, with no tonal correction.

    diffusion?: number

    Velvet-noise diffusion amount (0..1); 0 bypasses. Default 0.5.

    minDelay?: number

    Length of the shortest delay line in seconds, 0.001..0.1; fixed when the effect is built. The first reverberant output arrives preDelay + minDelay after the input. Every line is scaled by the same factor and kept pairwise coprime, and the output is corrected per octave band so the impulse energy at mix 1 stays that of the default lines at the same decayTimes, so a send calibrated for the default lines keeps its level. Default: the built-in lines, whose shortest is 617 samples at 48 kHz (12.85 ms).

    mix?: number

    Wet/dry mix (0..1); 0 = dry, 1 = wet. Default 0.3.

    preDelay?: number

    Pre-delay before the wet path in seconds. Default 0. Range 0..1.