Convert audio to ringtones using OS X Terminal

Have you encountered a sound bite, or perhaps a full song, that you would like to use as an alert or ringtone on your iPhone? If so, then you can do so using a simple utility available in the OS X Terminal to convert into a tone for your iOS device.

The utility is called "afconvert," which stands for "Audio File Convert" and is a tool that Apple has included in OS X since 2003. As its name suggests, this tool allows you to specify one audio file and convert it to another format, managing bitrates and quality settings, extract channels, and perform a number of other manipulations to audio files.

For a full list of options you can run "afconvert -h" in the Terminal, or run "afconvert -hf" to view a list of the audio file formats supported by this utility. One of these is the m4r (MPeg-4 Ringtone) format, which is the format that can be used as a ringtone.

Now with your desired audio file on hand, cropped and otherwise prepared, open the OS X Terminal application (in the Applications > Utilities folder) and perform the following steps:

  1. Type the following command, followed by a single space (do not press Enter yet):

    afconvert -f m4af

  2. Drag the audio file from its location in Finder to Terminal, and you should see a full path to the file appear.
  3. Now drag the file to Terminal again to enter another full path to it, but this time press delete to remove the filename suffix, and replace it with ".m4r," so the command will look something like the following (in this example, the initial file is an mp3):

    afconvert -f m4af /path/to/file.mp3 /path/to/file.m4r

  4. Press Enter to execute the command, and a new file in the .m4r format will be placed in the same location as the original.

Once this procedure is done, drag the new .m4r file into iTunes, and it should show up in the ringtones section of your iTunes library. From here, you can sync it with your iPhone or iPad, and then access it in the Sounds section of your iPhone's settings to use it for various notifications.



Questions? Comments? Have a fix? Post them below or !
Be sure to check us out on Twitter and the CNET Mac forums.
The MacFixIt blog can be found directly at http://www.macfixit.com



Source Visit Link

Convert audio to ringtones using OS X Terminal - CNET
Convert audio to ringtones using OS X Terminal. If you want to use an audio file as a ringtone in iOS, you can use Terminal and iTunes to convert and import tones to

How to Use Terminal to Convert Audio Files to Ringtones in ...
This particular utility is called afconvert and has been included in OS X since 2003. afconvert stands for Audio File Convert, and as the name

Convert audio to ringtones using OS X Terminal ...
Have you encountered a sound bite, or perhaps a full song, that you would like to use as an alert or ringtone on your iPhone? If so, then you can do so using a simple

Convert an Audio File into an Android or iPhone Ringtone ...
Convert an Audio File into an Android or iPhone Ringtone from Terminal because OS X has a little audio conversion tool Converting an Audio File to

Use OS X 10.5 to work with audio in the Terminal | Macworld
and get info on audio files using some new OS X 10.5 Terminal If youve got a lot of audio files to convert, you can use afconvert to automate the

Convert Any Audio or Video File to an iPhone Ringtone ...
Convert an Audio File into an Android or iPhone Ringtone from Terminal; Convert Video So I prefer use video converter to convert my audio/video OS

Convert Text Files to Audio Using Mac Terminal - Mac OS X
Convert Text Files to Audio Using Mac Terminal. Seems very easy to convert text into audio on mac just because of your Dual Boot Using OS X Boot Camp

Best Tool to Convert MP3 to M4R iPhone Ringtone on Mac OS ...
Best Tool to Convert MP3 to M4R iPhone Ringtone on Mac OS X With this MP3 to M4R converter, you may not only convert audio format into M4R ringtone,

xACT for Mac - Free download and software reviews - CNET ...
xACT will now convert Easy tool to convert .flac audio to mp3 on Mac OS X with iTunes using Now I don't have to use VPC or the terminal anymore to convert

FFmpeg for Mac? Convert Any Video on Mac OS X 10.6 or Later
it's the all-in-one tool you need to convert audio and video for Mac OS X. Try FFmpeg for Mac alternative Open the terminal and run ffmpeg to see whether it

Convert audio to ringtones using OS X Terminal Rating: 4.5 Diposkan Oleh: Nico Olivia