Delay

Delay operator properties for Script Engine. Delays the audio signal by a configurable amount of time. Useful for aligning audio to video that's been processed elsewhere in the chain (lip-sync), syncing multiple audio sources that arrive at different times, or compensating for measured latency in downstream equipment. The same delay is applied to the left and right channels.

Property Type Access Description
DelayMs int get/set Amount of delay applied to the audio, in milliseconds. [min=0, max=4000, default=0]. 0 leaves the audio unchanged. Higher values push the audio later in time, up to 4 seconds. The same delay is applied to both stereo channels.
ResetCommand Command get Reset the delay back to 0 milliseconds.
SamplesRendered int get Total number of audio samples processed by the delay (read-only, debug).

Inherits from: AbstractAudioOperator, AbstractOperator, AbstractAudioMetering.

See also: Delay in Operators — user-facing introduction, screenshots, and section summaries.