spankiejoe / webaudio.js

web audio library for games

Home Page:http://jeromeetienne.github.com/webaudio.js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

library on top of Web Audio API. It is a direct adaptation of tQuery.Webaudio.

Examples

Basic examples

// init the library
var webaudio = new WebAudio();
// create a sound
var sound = webaudio.createSound();
// load sound.wav and play it
sound.load('sound.wav', function(sound){
    sound.play();
});

About

web audio library for games

http://jeromeetienne.github.com/webaudio.js