Audio File Convert will convert a source audio file to a new audio file with the specified file and data types. Convert mp3 files to iPhone ring tones.

# To convert an mp3 audio file to iPhone ringtone file:
afconvert input.mp3 ringtone.m4r -f m4af