The createConstantSource()
method of the AudioContext
Interface creates a new ConstantSourceNode
, representing a monaural (1-channel) audio source which generates a constant series of samples whose values are all the same.
Syntax
var constantSource = AudioContext.createConstantSource();
Returns
A ConstantSourceNode
representing an audio source that generates an audio signal whose samples all have the same value.
Example
tbd
Specifications
Specification | Status | Comment |
---|---|---|
Web Audio API The definition of 'createBufferSource()' in that specification. |
Working Draft |