DelayNode.delayTime

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.

Syntax

var audioCtx = new AudioContext();
var myDelay = audioCtx.createDelay(5.0);
myDelay.delayTime.value = 3.0;

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

Value

An AudioParam.

Example

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