DelayNode: delayTime property

Baseline Widely available

This feature is well established and works across many devices and browser versions. It’s been available across browsers since April 2021.

The delayTime property of the DelayNode interface is an a-rate AudioParam representing the amount of delay to apply.

delayTime is expressed in seconds, its minimal value is 0, and its maximum value is defined by the maxDelayTime argument of the BaseAudioContext.createDelay method that created it.

Note: Though the AudioParam returned is read-only, the value it represents is not.

Value

Examples

See BaseAudioContext.createDelay() for example code.

Specifications

Specification
Web Audio API
# dom-delaynode-delaytime

Browser compatibility

BCD tables only load in the browser

See also