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.

We’d love to hear your thoughts on the next set of proposals for the JavaScript language. You can find a description of the proposals here.
Please take two minutes to fill out our short survey.

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

See also