Mac CAF/AIF/MP3 sound file FAQ: How do I convert a CAF file to AIF format, MP3 format, or any other sound file format on Mac OS X, for free?
Convert CAF to AIF, MP3, WAV, for free - solution
While writing my Mac "Hide Your Desktop" application, I can't work with certain sound file formats yet, so I've been digging around trying to figure out how to convert Apple's "CAF" file format into a format I can deal with, and I really need files to be in an AIF, MP3, WAV, or AU format.
Last night I found a cool Mac OS X command-line utility named
afconvert that lets you convert sound files from one format to another, for free. So I dug into it, and eventually created a shell script that lets me convert all my CAF sound files into AIF sound files. A slightly modified version of the same script will allow you to convert CAF or AIF sound files to MP3, WAV, and other sound file formats.