Skip to content

Instantly share code, notes, and snippets.

@BolajiOlajide
Created September 17, 2017 21:29
Show Gist options
  • Save BolajiOlajide/08132fb9b46baf12b7359fdb420e14b6 to your computer and use it in GitHub Desktop.
Save BolajiOlajide/08132fb9b46baf12b7359fdb420e14b6 to your computer and use it in GitHub Desktop.
Create an iPhone ringtone from Youtube

Short summary:

Make the ringtone a less than 30 seconds long .m4r file (it is a renamed m4a file), put it in "Tones" in iTunes, and sync with the phone. Don't forget to enable sync'ing Tones when the phone is connected.

Instructions

Get the file as m4a audio

  1. Figure out the starting and ending time of the sound snippet by looking at the video in youtube.
  2. Get the youtube URL, i.e. http://youtube.com/watch?v=Rqz_JyAUZyg
  3. Go to http://www.clipconverter.cc
  4. Enter the url in the box
  5. Click on m4a (to only get the audio)
  6. Click on "Start of video" and "End of video" and fill in the starting and ending time of the clip. The total length must be less than 30 seconds. You can also choose to fill in the ID3 info (arist name, name of song, etc.)
  7. Click on Download

Make a 30 second snippet of a longer file

This step is only necessary if you have an audio file longer than 30 seconds that is not in m4a format.

One way to shorten the file and convert it is via iTunes. (A perhaps easier way is to open the file in QuickTime Player, trim it with Command-T, and export it to iTunes.)

  1. Open "My Music" in iTunes (the note symbol in the upper left corner)
  2. Drop the downloaded file into your library.
  3. Ctrl-click on the file and choose "Get Info"
  4. Click on "Options"
  5. Check the "Stop" box and enter '0:30' which means 30 seconds.
  6. Click OK
  7. Ctrl-click on the filename again, and chose "Create AAC version"
  8. Ctrl-click on the new (30 seconds long) file and choose "Show in Finder"

Make it an .m4r file

When your file is a 30 seconds (or less) long m4a file, rename it to end with m4r (ringtone).

  1. Press alt and drag the file onto the desktop (to create a copy)
  2. Rename it to something that ends with .m4r. It should also have a name different to the original file.
  3. When asked if you want to change the extension, choose "Use .m4r"

Drag the .m4r file into iTunes "Tones" and sync

Now you have a 30 second long snipped of the audio in m4r format.

  1. Go back to iTunes. If you don't see the bell in the upper left corner, click the three dots.
  2. Click on the bell to choose "Tones"
  3. I had to disconnect my iphone here for the next step to work. (I had to use a different name on the file than the original file name, or the file ended up in the music library.)
  4. Drag the m4r file into the Tones window. It should appear in the list.
  5. Now connect the phone, click on the phone icon, and on Tones in the phone menu. Make sure "Sync Tones" is checked.
  6. Press "Sync" in the lower right corner of iTunes.

Choose the ringtone on the phone

  1. To choose the new ringtone, open your phone and open "Settings".
  2. Click on "Sounds"
  3. Click on "Ringtones"
  4. Choose your new ringtone. It should be on top of the list of ringtones.

beeep beeep

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment