cacophony
    Preparing search index...

    Class WaveshaperEffect

    CacophonyEffect that builds a waveshaper AudioWorkletNode — an antialiased distortion/waveshaper implementing first-order Antiderivative Antialiasing (Parker, Zavalishin & Le Bivic 2016, DAFx-16). Mirrors ReverbEffect: build idempotently loads the worklet module on the supplied context, then constructs the node with the supplied WaveshaperOptions as parameterData. Honors the cross-context contract (builds against the bus's context, not the host's own).

    Hierarchy

    Index
    host: WorkletEffectHost
    • Translate the construction options into worklet parameterData. Default: pass through as a numeric record (the worklet validates/clamps downstream).

      Parameters

      Returns Record<string, number>