A super simple JS library for playing sound effects
MIT License
Oops! I've been forgetting to make releases here, haven't I?
Either way, here's the full changelog since the last release I actually posted here:
alive-server
in dev dependencies to fix security issues - long live forks!loop
parameter to .play()
Install with npm:
npm install --save sound-box
Published by sbrl about 6 years ago
I forgot to update the changelog, so this release does that.
Published by sbrl about 6 years ago
Thanks to a report by @janoluhs in #8, this release corrects the main
definition in the package.json
. If you use a build tool that was getting confused, update now!
Published by sbrl over 6 years ago
Time for another release! After much research, it looks like .mjs
is the preferred and chosen extension for ES6 modules - not .jsm
. This release updates to match the standard - fixing the demo in the process.
Published by sbrl over 6 years ago
Another bugfix release - this time it's for .stop_all()
, which didn't actually stop all currently playing sounds - this release fixes that.
As usual, you can get it via npm or the files attached to this release.
Published by sbrl over 6 years ago
Wow, we're really on a roll today! This release with the aid of @MyTheValentinus, who found a bug in the new .stop_all()
method.
You can get it via npm or the files attached to this release.
Published by sbrl over 6 years ago
....and another one!
This one adds .stop_all()
and default_volume
- see the README on how to use these.
You can get it via npm or the files attached to this release.
Published by sbrl over 6 years ago
It's time for another release!
You asked, and I delivered. This release doesn't change much, other than adding a non-es6 version - just in case you need that. I'd highly recommend reading up on the subject though, and switching your code over to using it.
You can get it via npm or the files attached to this release.
Published by sbrl over 6 years ago
Hey! 13(!) stars this time O.o
In this release I've upgraded soundbox to use ES6 modules. If this isn't for you, let me know and remove the export
statement at the bottom of the file.
I've also added support to specify the volume level that a sound plays at - the details of how to do this are in the README.
You can obtain a copy in any of the following ways:
If you experience any issues, please let me know 😺
Published by sbrl about 7 years ago
It's about time I can back here and updated this library, since 9 people have thought it worth starring and all 🌟 😺
I've added support for Promise
s, and implemented support for a single sound to be played more than once at the same time.
I've also added an npm package called sound-box
(soundbox
was taken!) so use it that way if that's up your street (I can recommend it myself 😺)
Published by sbrl over 9 years ago
This is the initial release.