AudioGraphBuilder.biquad() method

An RBJ biquad filter (the full cookbook), built against the stream’s rate. gainDb applies to the shelf/peaking shapes. Runtime-retunable via AudioGraphNode.setParams() (cutoffHz / q / db) — the live EQ tweak.

Signature:

biquad(input: AudioNode, opts: {
        kind: "lowPass" | "highPass" | "bandPass" | "notch" | "lowShelf" | "highShelf" | "peaking";
        cutoffHz: number;
        q: number;
        gainDb?: number;
    }): AudioNode;

Parameters

Parameter Type Description

input

AudioNode

opts

{ kind: "lowPass" | "highPass" | "bandPass" | "notch" | "lowShelf" | "highShelf" | "peaking"; cutoffHz: number; q: number; gainDb?: number; }

Returns: