Download the new Switched app for your iPhone

Skip to Content

Free Switched iPhone app - try it now!
AOL Tech

Filed under: Hacks, iPhone

Create iPhone ringtones from iTunes previews

Today's iPhone hack-du-jour uses iTunes preview files for ringtones. As you probably know, iTunes freely offers short audio samples of its entire library. You can easily download these samples from iTunes and install them onto your iPhone as custom ringtones. Since your iPhone is authorized to your account, you'll be able to play back these otherwise protected audio snippets as ringtones. Here are the steps to take to make this work for you:

1. Create a new playlist. Drag unpurchased songs from the iTunes store into your playlist. The songs will retain their "Add Song" buttons and their price within the playlist.

2. Export your playlist. Select the playlist in the sources column. Control-click/Right-click the playlist name and choose Export Song List from the pop-up menu.

3. Save the playlist as plain text. Select Plain Text from the Format pop-up and save the playlist file to your desktop.

4. Open the playlist file. It is a tab-delimited file of columns, so you can open it up in Excel (my preference, make sure to option-drag the text file onto the Excel icon) or a text editor like TextEdit.

5. Locate the file URLs. Each file URL appears in the final Location column for each line. Copy the URL.

6. Download the files. In Safari 3.0, open the Downloads window (Windows->Downloads). Paste the URL into the Download window and allow the file to transfer. Your computer must be authorized to your iTunes account. You may want to try playing back the file in QuickTime Player just to be sure it downloaded correctly. If you're not a Safari 3.0 user, use your favorite alternate such as curl, wget, or so forth.

7. Rename. Give the file a more meaningful name than, for example, "mzi.rwgtaash.aac.p.m4p". Retain the .m4p extension.

8. Upload to the iPhone. Use your favorite method (iphoneinterface, sshfs, sftp, whatever) to copy the file to /Library/Ringtones on your iPhone.

9. Select the ringtone. On the iPhone, navigate to Settings -> Sound > Ringtone and select the new file. The ringtone will play back as you select it. Please note that some newer releases (including Nicole Scherzinger's Whatever U Like--thanks Drunk Dwarf) do not work as ringtones. I'm not sure why.

Congratulations, not only have you added a new 30-second custom ringtone to your iPhone, but iTunes usually picks the best 30 seconds of any song for its preview. Enjoy.

GeekNote: If you've got curl installed on your iPhone, you can curl the URLs directly to /Library/Ringtones.

Click here to read all TUAW’s iPhone coverage
jobs & resumes
iPhone / Android Developer

Bump Technologies, Inc. - Mountain View, CA (2 weeks ago)

See More Relevant Jobs ›

Reader Comments (Page 1 of 5)

Tip of the Day

Want to drag a file to another folder and copy it instead of moving it? Press the Option key when you drag that file and it'll be duplicated rather than moved entirely.

Follow us on Twitter!

TUAW [Cafepress] 

Featured Galleries

DNC Macs
Macworld 2008 Keynote
Macworld 2008 Build-up
Google Earth for iPhone
Podcaster
Storyist 2.0
AT&T Navigator Road Test
Bento for iPhone 1.0
Scrabble for iPhone
Tom Bihn Checkpoint Flyer Briefcase
Apple Vanity Plates
Apple booth Macworld 07
WorldVoice Radio
Quickoffice for iPhone 1.1.1
Daylite 3.9 Review
DiscPainter
Mariner Calc for iPhone
2009CupertinoBus
Crash Bandicoot Nitro Kart 3D
MLB.com At Bat 2009
Macworld Expo 2007 show floor

 

Our Writers

Victor Agreda, Jr.

Programming Manager, AOL Tech

RSS Feed

View more Writers

More Apple Analysis

AOL Radio TUAW on Stitcher