geewax.org home blog projects open source

Creating iPhone Ringtones on Ubuntu

I just had a hell of a time trying to turn a very short MP3 file into a ringtone for my iPhone. I ended up using Perl Audio Converter and faac (Freeware Advanced Audio Coder) to turn the MP3 file into an m4a. After that I renamed as m4r and dragged onto the iPhone.

The short version boils down to:

sudo apt-get install pacpl faac
pacpl --to m4a yourfile
mv yourfile.m4a yourfile.m4r

After that, just drag the m4r file onto the iPhone device in iTunes.

Posted on 07 Nov 2009