CreateJS / SoundJS

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.
http://createjs.com/
MIT License
4.42k stars 838 forks source link

Add an "audiosprite" type to SoundJS/PreloadJS #272

Open lannymcnie opened 7 years ago

lannymcnie commented 7 years ago

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.