Class ReverbEffect

CacophonyEffect that builds a DattorroReverb AudioWorkletNode. Calls cacophony.loadDattorroReverb(undefined, context) first to idempotently ensure the worklet module is registered on the supplied context, then constructs the worklet node on the same context with the supplied options as parameterData. The returned node is the head AND tail of the subgraph (single-node wet/dry handled internally by the processor).

Cross-context support: build(context) honors the CacophonyEffect contract — when the effect is added to a Bus whose context differs from the creating Cacophony's own context, the worklet is loaded and the AudioWorkletNode is constructed against the bus's context, not the host's.

Hierarchy

Constructors

Properties

Methods

Constructors

Properties

host: WorkletEffectHost
options: ReverbOptions

Methods

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

    Parameters

    Returns Record<string, number>