AudioGraphBuilder.meter() method

The channel-strip meter tap (audio passes through): per channel per window it emits rms_db (the bar), peak_db (the floating peak line) and peak_hold_db (max window peak over the last holdMs, default 1500 ms); with truePeak, also per-channel true_peak_db (BS.1770 4× inter-sample peaks). 10—​50 ms windows drive a responsive console meter.

Signature:

meter(input: AudioNode, opts: {
        name: string;
        windowMs: number;
        holdMs?: number;
        truePeak?: boolean;
    }): AudioNode;

Parameters

Parameter Type Description

input

AudioNode

opts

{ name: string; windowMs: number; holdMs?: number; truePeak?: boolean; }

Returns: