« Web Audio API

This is an experimental technology
Because this technology's specification has not stabilized, check the compatibility table for the proper prefixes to use in various browsers. Also note that the syntax and behavior of an experimental technology is subject to change in future versions of browsers as the spec changes.

The OfflineAudioContext interface is an AudioContext that is an interface representing an audio-processing graph built from AudioNode linked together. In contrast with a basic AudioContext, an OfflineAudioContext doesn't really render the audio but generates it, as fast as it can, in a buffer.

An OfflineAudioContext is a regular AudioContext and therefore can be target of events, therefore it implements the EventTarget interface.


Also implements properties from its parents AudioContext.

Is an EventHandler called when the processing is terminated, that is when the event complete of type OfflineAudioCompletionEvent is raised.


Also implements methods from its parent AudioContext, and therefore of EventTarget.

Starts rendering the audio, taking into account the current connections and the current scheduled changes. The event complete of type OfflineAudioCompletionEvent, and containing the resulting buffer, is raised when the rendering is finished




Specification Status Comment
Web Audio API Working Draft  

Browser compatibility

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari (WebKit)
Basic support (Yes)webkit Activated on Nightly only (24) Not supported Not supported ?
Feature Android Firefox Mobile (Gecko) IE Phone Opera Mobile Safari Mobile
Basic support ? Activated on Nightly only Not supported Not supported ?

See also

  • Using Web Audio

Document Tags and Contributors

Contributors to this page: kscarfone, teoli
Last updated by: kscarfone,