AudioGraphBuilder.eq() method

A multi-band parametric EQ: bands biquads applied in series as one node. Each band’s filter kind is fixed at build; its frequency/Q/gain are runtime-tunable via AudioGraphNode.setParams() eqBands (entry i tunes band i). The number of bands is fixed at build.

Signature:

eq(input: AudioNode, opts: {
        bands: {
            kind: "lowPass" | "highPass" | "bandPass" | "notch" | "lowShelf" | "highShelf" | "peaking";
            cutoffHz: number;
            q: number;
            gainDb?: number;
        }[];
        name?: string;
    }): AudioNode;

Parameters

Parameter Type Description

input

AudioNode

opts

{ bands: { kind: "lowPass" | "highPass" | "bandPass" | "notch" | "lowShelf" | "highShelf" | "peaking"; cutoffHz: number; q: number; gainDb?: number; }[]; name?: string; }

Returns: