Skip to content

Instantly share code, notes, and snippets.

@evadecker
Last active November 23, 2018 21:14
Show Gist options
  • Save evadecker/7c1782a292c0a215f96f2f9850c0ab71 to your computer and use it in GitHub Desktop.
Save evadecker/7c1782a292c0a215f96f2f9850c0ab71 to your computer and use it in GitHub Desktop.
Generate an audiosprite for use with Howler
# For use with https://github.com/tonistiigi/audiosprite
# and https://github.com/goldfire/howler.js/
# Replace outputNameWithoutExtension with whatever you want.
#
# *.mp3 will find all mp3 files in the current directory.
#
# * will find ALL files in the current directory, allowing you
# to mix wav, mp3, etc into the final combined sprite.
audiosprite --output outputNameWithoutExtension -f howler --export mp3 *.mp3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment