Easy way to manage and play sound effects using HTML5 Web Audio API
Is just that. It's a simple sound effect manager for playing sounds using the awesome HTML 5 Web Audio API.
If you think I'm talking about
<audio> tags, go read this: http://www.html5rocks.com/en/tutorials/webaudio/intro/
It's significantly better than
<audio> tags for several reasons:
Part of the Ampersand.js toolkit for building clientside applications.
npm install sound-effect-manager
// just init the sound effect managervar SoundEffectManager = ;var sm = ;// load some files by passing it a url and a namesm;sm;// then play the sounds like so:sm;// or play a sound in looping mode:sm;// and to stop a loop:sm;// that's it!