cacophony
    Preparing search index...

    Class TremoloEffect

    CacophonyEffect that builds a tremolo AudioWorkletNode — LFO-driven amplitude modulation (AM theory; Dattorro 1997 p.776 quadrature stereo LFO; Mitcheltree et al. DAFx23 LFO framing). Mirrors ReverbEffect: build idempotently loads the worklet module on the supplied context, then constructs the node with the supplied TremoloOptions 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>