AudioGraphBuilder.clip() method

A windowed clipping tap: per window emits clip_ratio, the fraction of samples at/above threshold of full scale (default 0.99).

Signature:

clip(input: AudioNode, opts: {
        name: string;
        windowMs: number;
        threshold?: number;
    }): AudioNode;

Parameters

Parameter Type Description

input

AudioNode

opts

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

Returns: