Skip to content

Instantly share code, notes, and snippets.

Last active Aug 29, 2015
What would you like to do?
Converter to .caf from .wav in the current folder, nice export for ios game
# This script is for converting sound files into .caf (for sfx)
for i in *.wav; do
afconvert -f caff -d LEI16@22050 -c 1 "$i"
# create a new folder then move newly exported into it
mkdir caf
mv *.caf "caf/"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment