Native Applications have trumped Web applications over the years when it comes to handling rich media. With HTML5, the tide began to search where Audio and Video became first class citizens in your Web applications. While the features were limited, it was a good start and Web developers began to push the envelope with what could be done with Audio and Video via native support in the browsers itself.
The blog post describes a code sample on how to integrate Web Audio in your application. The example demonstrates how to preload a sound into the audio buffer and play it precisely when an event occurs in the application. The Audio API support in browsers is not new with Chrome being the first browser that supported it via the
webkitAudioContext prefix. Firefox has implemented the standard API and also provides a porting guide to help Developers modify their applications if they used the
The Web Audio API is expected to roll out in Firefox 24 for desktop and Android soon. If you cannot wait to hear it work, you can always access the nightly build.