mirror of
https://github.com/sbrl/soundbox.git
synced 2018-01-10 21:33:43 +00:00
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
examplesounds | ||
example.html | ||
LICENSE | ||
README.md | ||
soundbox.js | ||
soundbox.min.js |
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