Created
February 3, 2014 11:29
-
-
Save jlcampana/8782370 to your computer and use it in GitHub Desktop.
Script to convert WAV files to CAF to reproduce on iOS
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## | |
## Shell script to batch convert all files in a directory to caf sound format for iPhone | |
## Place this shell script a directory with sound files and run it: 'sh afconvert_wavtocaf.sh' | |
## Any comments to '[email protected]' | |
## | |
for f in *.wav; do | |
if [ "$f" != "afconvert_wavtocaf.sh" ] | |
then | |
afconvert -f caff -d ima4 $f | |
echo "$f converted" | |
fi | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment