The createConstantSource()
property of the BaseAudioContext
interface creates a ConstantSourceNode
object, which is an audio source that continuously outputs a monaural (one-channel) sound signal whose samples all have the same value.
var constantSourceNode = AudioContext.createConstantSource()
None.
A ConstantSourceNode
instance.
Specification | Status | Comment |
---|---|---|
Web Audio API The definition of 'createConstantSource()' in that specification. | Working Draft | Initial definition. |
Desktop | ||||||
---|---|---|---|---|---|---|
Chrome | Edge | Firefox | Internet Explorer | Opera | Safari | |
Basic support | 56 | ? | Yes | No | 43 | ? |
Implemented on AudioContext
|
10
|
Yes | 25 | No | 22
|
6
|
Mobile | |||||||
---|---|---|---|---|---|---|---|
Android webview | Chrome for Android | Edge Mobile | Firefox for Android | Opera for Android | iOS Safari | Samsung Internet | |
Basic support | 56 | 56 | ? | Yes | 43 | No | ? |
Implemented on AudioContext
|
Yes | 33 | Yes | 26 | Yes | No | ? |
© 2005–2018 Mozilla Developer Network and individual contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/createConstantSource