Back to Content

DelayNode: delayTime property

files/en-us/web/api/delaynode/delaytime/index.md

latest875 B
Original Source

{{ APIRef("Web Audio API") }}

The delayTime property of the {{ domxref("DelayNode") }} interface is an a-rate {{domxref("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 {{domxref("BaseAudioContext.createDelay")}} method that created it.

[!NOTE] Though the {{domxref("AudioParam")}} returned is read-only, the value it represents is not.

Value

An {{domxref("AudioParam")}}.

Examples

See BaseAudioContext.createDelay() for example code.

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}

See also