AudioGraphBuilder.goniometer() method

The stereo-image (goniometer / Lissajous) feed: per window the measurement carries data — decimated L/R sample pairs packed as interleaved i16 LE. Copy before viewing (the bytes view may be unaligned): const b = data.slice(); new Int16Array(b.buffer, 0, b.length / 2). Also carries a pairs count. Defaults (33 ms window, ÷8 decimation) ≈ 190 kbit/s.

Signature:

goniometer(input: AudioNode, opts: {
        name: string;
        windowMs?: number;
        decimate?: number;
    }): AudioNode;

Parameters

Parameter Type Description

input

AudioNode

opts

{ name: string; windowMs?: number; decimate?: number; }

Returns: