This is an experimental technology
Because this technology's specification has not stabilized, check the compatibility table for usage in various browsers. Also note that the syntax and behavior of an experimental technology is subject to change in future versions of browsers as the specification changes.
The DelayNode()
constructor creates a new DelayNode
object with a delay-line; an AudioNode audio-processing module that causes a delay between the arrival of an input data, and its propagation to the output.
Syntax
var delayNode = new DelayNode(context, options)
Parameters
- context
- A reference to an
AudioContext
. - options Optional
- Options are as follows:
delayTime
: The initial delay time for the node. The default is0
.maxDelayTime
: The maximum delay time for the node. The default is1
.
Specifications
Specification | Status | Comment |
---|---|---|
Web Audio API The definition of 'DelayNode()' in that specification. |
Working Draft | Initial definition. |
Browser Compatibility
Feature | Chrome | Firefox (Gecko) | Internet Explorer | Opera | Safari (WebKit) |
---|---|---|---|---|---|
Basic support | 55[1] | ? | ? | 42 | ? |
Feature | Android Webview | Chrome for Android | Firefox Mobile (Gecko) | Firefox OS | IE Mobile | Opera Mobile | Safari Mobile |
---|---|---|---|---|---|---|---|
Basic support | 55[1] | 55[1] | ? | ? | ? | 42 | ? |
[1] Before Chrome 59, the default values were not supported.