Getting the Audio File
After a bit of time consulting the all-knowing Google, I came to the conclusion that turning the voicemail into a ringtone for my iPhone would be trivial, provided that I could get the voicemail onto my computer as an mp3 file (or any other non-DRM audio format which can be imported into iTunes.) However, getting to that point proved to be a bit tricky. Here are the options that I found:
- Jailbreak the iPhone and ssh into it to find the Visual Voicemail audio files. Hmmm, I could probably pull that off, but I'm not liking the idea of getting my iPhone bricked during a future update.
- Route an audio cable from the headphone jack on the iPhone to the mic jack on my computer, and record the voicemail directly. Nope, don't have the right cable on hand.
- Sign up for a service that will retrieve voicemails and e-mail them to you. Bingo!
Once I had the mp3 saved to my computer from the e-mail message, it was a simple matter to convert it into a ringtone. First of all, I needed to trim the audio file since GotVoice had added information such as time stamps and phone numbers to both the beginning and end of the recording. To do this, I used Audacity (with the LAME mp3 encoder to enable mp3 export).
Next, I double-clicked the edited mp3 file to open it in iTunes. At this point, it is tempting to open the contextual menu for the item in iTunes and select the "Create Ringtone..." option, but this will only work with items purchased through iTunes. It should also be noted that the name which appears for the item in iTunes (and later on the iPhone) is taken from the audio file's metadata, not from the file name, so I had to open the contextual menu for the item and select "Get Info." In the resulting window, I selected the Info tab, and set the Name field to the value I wished for the ringtone to appear as, then clicked "OK."
Next, I selected "Preferences" from the iTunes menu. On the General tab, I clicked "Import Settings..." (which is mis-named as these settings also impact the export conversion which I was about to perform.) On the "Import Using" popup menu, I selected "AAC Encoder." Next, I clicked the "OK" button on both dialog boxes, then opened the contextual menu for the item, and selected "Create AAC Version." A new copy of the item now appeared in iTunes. I used "Get Info" on this and noted the location of the underlying file and went there in the file system and copied the file to a different location, and changed its file extension from m4a to m4r. I went back into iTunes and removed the new item entry then went back to the file system and double-clicked my newly renamed m4r file to open it in iTunes. It now appeared in the Ringtones section of iTunes, and the next time I synced my iPhone, the new custom ringtone appeared on the list of ringtones available on my phone.