A Javascript library for working with Audio. It provides a consistent API for loading and playing audio on different browsers and devices. Currently supports WebAudio, HTML5 Audio, Cordova / PhoneGap, and a Flash fallback.
Currently, SoundJS only supports file extensions or "sound" types.
It might be worthwhile to support an "audiosprite" type, which is a JSON file. Once the JSON loads, it would parse out the sound source(s) and data.audiosprite definition for you.
May not work with SoundJS standalone, since it has JSON loading requirements.
Currently, SoundJS only supports file extensions or "sound" types.
It might be worthwhile to support an "audiosprite" type, which is a JSON file. Once the JSON loads, it would parse out the sound source(s) and data.audiosprite definition for you.
May not work with SoundJS standalone, since it has JSON loading requirements.