AudioGraphBuilder.gapInject() method

TEST/AUDITION tool — deterministically punches timeline gaps into the stream (drops gapMs of samples every periodMs, phased from the first frame, so gap positions are identical on every run of the same content). Feed a downstream node to audition concealment on real material. periodMs/gapMs are runtime-updatable via setParams. When named, emits gap_injected_ms on the measurement firehose as each gap closes. Not for production graphs.

Signature:

gapInject(input: AudioNode, opts: {
        periodMs: number;
        gapMs: number;
        name?: string;
    }): AudioNode;

Parameters

Parameter Type Description

input

AudioNode

opts

{ periodMs: number; gapMs: number; name?: string; }

Returns: