AudioSignalGeneratorNode.pause() method

Pause generation. The generator’s media clock freezes until , so a paused-then-resumed signal stays gapless (the same behaviour the MP4 file input’s pause/play already provides). Use this to hold a silence/tone generator in lockstep with a paused file source — e.g. when silence-padding audio channels for a preloaded/held stream-switch pin — so the two timelines don’t drift apart by the hold duration.

Signature:

pause(): void;

Returns:

void