AudioSignalGeneratorNode class
Signature:
export declare class AudioSignalGeneratorNode extends SourceMediaNode
Extends: SourceMediaNode
Methods
| Method | Modifiers | Description |
|---|---|---|
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. |
||
Resume generation after . Output timestamps continue contiguously from where they froze rather than jumping forward by the paused wall-clock duration. |
||