The DelayNode interface represents a delay-line; an web.audio.AudioNode
module that causes a delay between the arrival of an input data
its propagation to the output.
The DelayNode interface represents a delay-line; an `web.audio.AudioNode` module that causes a delay between the arrival of an input data its propagation to the output.
(constructor & args)
Constructor.
The DelayNode() constructor of the Web Audio API creates a new web.audio.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.
Inherits parameters from the web.audio.AudioNodeOptions
dictionary.
context
A reference to an web.audio.AudioContext
or web.audio.OfflineAudioContext
.
options Optional
An object specifying the delay node options. Can contain the following members:
delayTime: The initial delay time for the node, in seconds. The default is 0. maxDelayTime: The maximum delay time for the node, in seconds. Defaults to 1.
See also: https://developer.mozilla.org/en-US/docs/Web/API/DelayNode/DelayNode
Constructor. The DelayNode() constructor of the Web Audio API creates a new `web.audio.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. Inherits parameters from the `web.audio.AudioNodeOptions` dictionary. context A reference to an `web.audio.AudioContext` or `web.audio.OfflineAudioContext`. options Optional An object specifying the delay node options. Can contain the following members: delayTime: The initial delay time for the node, in seconds. The default is 0. maxDelayTime: The maximum delay time for the node, in seconds. Defaults to 1. See also: `https://developer.mozilla.org/en-US/docs/Web/API/DelayNode/DelayNode`
(delay-time this)
Property.
[Read Only]
An web.audio.AudioParam
.
`var audioCtx = new AudioContext(); var myDelay = audioCtx.createDelay(5.0); myDelay.delayTime.value = 3.0;
Note: Though the web.audio.AudioParam
returned is read-only, the value it represents is not.`
See also: https://developer.mozilla.org/en-US/docs/Web/API/DelayNode/delayTime
Property. [Read Only] An `web.audio.AudioParam`. `var audioCtx = new AudioContext(); var myDelay = audioCtx.createDelay(5.0); myDelay.delayTime.value = 3.0; Note: Though the `web.audio.AudioParam` returned is read-only, the value it represents is not.` See also: `https://developer.mozilla.org/en-US/docs/Web/API/DelayNode/delayTime`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close