Class DynamicsEffect

CacophonyEffect that builds a dynamics AudioWorkletNode — a feed-forward dynamics processor (compressor/limiter/expander/gate) implementing Giannoulis, Massberg & Reiss 2012. Mirrors ReverbEffect: build idempotently loads the worklet module on the supplied context, then constructs the node with the supplied DynamicsOptions as parameterData. Honors the cross-context contract (builds against the bus's context, not the host's own).

Hierarchy

Constructors

Properties

Methods

Constructors

Properties

host: WorkletEffectHost

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>