BaseAudioContext

The BaseAudioContext interface of the Web Audio API acts as a base definition for online and offline audio-processing graphs, as represented by AudioContext and OfflineAudioContext respectively. You wouldn't use BaseAudioContext directly — you'd use its features via one of these two inheriting interfaces.

A BaseAudioContext can be a target of events, therefore it implements the EventTarget interface.

Properties

BaseAudioContext.audioWorklet Read only Secure context
Returns the AudioWorklet object, which can be used to create and manage AudioNodes in which JavaScript code implementing the AudioWorkletProcessor interface are run in the background to process audio data.
BaseAudioContext.currentTime Read only
Returns a double representing an ever-increasing hardware time in seconds used for scheduling. It starts at 0.
BaseAudioContext.destination Read only
Returns an AudioDestinationNode representing the final destination of all audio in the context. It can be thought of as the audio-rendering device.
BaseAudioContext.listener Read only
Returns the AudioListener object, used for 3D spatialization.
BaseAudioContext.sampleRate Read only
Returns a float representing the sample rate (in samples per second) used by all nodes in this context. The sample-rate of an AudioContext cannot be changed.
BaseAudioContext.state Read only
Returns the current state of the AudioContext.

Event handlers

BaseAudioContext.onstatechange
An event handler that runs when an event of type statechange has fired. This occurs when the AudioContext's state changes, due to the calling of one of the state change methods (AudioContext.suspend, AudioContext.resume, or AudioContext.close).

Methods

Also implements methods from the interface EventTarget.

BaseAudioContext.createAnalyser()
Creates an AnalyserNode, which can be used to expose audio time and frequency data and for example to create data visualisations.
BaseAudioContext.createBiquadFilter()
Creates a BiquadFilterNode, which represents a second order filter configurable as several different common filter types: high-pass, low-pass, band-pass, etc
BaseAudioContext.createBuffer()
Creates a new, empty AudioBuffer object, which can then be populated by data and played via an AudioBufferSourceNode.
BaseAudioContext.createBufferSource()
Creates an AudioBufferSourceNode, which can be used to play and manipulate audio data contained within an AudioBuffer object. AudioBuffers are created using AudioContext.createBuffer or returned by AudioContext.decodeAudioData when it successfully decodes an audio track.
BaseAudioContext.createConstantSource()
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.
BaseAudioContext.createChannelMerger()
Creates a ChannelMergerNode, which is used to combine channels from multiple audio streams into a single audio stream.
BaseAudioContext.createChannelSplitter()
Creates a ChannelSplitterNode, which is used to access the individual channels of an audio stream and process them separately.
BaseAudioContext.createConvolver()
Creates a ConvolverNode, which can be used to apply convolution effects to your audio graph, for example a reverberation effect.
BaseAudioContext.createDelay()
Creates a DelayNode, which is used to delay the incoming audio signal by a certain amount. This node is also useful to create feedback loops in a Web Audio API graph.
BaseAudioContext.createDynamicsCompressor()
Creates a DynamicsCompressorNode, which can be used to apply acoustic compression to an audio signal.
BaseAudioContext.createGain()
Creates a GainNode, which can be used to control the overall volume of the audio graph.
BaseAudioContext.createIIRFilter()
Creates an IIRFilterNode, which represents a second order filter configurable as several different common filter types.
BaseAudioContext.createOscillator()
Creates an OscillatorNode, a source representing a periodic waveform. It basically generates a tone.
BaseAudioContext.createPanner()
Creates a PannerNode, which is used to spatialise an incoming audio stream in 3D space.
BaseAudioContext.createPeriodicWave()
Creates a PeriodicWave, used to define a periodic waveform that can be used to determine the output of an OscillatorNode.
BaseAudioContext.createScriptProcessor()
Creates a ScriptProcessorNode, which can be used for direct audio processing via JavaScript.
BaseAudioContext.createStereoPanner()
Creates a StereoPannerNode, which can be used to apply stereo panning to an audio source.
BaseAudioContext.createWaveShaper()
Creates a WaveShaperNode, which is used to implement non-linear distortion effects.
BaseAudioContext.decodeAudioData()
Asynchronously decodes audio file data contained in an ArrayBuffer. In this case, the ArrayBuffer is usually loaded from an XMLHttpRequest's response attribute after setting the responseType to arraybuffer. This method only works on complete files, not fragments of audio files.

Examples

Basic audio context declaration:

const audioContext = new AudioContext();

Cross browser variant:

const AudioContext = window.AudioContext || window.webkitAudioContext;
const audioContext = new AudioContext();

const oscillatorNode = audioContext.createOscillator();
const gainNode = audioContext.createGain();
const finish = audioContext.destination;

Specifications

Specification Status Comment
Web Audio API
The definition of 'BaseAudioContext' in that specification.
Working Draft

Browser compatibility

DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet
BaseAudioContextChrome Full support YesEdge Full support ≤18Firefox Full support 53IE No support NoOpera Full support 22
Full support 22
Full support 15
Prefixed
Prefixed Implemented with the vendor prefix: webkit
Safari Full support 6
Prefixed
Full support 6
Prefixed
Prefixed Implemented with the vendor prefix: webkit
WebView Android Full support YesChrome Android Full support YesFirefox Android Full support 53Opera Android Full support 22
Full support 22
Full support 14
Prefixed
Prefixed Implemented with the vendor prefix: webkit
Safari iOS Full support 6
Prefixed
Full support 6
Prefixed
Prefixed Implemented with the vendor prefix: webkit
Samsung Internet Android Full support Yes
audioWorklet
Experimental
Chrome Full support 66Edge Full support 79Firefox ? IE No support NoOpera Full support YesSafari No support NoWebView Android Full support 66Chrome Android Full support 66Firefox Android ? Opera Android Full support YesSafari iOS No support NoSamsung Internet Android Full support 9.0
createAnalyserChrome Full support 10
Prefixed
Full support 10
Prefixed
Prefixed Implemented with the vendor prefix: webkit
Edge Full support ≤18Firefox Full support 53
Notes
Full support 53
Notes
Notes Originally implemented on AudioContext in Firefox 25.
IE No support NoOpera Full support 22
Full support 22
Full support 15
Prefixed
Prefixed Implemented with the vendor prefix: webkit
Safari Full support 6
Prefixed
Full support 6
Prefixed
Prefixed Implemented with the vendor prefix: webkit
WebView Android Full support YesChrome Android Full support 33Firefox Android Full support 53
Notes
Full support 53
Notes
Notes Originally implemented on AudioContext in Firefox Android 26.
Opera Android Full support 22
Full support 22
Full support 14
Prefixed
Prefixed Implemented with the vendor prefix: webkit
Safari iOS Full support 6
Prefixed
Full support 6
Prefixed
Prefixed Implemented with the vendor prefix: webkit
Samsung Internet Android Full support 2.0
createBiquadFilterChrome Full support 10
Prefixed
Full support 10
Prefixed
Prefixed Implemented with the vendor prefix: webkit
Edge Full support ≤18Firefox Full support 53
Notes
Full support 53
Notes
Notes Originally implemented on AudioContext in Firefox 25.
IE No support NoOpera Full support 22
Full support 22
Full support 15
Prefixed
Prefixed Implemented with the vendor prefix: webkit
Safari Full support 6
Prefixed
Full support 6
Prefixed
Prefixed Implemented with the vendor prefix: webkit
WebView Android Full support YesChrome Android Full support 33Firefox Android Full support 53
Notes
Full support 53
Notes
Notes Originally implemented on AudioContext in Firefox Android 26.
Opera Android Full support 22
Full support 22
Full support 14
Prefixed
Prefixed Implemented with the vendor prefix: webkit
Safari iOS Full support 6
Prefixed
Full support 6
Prefixed
Prefixed Implemented with the vendor prefix: webkit
Samsung Internet Android Full support 2.0
createBufferChrome Full support 10
Prefixed
Full support 10
Prefixed
Prefixed Implemented with the vendor prefix: webkit
Edge Full support ≤18Firefox Full support 53
Notes
Full support 53
Notes
Notes Originally implemented on AudioContext in Firefox 25.
IE No support NoOpera Full support 22
Full support 22
Full support 15
Prefixed
Prefixed Implemented with the vendor prefix: webkit
Safari Full support 6
Prefixed
Full support 6
Prefixed
Prefixed Implemented with the vendor prefix: webkit
WebView Android Full support YesChrome Android Full support 33Firefox Android Full support 53
Notes
Full support 53
Notes
Notes Originally implemented on AudioContext in Firefox Android 26.
Opera Android Full support 22
Full support 22
Full support 14
Prefixed
Prefixed Implemented with the vendor prefix: webkit
Safari iOS Full support 6
Prefixed
Full support 6
Prefixed
Prefixed Implemented with the vendor prefix: webkit
Samsung Internet Android Full support 2.0
createBufferSourceChrome Full support 10
Prefixed
Full support 10
Prefixed
Prefixed Implemented with the vendor prefix: webkit
Edge Full support ≤18Firefox Full support 53
Notes
Full support 53
Notes
Notes Originally implemented on AudioContext in Firefox 25.
IE No support NoOpera Full support 22
Full support 22
Full support 15
Prefixed
Prefixed Implemented with the vendor prefix: webkit
Safari Full support 6
Prefixed
Full support 6
Prefixed
Prefixed Implemented with the vendor prefix: webkit
WebView Android Full support YesChrome Android Full support 33Firefox Android Full support 53
Notes
Full support 53
Notes
Notes Originally implemented on AudioContext in Firefox Android 26.
Opera Android Full support 22
Full support 22
Full support 14
Prefixed
Prefixed Implemented with the vendor prefix: webkit
Safari iOS Full support 6
Prefixed
Full support 6
Prefixed
Prefixed Implemented with the vendor prefix: webkit
Samsung Internet Android Full support 2.0
createChannelMergerChrome Full support 10
Prefixed
Full support 10
Prefixed
Prefixed Implemented with the vendor prefix: webkit
Edge Full support ≤18Firefox Full support 53
Notes
Full support 53
Notes
Notes Originally implemented on AudioContext in Firefox 25.
IE No support NoOpera Full support 22
Full support 22
Full support 15
Prefixed
Prefixed Implemented with the vendor prefix: webkit
Safari Full support 6
Prefixed
Full support 6
Prefixed
Prefixed Implemented with the vendor prefix: webkit
WebView Android Full support YesChrome Android Full support 33Firefox Android Full support 53
Notes
Full support 53
Notes
Notes Originally implemented on AudioContext in Firefox Android 26.
Opera Android Full support 22
Full support 22
Full support 14
Prefixed
Prefixed Implemented with the vendor prefix: webkit
Safari iOS Full support 6
Prefixed
Full support 6
Prefixed
Prefixed Implemented with the vendor prefix: webkit
Samsung Internet Android Full support 2.0
createChannelSplitterChrome Full support 10
Prefixed
Full support 10
Prefixed
Prefixed Implemented with the vendor prefix: webkit
Edge Full support ≤18Firefox Full support 53
Notes
Full support 53
Notes
Notes Originally implemented on AudioContext in Firefox 25.
IE No support NoOpera Full support 22
Full support 22
Full support 15
Prefixed
Prefixed Implemented with the vendor prefix: webkit
Safari Full support 6
Prefixed
Full support 6
Prefixed
Prefixed Implemented with the vendor prefix: webkit
WebView Android Full support YesChrome Android Full support 33Firefox Android Full support 53
Notes
Full support 53
Notes
Notes Originally implemented on AudioContext in Firefox Android 26.
Opera Android Full support 22
Full support 22
Full support 14
Prefixed
Prefixed Implemented with the vendor prefix: webkit
Safari iOS Full support 6
Prefixed
Full support 6
Prefixed
Prefixed Implemented with the vendor prefix: webkit
Samsung Internet Android Full support 2.0
createConstantSourceChrome Full support 56Edge Full support ≤79Firefox Full support 53IE No support NoOpera Full support 43Safari No support NoWebView Android Full support 56Chrome Android Full support 56Firefox Android Full support 53Opera Android Full support 43Safari iOS No support NoSamsung Internet Android Full support 6.0
createConvolverChrome Full support 10
Prefixed
Full support 10
Prefixed
Prefixed Implemented with the vendor prefix: webkit
Edge Full support ≤18Firefox Full support 53
Notes
Full support 53
Notes
Notes Originally implemented on AudioContext in Firefox 25.
IE No support NoOpera Full support 22
Full support 22
Full support 15
Prefixed
Prefixed Implemented with the vendor prefix: webkit
Safari Full support 6
Prefixed
Full support 6
Prefixed
Prefixed Implemented with the vendor prefix: webkit
WebView Android Full support YesChrome Android Full support 33Firefox Android Full support 53
Notes
Full support 53
Notes
Notes Originally implemented on AudioContext in Firefox Android 26.
Opera Android Full support 22
Full support 22
Full support 14
Prefixed
Prefixed Implemented with the vendor prefix: webkit
Safari iOS Full support 6
Prefixed
Full support 6
Prefixed
Prefixed Implemented with the vendor prefix: webkit
Samsung Internet Android Full support 2.0
createDelayChrome Full support 10
Prefixed
Full support 10
Prefixed
Prefixed Implemented with the vendor prefix: webkit
Edge Full support ≤18Firefox Full support 53
Notes
Full support 53
Notes
Notes Originally implemented on AudioContext in Firefox 25.
IE No support NoOpera Full support 22
Full support 22
Full support 15
Prefixed
Prefixed Implemented with the vendor prefix: webkit
Safari Full support 6
Prefixed
Full support 6
Prefixed
Prefixed Implemented with the vendor prefix: webkit
WebView Android Full support YesChrome Android Full support 33Firefox Android Full support 53
Notes
Full support 53
Notes
Notes Originally implemented on AudioContext in Firefox Android 26.
Opera Android Full support 22
Full support 22
Full support 14
Prefixed
Prefixed Implemented with the vendor prefix: webkit
Safari iOS Full support 6
Prefixed
Full support 6
Prefixed
Prefixed Implemented with the vendor prefix: webkit
Samsung Internet Android Full support 2.0
createDynamicsCompressorChrome Full support 10
Prefixed
Full support 10
Prefixed
Prefixed Implemented with the vendor prefix: webkit
Edge Full support ≤18Firefox Full support 53
Notes
Full support 53
Notes
Notes Originally implemented on AudioContext in Firefox 25.
IE No support NoOpera Full support 22
Full support 22
Full support 15
Prefixed
Prefixed Implemented with the vendor prefix: webkit
Safari Full support 6
Prefixed
Full support 6
Prefixed
Prefixed Implemented with the vendor prefix: webkit
WebView Android Full support YesChrome Android Full support 33Firefox Android Full support 53
Notes
Full support 53
Notes
Notes Originally implemented on AudioContext in Firefox Android 26.
Opera Android Full support 22
Full support 22
Full support 14
Prefixed
Prefixed Implemented with the vendor prefix: webkit
Safari iOS Full support 6
Prefixed
Full support 6
Prefixed
Prefixed Implemented with the vendor prefix: webkit
Samsung Internet Android Full support 2.0
createGainChrome Full support 10
Prefixed
Full support 10
Prefixed
Prefixed Implemented with the vendor prefix: webkit
Edge Full support ≤18Firefox Full support 53
Notes
Full support 53
Notes
Notes Originally implemented on AudioContext in Firefox 25.
IE No support NoOpera Full support 22
Full support 22
Full support 15
Prefixed
Prefixed Implemented with the vendor prefix: webkit
Safari Full support 6
Prefixed
Full support 6
Prefixed
Prefixed Implemented with the vendor prefix: webkit
WebView Android Full support YesChrome Android Full support 33Firefox Android Full support 53
Notes
Full support 53
Notes
Notes Originally implemented on AudioContext in Firefox Android 26.
Opera Android Full support 22
Full support 22
Full support 14
Prefixed
Prefixed Implemented with the vendor prefix: webkit
Safari iOS Full support 6
Prefixed
Full support 6
Prefixed
Prefixed Implemented with the vendor prefix: webkit
Samsung Internet Android Full support 2.0
createIIRFilterChrome Full support 49Edge Full support ≤18Firefox Full support 53
Notes
Full support 53
Notes
Notes Originally implemented on AudioContext in Firefox 50.
IE No support NoOpera Full support YesSafari No support NoWebView Android Full support 49Chrome Android Full support 49Firefox Android Full support 53
Notes
Full support 53
Notes
Notes Originally implemented on AudioContext in Firefox Android 50.
Opera Android Full support YesSafari iOS No support NoSamsung Internet Android Full support 5.0
createOscillatorChrome Full support 10
Prefixed
Full support 10
Prefixed
Prefixed Implemented with the vendor prefix: webkit
Edge Full support ≤18Firefox Full support 53
Notes
Full support 53
Notes
Notes Originally implemented on AudioContext in Firefox 25.
IE No support NoOpera Full support 22
Full support 22
Full support 15
Prefixed
Prefixed Implemented with the vendor prefix: webkit
Safari Full support 6
Prefixed
Full support 6
Prefixed
Prefixed Implemented with the vendor prefix: webkit
WebView Android Full support YesChrome Android Full support 33Firefox Android Full support 53
Notes
Full support 53
Notes
Notes Originally implemented on AudioContext in Firefox Android 26.
Opera Android Full support 22
Full support 22
Full support 14
Prefixed
Prefixed Implemented with the vendor prefix: webkit
Safari iOS Full support 6
Prefixed
Full support 6
Prefixed
Prefixed Implemented with the vendor prefix: webkit
Samsung Internet Android Full support 2.0
createPannerChrome Full support 10
Prefixed
Full support 10
Prefixed
Prefixed Implemented with the vendor prefix: webkit
Edge Full support ≤18Firefox Full support 53
Notes
Full support 53
Notes
Notes Originally implemented on AudioContext in Firefox 25.
IE No support NoOpera Full support 22
Full support 22
Full support 15
Prefixed
Prefixed Implemented with the vendor prefix: webkit
Safari Full support 6
Prefixed
Full support 6
Prefixed
Prefixed Implemented with the vendor prefix: webkit
WebView Android Full support YesChrome Android Full support 33Firefox Android Full support 53
Notes
Full support 53
Notes
Notes Originally implemented on AudioContext in Firefox Android 26.
Opera Android Full support 22
Full support 22
Full support 14
Prefixed
Prefixed Implemented with the vendor prefix: webkit
Safari iOS Full support 6
Prefixed
Full support 6
Prefixed
Prefixed Implemented with the vendor prefix: webkit
Samsung Internet Android Full support 2.0
createPeriodicWaveChrome Full support 59
Notes
Full support 59
Notes
Notes Default values supported
Full support 57
Full support 10
Prefixed
Prefixed Implemented with the vendor prefix: webkit
Edge Full support ≤18Firefox Full support 53
Notes
Full support 53
Notes
Notes Originally implemented on AudioContext in Firefox 25.
IE No support NoOpera Full support 22
Full support 22
Full support 15
Prefixed
Prefixed Implemented with the vendor prefix: webkit
Safari Full support 6
Prefixed
Full support 6
Prefixed
Prefixed Implemented with the vendor prefix: webkit
WebView Android Full support 59
Notes
Full support 59
Notes
Notes Default values supported
Full support 57
Full support 4.4.3
Prefixed
Prefixed Implemented with the vendor prefix: webkit
Chrome Android Full support 59
Notes
Full support 59
Notes
Notes Default values supported
Full support 57
Full support 33
Prefixed
Prefixed Implemented with the vendor prefix: webkit
Firefox Android Full support 53
Notes
Full support 53
Notes
Notes Originally implemented on AudioContext in Firefox Android 26.
Opera Android Full support 22
Full support 22
Full support 14
Prefixed
Prefixed Implemented with the vendor prefix: webkit
Safari iOS Full support 6
Prefixed
Full support 6
Prefixed
Prefixed Implemented with the vendor prefix: webkit
Samsung Internet Android Full support 7.0
Notes
Full support 7.0
Notes
Notes Default values supported
Full support 7.0
Full support 2.0
Prefixed
Prefixed Implemented with the vendor prefix: webkit
createScriptProcessorChrome Full support 10
Prefixed
Full support 10
Prefixed
Prefixed Implemented with the vendor prefix: webkit
Edge Full support ≤18Firefox Full support 53
Notes
Full support 53
Notes
Notes Originally implemented on AudioContext in Firefox 25.
IE No support NoOpera Full support 22
Full support 22
Full support 15
Prefixed
Prefixed Implemented with the vendor prefix: webkit
Safari Full support 6
Prefixed
Full support 6
Prefixed
Prefixed Implemented with the vendor prefix: webkit
WebView Android Full support YesChrome Android Full support 33Firefox Android Full support 53
Notes
Full support 53
Notes
Notes Originally implemented on AudioContext in Firefox Android 26.
Opera Android Full support 22
Full support 22
Full support 14
Prefixed
Prefixed Implemented with the vendor prefix: webkit
Safari iOS Full support 6
Prefixed
Full support 6
Prefixed
Prefixed Implemented with the vendor prefix: webkit
Samsung Internet Android Full support 2.0
createStereoPannerChrome Full support 42Edge Full support ≤18Firefox Full support 53
Notes
Full support 53
Notes
Notes Originally implemented on AudioContext in Firefox 37.
IE No support NoOpera No support NoSafari No support NoWebView Android Full support YesChrome Android Full support YesFirefox Android Full support 53
Notes
Full support 53
Notes
Notes Originally implemented on AudioContext in Firefox Android 37.
Opera Android No support NoSafari iOS No support NoSamsung Internet Android Full support Yes
createWaveShaperChrome Full support 10
Prefixed
Full support 10
Prefixed
Prefixed Implemented with the vendor prefix: webkit
Edge Full support ≤18Firefox Full support 53
Notes
Full support 53
Notes
Notes Originally implemented on AudioContext in Firefox 25.
IE No support NoOpera Full support 22
Full support 22
Full support 15
Prefixed
Prefixed Implemented with the vendor prefix: webkit
Safari Full support 6
Prefixed
Full support 6
Prefixed
Prefixed Implemented with the vendor prefix: webkit
WebView Android Full support YesChrome Android Full support 33Firefox Android Full support 53
Notes
Full support 53
Notes
Notes Originally implemented on AudioContext in Firefox Android 26.
Opera Android Full support 22
Full support 22
Full support 14
Prefixed
Prefixed Implemented with the vendor prefix: webkit
Safari iOS Full support 6
Prefixed
Full support 6
Prefixed
Prefixed Implemented with the vendor prefix: webkit
Samsung Internet Android Full support 2.0
currentTimeChrome Full support 10
Prefixed
Full support 10
Prefixed
Prefixed Implemented with the vendor prefix: webkit
Edge Full support ≤18Firefox Full support 53
Notes
Full support 53
Notes
Notes Originally implemented on AudioContext in Firefox 25.
IE No support NoOpera Full support 22
Full support 22
Full support 15
Prefixed
Prefixed Implemented with the vendor prefix: webkit
Safari Full support 6
Prefixed
Full support 6
Prefixed
Prefixed Implemented with the vendor prefix: webkit
WebView Android Full support YesChrome Android Full support 33Firefox Android Full support 53
Notes
Full support 53
Notes
Notes Originally implemented on AudioContext in Firefox Android 26.
Opera Android Full support 22
Full support 22
Full support 14
Prefixed
Prefixed Implemented with the vendor prefix: webkit
Safari iOS Full support 6
Prefixed
Full support 6
Prefixed
Prefixed Implemented with the vendor prefix: webkit
Samsung Internet Android Full support 2.0
decodeAudioDataChrome Full support 10
Prefixed
Full support 10
Prefixed
Prefixed Implemented with the vendor prefix: webkit
Edge Full support ≤18Firefox Full support 53
Notes
Full support 53
Notes
Notes Originally implemented on AudioContext in Firefox 25.
IE No support NoOpera Full support 22
Full support 22
Full support 15
Prefixed
Prefixed Implemented with the vendor prefix: webkit
Safari Full support 6
Prefixed
Full support 6
Prefixed
Prefixed Implemented with the vendor prefix: webkit
WebView Android Full support YesChrome Android Full support 33Firefox Android Full support 53
Notes
Full support 53
Notes
Notes Originally implemented on AudioContext in Firefox Android 26.
Opera Android Full support 22
Full support 22
Full support 14
Prefixed
Prefixed Implemented with the vendor prefix: webkit
Safari iOS Full support 6
Prefixed
Full support 6
Prefixed
Prefixed Implemented with the vendor prefix: webkit
Samsung Internet Android Full support 2.0
destinationChrome Full support 10
Prefixed
Full support 10
Prefixed
Prefixed Implemented with the vendor prefix: webkit
Edge Full support ≤18Firefox Full support 53
Notes
Full support 53
Notes
Notes Originally implemented on AudioContext in Firefox 25.
IE No support NoOpera Full support 22
Full support 22
Full support 15
Prefixed
Prefixed Implemented with the vendor prefix: webkit
Safari Full support 6
Prefixed
Full support 6
Prefixed
Prefixed Implemented with the vendor prefix: webkit
WebView Android Full support YesChrome Android Full support 33Firefox Android Full support 53
Notes
Full support 53
Notes
Notes Originally implemented on AudioContext in Firefox Android 26.
Opera Android Full support 22
Full support 22
Full support 14
Prefixed
Prefixed Implemented with the vendor prefix: webkit
Safari iOS Full support 6
Prefixed
Full support 6
Prefixed
Prefixed Implemented with the vendor prefix: webkit
Samsung Internet Android Full support 2.0
listenerChrome Full support 10
Prefixed
Full support 10
Prefixed
Prefixed Implemented with the vendor prefix: webkit
Edge Full support ≤18Firefox Full support 53IE No support NoOpera Full support 22
Full support 22
Full support 15
Prefixed
Prefixed Implemented with the vendor prefix: webkit
Safari Full support 6
Prefixed
Full support 6
Prefixed
Prefixed Implemented with the vendor prefix: webkit
WebView Android Full support YesChrome Android Full support 33Firefox Android Full support 53Opera Android Full support 22
Full support 22
Full support 14
Prefixed
Prefixed Implemented with the vendor prefix: webkit
Safari iOS Full support 6
Prefixed
Full support 6
Prefixed
Prefixed Implemented with the vendor prefix: webkit
Samsung Internet Android Full support 2.0
onstatechangeChrome Full support 43Edge Full support ≤79Firefox Full support 53
Notes
Full support 53
Notes
Notes Originally implemented on AudioContext in Firefox 40.
IE No support NoOpera Full support YesSafari Full support 9
Prefixed
Full support 9
Prefixed
Prefixed Implemented with the vendor prefix: webkit
WebView Android Full support YesChrome Android Full support YesFirefox Android Full support 53
Notes
Full support 53
Notes
Notes Originally implemented on AudioContext in Firefox Android 40.
Opera Android Full support YesSafari iOS Full support 9
Prefixed
Full support 9
Prefixed
Prefixed Implemented with the vendor prefix: webkit
Samsung Internet Android Full support Yes
sampleRateChrome Full support 10
Prefixed
Full support 10
Prefixed
Prefixed Implemented with the vendor prefix: webkit
Edge Full support ≤18Firefox Full support 53
Notes
Full support 53
Notes
Notes Originally implemented on AudioContext in Firefox 25.
IE No support NoOpera Full support 22
Full support 22
Full support 15
Prefixed
Prefixed Implemented with the vendor prefix: webkit
Safari Full support 6
Prefixed
Full support 6
Prefixed
Prefixed Implemented with the vendor prefix: webkit
WebView Android Full support YesChrome Android Full support 33Firefox Android Full support 53
Notes
Full support 53
Notes
Notes Originally implemented on AudioContext in Firefox Android 26.
Opera Android Full support 22
Full support 22
Full support 14
Prefixed
Prefixed Implemented with the vendor prefix: webkit
Safari iOS Full support 6
Prefixed
Full support 6
Prefixed
Prefixed Implemented with the vendor prefix: webkit
Samsung Internet Android Full support 2.0
stateChrome Full support 43Edge Full support ≤79Firefox Full support 53
Notes
Full support 53
Notes
Notes Originally implemented on AudioContext in Firefox 40.
IE No support NoOpera Full support YesSafari Full support 9
Prefixed
Full support 9
Prefixed
Prefixed Implemented with the vendor prefix: webkit
WebView Android Full support YesChrome Android Full support YesFirefox Android Full support 53
Notes
Full support 53
Notes
Notes Originally implemented on AudioContext in Firefox Android 40.
Opera Android Full support YesSafari iOS Full support 9
Prefixed
Full support 9
Prefixed
Prefixed Implemented with the vendor prefix: webkit
Samsung Internet Android Full support Yes

Legend

Full support
Full support
No support
No support
Compatibility unknown
Compatibility unknown
Experimental. Expect behavior to change in the future.
Experimental. Expect behavior to change in the future.
See implementation notes.
See implementation notes.
Requires a vendor prefix or different name for use.
Requires a vendor prefix or different name for use.

See also