Web Audio API

The Web Audio API specification developed by W3C describes a high-level JavaScript API for processing and synthesizing audio in web applications.

The primary paradigm is of an audio routing graph, where a number of AudioNode objects are connected together to define the overall audio rendering. The actual processing will primarily take place in the underlying implementation (typically optimized Assembly / C / C++ code), but direct JavaScript processing and synthesis is also supported.

Mozilla's Firefox browser (Firefox 4) implements a similar Audio Data API extension since version 4, implemented in 2010 [ ] and released in 2011, but Mozilla warns it is non-standard and deprecated, and recommends the Web Audio API instead.Introducing the Audio API extension

Some JavaScript audio processing and synthesis libraries such as Audiolet support both APIs.

The W3C Audio Working Group is also considering the MediaStream Processing API specification developed by Mozilla.Audio Processing API

In addition to audio mixing and processing, it covers more general media streaming, including synchronization with HTML elements, capture of audio and video streams, and peer-to-peer routing (WebRTC) of such media streams -w3.org

# See also - Getting started with Web Audio Api - html5rocks.com - w3.org - developer.mozilla.org - MediaStream Processing API