AudioUtility.js
Right now you should be hearing an awesome beat.
The beat is being played through Javascript, using my AudioUtility.js
Every sound has multiple channels, which is good for overlapping.
Every sound has multiple sources, which is good for x-browser compatibility.
Source:
this.au.add("kick", ["kick.ogg", "kick.mp3"], 2);
this.au.add("snare", ["snare.ogg", "snare.mp3"], 2);
this.au.add("hihat", ["hihat.ogg", "hihat.mp3"], 2);
this.au.add("open-hihat", ["openhihat.ogg", "openhihat.mp3"], 2);
this.timeLine = [
["kick"], ["hihat"], ["snare", "kick"], ["hihat"],
["kick"], ["hihat"], ["snare", "kick"], ["open-hihat"],
];
This example, as seen above, has a timeline where all the sounds are put in order.
This order is then played back to form a beat. Awesome, right?