We're looking for a user researcher to understand the needs of developers and designers. Is this you or someone you know? Check out the post: https://mzl.la/2IGzdXS


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()




A ConstantSourceNode instance.


Specification Status Comment
Web Audio API
The definition of 'createConstantSource()' in that specification.
Working Draft Initial definition.

Browser Compatibility

We're converting our compatibility data into a machine-readable JSON format. This compatibility table still uses the old format, because we haven't yet converted the data it contains. Find out how you can help!

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari (WebKit)
Basic support 56.0 (Yes) ? 43 ?
Implemented on AudioContext 10.0webkit (Yes) No support 15.0webkit
22 (unprefixed)
Feature Android Android Webview Firefox Mobile (Gecko) IE Mobile Opera Mobile Safari Mobile Chrome for Android
Basic support No support 56.0 (Yes) ? 43 ? 56.0
Implemented on AudioContext ? (Yes) 26.0 ? ? ? 33.0

Document Tags and Contributors

Last updated by: sideshowbarker,