This is a javascript... API for using the new Web Audio API which is coming out for FireFox and currently exists in Chrome.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


Deprecation Notice:  Howler.JS now exists.  My own small and mostly simple repo is still cool to casually look at to see the WebAudioAPI in action, but Howler.JS is more actively developed and probably tested more robustly than this project ever will be (they have 134 forks for god's sake!).  I happen to like the syntax of Howler.JS too as that it's somewhat similar, yet even better than what I came up with originally.  Check it out at

Checkout for a full writeup on this library and the WebAudioAPI.  

A web Audio API to make adding sounds to your web app a no brainer, yet take full advantage of Chrome's new web audio API.  


Add this script to your project html code.  
    <script src="/javascripts/webAudioApiForDesigners.js"></script>

Play a sound using javascript.  
    // 1
    var context = initializeNewWebAudioContext();

    // 2
    context.loadSound('audio/beep.ogg', 'beep');

    $("#nav-one a")
        .mouseenter(function() {
        // 3

For more details, checkout this link to the