Generates a sounds manifest config file for use in a Springroll game/application.
This plugin requires Grunt
~0.4.5 and is designed for use with the Springroll sound playback.
npm install grunt-sound-manifests --save-dev
The "sound_manifests" task
In your project's Gruntfile, add a section named
soundManifests to the data object passed into
A string value of the relative path to the sounds folders (music/, sfx/, and vo/).
A string value of the relative path to the config folder for the project.
After placing or renaming sound files in the
deploy/assets/sounds/<music/,sfx/,vo/> folders, run
grunt sound-manifest to build new
src/%namespace%/config/sounds/<music/,sfx/,vo/> files. Note: The process is a complete re-write, however, it will check-for and copy objects that have the same
src in the current config files. If a file is renamed at the src (e.g. in Finder) and the process is run, it will lose the object's data (unless you had already set the
id to be the new name).