Buzz is a small Javascript library that helps you to easily include and manage sounds in your websites using the HTML5 audio tag. It degrades silently on non-modern browsers.

Buzz is written by Jay Salvat and licensed under the MIT License.

Download Buzz! #version

Fork it on Github

Installation

Download the ZIP file above and include it manually or include the CDN hosted version.

https://cdnjs.com/libraries/buzz

Or install it by NPM.

$ npm install --save buzz

Or install it by Bower.

$ bower install --save buzz
API Example
var sound = new buzz.sound("/sounds/sound", {
    formats: [ "ogg", "mp3", "aac" ]
});

sound.play()
     .fadeIn()
     .loop()
     .bind("timeupdate", function() {
        var timer = buzz.toTimer(this.getTime());
        document.getElementById("timer").innerHTML = timer;
     });