- Slice out the guitar solo using itunes
- Convert the MP3 to ogg
- Added the ANDROID_LOOP metadata
- Copied the ringtone to the phone
Slice out the guitar solo using itunes
You can configure iTunes to export songs in MP3. You can also tell iTunes to start/stop playing at certain points in a song.
- select the song you want to use
- CMD-I to open the settings dialog
- Go to the Options tag to enter your start/stop time. This will likely take some fiddling to get the slice you want. With these set, the song will only play this section.
- Now open the File menu -> Create New Version -> Create MP3 Version
- You probably want to go back to the CMD-I properties dialog to clear the start/stop time of this song
Convert the MP3 to ogg
A drag-n-drop later I had an ogg file out of the mp3 by using Media Human. This ogg will work as a ringtone. However there is a long pause before it loops. This is not what we wanted.
Added the ANDROID_LOOP metadata
I found Audacity to add the loop metadata key/value pair. Drag-n-drop the ogg file into Audacity. Then File menu -> Export Audio. Choose your destination file location and press the Save button. Now you get a new dialog where you can enter the new metadata key/value pair: ANDROID_LOOP:true.
Copied the ringtone to the phone
Android File Transfer works slick. Drag-n-drop the file from a Finder window into the Ringtones directory of android file transfer. You don't have to disconnect the USB cable, navigate on your phone to Settings->Sounds and pick your ringtone!
Conclusion
In the end I could have just used Audacity since my music library is already MP3 format. I did not have to get iTunes to export an AAC into MP3. Audacity will let you select a section of song by clicking and dragging. Then further adjust the start/stop points. Simple go to the same File menu -> Export Selected Audio.