Using Terminal to convert AAC to CAF?

QuinnZoneStudiosQuinnZoneStudios Member Posts: 452
edited November -1 in Working with GS (Mac)
Hey all,

A while ago user Scorelessmusic posted this info on how to use the terminal to convert AAC files to CAFs. I'm not sure if he's still on the forums or if someone else here knows the answer for me?

Basically I'm trying to use afconvert to create STEREO .caf files from my optimized .aac files. The example below refers to mono files. However I can't get it to work as there's not enough info for beginner Terminal users like me.
I think what I need is an "idiots guide, step by step" of exactly how to do this. Nothing else I've tried is quite working right for my requirements (Audacity & Max) and I suspect this will give me what I need.

If anyone is brave enough to take this on, it will be a great service to Gamesaladkind ;)

Otherwise Happy weekend and Easter stuff!

Mike
scorelessmusic said:
I'm currently using a script... let me post it here:

##
## 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 converttocaf.sh'
##

for f in *; do
if [ "$f" != "converttocaf.sh" ]
then
/usr/bin/afconvert -f caff -d 'aac ' -c 1 -l Mono $f
echo "$f converted"
fi
done

-------------------

If you're doing it to a single file, the command is :

/usr/bin/afconvert -f caff -d 'aac ' -c 1 -l Mono <filename>

Hope this helps!

scorelessmusic said:
I'm currently using a script... let me post it here:

##
## 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 converttocaf.sh'
##

for f in *; do
if [ "$f" != "converttocaf.sh" ]
then
/usr/bin/afconvert -f caff -d 'aac ' -c 1 -l Mono $f
echo "$f converted"
fi
done

-------------------

If you're doing it to a single file, the command is :

/usr/bin/afconvert -f caff -d 'aac ' -c 1 -l Mono <filename>

Hope this helps!

Sign In or Register to comment.