rob@100: # Buzz, a Javascript HTML5 Audio library
rob@100:
rob@100: Buzz is a small but powerful Javascript library that allows you to easily take advantage of the new HTML5 audio element. It tries to degrade properly on non-modern browsers.
rob@100:
rob@100: var mySound = new buzz.sound( "/sounds/myfile", {
rob@100: formats: [ "ogg", "mp3", "acc" ]
rob@100: });
rob@100:
rob@100: mySound.play()
rob@100: .fadeIn()
rob@100: .loop()
rob@100: .bind( "timeupdate", function() {
rob@100: var timer = buzz.toTimer( this.getTime() );
rob@100: document.getElementById( "timer" ).innerHTML = timer;
rob@100: });
rob@100:
rob@100: ### Official website
rob@100: http://buzz.jaysalvat.com/
rob@100:
rob@100: ### Real life demo
rob@100: http://buzz.jaysalvat.com/demo/
rob@100:
rob@100: ### Documentation
rob@100: http://buzz.jaysalvat.com/documentation/