Soundbox: A Super Simple Sound Library
I little while ago I wrote the first version of Soundbox. I forgot to post about it earlier, so I am posting about it now.
Audio(). I found that you could only play a given sound once, unless you set the
currentTime property to
0. I knew that I would forget this later so I wrote a library to do this for me.
The entire library is
1.04kb unminified, and a tiny
0.64kb(!) when minified.
I have uploaded the source to a github repository here: sbrl/soundbox. You can also find usage information there in the readme.
Here are the direct links to the latest master versions: