mirror of https://github.com/sbrl/soundbox.git
A super simple JS library for playing sound effects - this is a read-only backup mirror of the main Github repository
https://github.com/sbrl/soundbox
8e9c81d9c3 | ||
---|---|---|
examplesounds | ||
LICENSE | ||
README.md | ||
example.html | ||
soundbox.js | ||
soundbox.min.js |
README.md
soundbox
A super simple JS library for playing sound effects
- Current size:
1.04kb
- Current minified size:
0.64kb
To use:
var soundbox = new SoundBox();
soundbox.load("beep", "beep.wav");
// later....
soundbox.play("beep", function() {
// do stuff
}); // the callback is optional