This page is Ready to Use

Notice: The WebPlatform project, supported by various stewards between 2012 and 2015, has been discontinued. This site is now available on github.

delayTime

Summary

An AudioParam object representing the amount of delay (in seconds) to apply. The default value (delayTime.value) is 0 (no delay). The minimum value is 0 and the maximum value is determined by the maxDelayTime argument to the AudioContext method createDelay. This parameter is k-rate.

Property of apis/webaudio/DelayNodeapis/webaudio/DelayNode

Syntax

var result = DelayNode.delayTime;
DelayNode.delayTime = value;

Examples

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

Related specifications

W3C Web Audio API
W3C Editor’s Draft