AudioGraphBuilder.rms() method

A windowed RMS level tap: the audio passes through unchanged (the returned handle carries it) and per window it emits a per-channel rms_db measurement. name identifies the tap in the AudioGraphSettings.onMeasurement callback; windowMs is the measurement window.

Signature:

rms(input: AudioNode, opts: {
        name: string;
        windowMs: number;
    }): AudioNode;

Parameters

Parameter Type Description

input

AudioNode

opts

{ name: string; windowMs: number; }

Returns: