Archive for the ‘mac’ Category

Convert mp3 to caf on Mac OS X

Wednesday, July 27th, 2011

For my SpeakColors project, I needed to convert some .mp3 files to .caf. Mac OS X contains a utility called afconvert for doing such a task. Below is an example of converting “red.mp3″ to “red.caf”:

/usr/bin/afconvert -f caff -d LEI16 red.mp3 red.caf

The above command is run from command line. Check out the documentation for more information.

Upgrade to XCode 4.1

Friday, July 22nd, 2011

After upgrading to Mac OS X Lion, XCode 4.0.2 will no longer work. Upgrade to XCode 4.1, which is available on the Mac App Store for free.

Mac OS X Lion Download Error

Thursday, July 21st, 2011

While attempting to download Mac OS X Lion from the AppStore, I got the following error:

The application you tried to download could not be downloaded. Check your internet connection and try again.

I checked my internet connection and it was working fine. After pressing the Download button every few minutes, Lion eventually downloaded. The Lion servers were probably overloaded.