Tutorial - Making Ringtones



Most modern cell phones can be customized with the user's own ring and answer tones. This tutorial will help you to prepare suitable sound files. Many different kinds of file formats are used in cell phones, some of which cannot be created by Audacity. You need to research what file format(s) your phone accepts and how to upload it to the phone before you start to prepare the sound file. See our advice below and always consult your phone manual if in doubt.

Choose the ringtone source
The source for your ringtone will most likely be an audio file on your computer. Click File > Import > Audio, select the file you want and click. Audacity can import MP3, MP2, WAV, AIFF, OGG and FLAC files (and MP4 files on Mac OS X) without additional libraries.

To import other file types (including MP4 on Windows and Linux) you can install the optional FFmpeg library. On Linux it may sometimes be more convenient to use the system FFmpeg or mplayer at the command-line to convert other file types to 16-bit 44100 Hz WAV before importing the file into Audacity. Ed 5April12: "Audacity can import MP3, WAV, AIFF, OGG and FLAC files." could be misleading; as I understand it, Audacity requires optional external libraries to open one or more of these types. Maybe: "Audacity can import WAV, XXX, YYY and ZZZ; with the optional external library ABC it can also import NNN and MMM; with the optional external library DEF it can also import ..." Alternatively, you can play any audio file on your computer (including purchased files), a CD, or any other sound on your computer including sounds playing over the internet, and record the sound. This is not the highest quality way to grab the sound from a CD or from a purchased file, but it is probably adequate for making a ringtone as quality often needs to be compromised in a ringtone to make the file size smaller. If you want to grab a perfect digital copy of the CD track, or you cannot record it easily, extract it digitally to WAV or .AIFF as described at Importing data from CDs. To make a perfect copy of a purchased file, burn it to an audio CD in the application licensed to play it, then extract the CD track in the same way.
 * Gale 23Dec13: No, importing MP3, WAV, AIFF, OGG and FLAC does not require external libraries. See http://manual.audacityteam.org/man/FAQ:Opening_and_Saving_Files#foreign.

Edit your ringtone

 * 1) Click File > Import > Audio and import your source file; this can be any audio file Audacity can open.
 * 2) Select the portion of audio you want to use for your ringtone (say 15-20 seconds). To do this, click in the audio track and drag a selection area to left or right with your mouse - you can see the length of the selected audio in the Timeline above the track. Many phones will loop the ringtone automatically (repeat it over and over), so choose your selection area with that in mind. To hear your selection play looped in Audacity hold down while clicking the green Play button [[Image:Play.png|link=|The Play button]] or use the  keyboard shortcut. To stop playback, press the  or click the yellow Stop button [[Image:Stop.png|link=|The Stop button]].
 * 3) Click Edit > Remove Audio or Labels > Trim Audio ; this will remove the rest of the audio, leaving only the section you have selected. If you want to use the whole file, then skip this step.
 * 4) Add any effects you may want to the ringtone by clicking in the Track Control Panel where the mute/solo buttons are to select all the track (you may also use the Edit menu or a keyboard shortcut), then choose from the Effect menu. Be sparing with effects, but two you may want to consider are:

Equalization
Many phone speakers cannot reproduce very low frequencies so consider attenuating them (a gradual reduction in the amplitude of the sound level), especially if you are making a ringtone from an original high quality music file. On opening Effect > Equalization you'll notice a horizontal line at 0 dB, meaning that at that position, no changes are made to the volume of any frequencies. A curve can be created using the mouse, clicking at various points above or below the line. For ringtones, bring the line down to -24 dB on the vertical axis for the low frequencies from 30-300 Hz on the horizontal axis. You may want to increase the lower frequencies from 300 Hz to say 600 Hz by dragging them above 0 dB, then reduce the highest frequencies above say 10,000 Hz. This should make the sound somewhat richer and less "tinny" on a small cellphone speaker by emphasizing the frequency range it can reproduce best.

You can view the sound level in the different frequency bands in your ringtone by clicking Analyze > Plot Spectrum. Here is an example spectrum plot from Audacity 2.x for the Nokia original ringtone Hummingbird.aac (47 kbps, 22050Hz, SBR+PS, Mono) converted to WAV (Mono, 22050Hz, 16 bits). This ringtone is quite acute so you can hear the phone from far, something that is essential for a well-made ringtone.


 * [[File:Hummingbird wav nokia frecuency analysis.png]]

Compressor
Using the Compressor will reduce the difference between high and low volume which allows you to make the ringtone louder overall. This suits small cellphone speakers which may not be able to handle large changes in dynamic range. You'll probably want to move the Ratio slider to right of its default setting of 2:1 to give stronger compression.

Hard Limiter
Instead of Compressor you can try Hard Limiter to reduce the dynamic range by clipping the maximum volume down to -3 dB. Set the Hard Limiter to a "dB limit" of -3 dB, "Wet Level" to 1.0 and "Residue Level" to 0.0. Now, just the same as when you amplify to -3 dB after compression, you will get no signal above -3 dB, but you will get a more extreme reduction in dynamic range than with compressor. There is a risk of harsh sound when using Hard Limiter to clip the maximum volume. If the result sounds distorted during loud parts, try raising the "Residue level".

What type of file does your phone require?
You need to check what type of file format your phone requires for its ringtones and whether the file needs to be mono or stereo.

Ringtone formats
There are many different ringtone formats in existence but they fall into three main categories:
 * Monophonic - just one note at a time, usually RTTL format. If you want a ringtone in this format it's often easiest to simply use the phone's keypad to enter it if the phone supports that.
 * Polyphonic - multiple notes at the same time; some phones can play true MIDI files, others rely on sp-midi or .mmf formats.
 * Music ring tones - digitally sampled audio files including MP3 and WAV formats supported by Audacity, plus other formats like AMR and QCP.

Most modern phones will support polyphonic ringtones. Phones supporting music ringtones tend to be more expensive models or PDA phones combining a handheld computer.

Convert stereo to mono
Irrespective of the required file format many phones will want mono ringtone files. If the track you are editing is stereo the next step is to convert it to mono.

To convert from stereo to mono click in the Track Control Panel to select the audio, press the keyboard shortcut (or  on a Mac) or select the  menu item, then select the  menu item which mixes in data from both channels to mono without distortion.

Export the file from Audacity
The following instructions show you how to export your custom ringtone from Audacity. If your phone needs an MP3 skip to here; if it needs some other format skip to here.

WAV (Microsoft) Bit depth: 8-bit; Sample Rate: 8000 Hz; Channels: 1 (mono)
This is an example of exporting an uncompressed but small size WAV file specific to a particular type of phone. The low sample rate of 8000 Hz means that the file will not contain frequencies higher than 4000 Hz, so this file may not give the best results on other phones that have more capable speakers.

The following Motorola Sprint Nextel cellphones:

i265, i275, i405, i450, i560, i710, 730, 750, 760, 830, i833, i836 ,850, 860, i870, i930

require ringtones to be 8-bit 8000 Hz mono WAV files. If your phone has the same requirements as this, the instructions below should work for your phone.

If the only information you have is that the WAV needs to have a bit rate of 64 kbps, these instructions will also probably work for your phone, because in a WAV file the bit rate is always the (bit depth) multiplied by the (sample rate), multiplied by the (number of channels) so the WAV in our example is (8 * 8 * 1) = 64 kbps.

If your phone requires WAV files with slightly different characteristics than these you can adjust the instructions below appropriately. It's assumed you've already made the track mono as per the instructions above.
 * 1) Look at the Project Rate control on the Selection Toolbar (by default at bottom left of the Audacity Project window); if it is already showing "8000", skip to Step 2 below; otherwise, select the "8000" option from the dropdown menu. If there isn't an 8000 (Hz) option, select "Other ..." and type 8000 in the box that pops up (in Audacity 2.x select and type over the existing value).
 * 2) Select menu item, in the "Export File" dialog choose other uncompressed files from the "Save as type" dropdown, then enter a file name. Click , a dialog will open. In the "Header" dropdown, select "WAV (Microsoft)" and in the "Encoding" dropdown choose "Unsigned 8 bit PCM"; click OK then . If the Metadata Editor pops up at any stage just click ; metadata tags are not needed for WAV files in mobile phones.

WAV (Microsoft) Bit depth: 16-bits Sample Rate: 44100 Hz; Channels: 1 (mono) or 2 (stereo)
Select "WAV (Microsoft) signed 16 bit PCM". There are no options for this format.

For more automated creation of 16-bit 44100 Hz WAV ringtones you can also try Sharetones (a free program based on Audacity) rather than Audacity itself.

Bit Rate: 32 kbps; Sample Rate: 8000 Hz; Channels: 1 (mono)
As an example of a phone requiring an MP3 ringtone, the Motorola i580 requires MP3 files at 32 kbps, 8000 Hz mono.

If your phone has these same requirements this should also work for you; if your phone requires MP3 files with slightly different characteristics you can adjust the tutorial instructions below appropriately. It's assumed you've already made the file mono as per the instructions above.
 * 1) If you have not already done so download the LAME MP3 encoder to your computer and tell Audacity where to find it; instructions on doing this are here.
 * 2) Look at the Project Rate control on the Selection Toolbar (by default at bottom left of the Audacity Project window); if it is already showing "8000", skip to Step 3 below; otherwise, select the "8000" option from the dropdown menu. If there isn't an 8000 (Hz) option, select "Other ..." and type 8000 in the box that pops up (in Audacity 2.x, select and type over the existing value).
 * 3) Select menu item, in the "Export Audio File" dialog, choose MP3 Files from the "Save as type" dropdown, then enter file name. Click Options, a dialog will open. Set the Bit Rate Mode to Constant; in the "Quality" dropdown select "32 kbps"; set "Channel Mode" to "Stereo" - a single-channel (mono) file will still be produced if your Audacity track is stereo; click then click.

You may want to add ID3 metadata tags to your MP3. Use Audacity's Metadata Editor for this; enter any tags you require (or none) and click  (if the tag editor does not appear select menu item ).

Phones requiring other formats
If your phone requires files in other than WAV or MP3 format the best course after editing the file is to export it as a mono, 16-bit 44100 Hz PCM WAV file, then convert that WAV to the required format with an appropriate conversion program below.

Hint: If you add the optional FFmpeg library to your computer, you can export directly from Audacity to some additional mobile phone formats: AMR (narrow band), GSM 6.10 WAV (mobile), M4A (AAC) and M4R (AAC) (for M4R, add .m4r after the file name when you export). Steps:
 * 1) Set the required sample rate in the Project Rate control on the Selection Toolbar (by default at bottom left of the Audacity Project window).
 * 2) Select menu item.
 * 3) Enter and  any metadata required.
 * 4) Choose the format in the "Save as type" dropdown.
 * 5) If required, click  to set the AAC bit rate, then
 * 6) Click.

To export to 44 100 Hz 16-bit PCM WAV:

 * 1) If required, convert the stereo track to mono.
 * 2) Look at the Project Rate control on the Selection Toolbar (by default at bottom left of the Audacity Project window); if it is already showing "44100" skip to Step 2 below. Otherwise, select the "44100" option from the dropdown menu; if there isn't a 44100 (Hz) option select Other ... and type 44100 in the box that pops up (in Audacity 2.x select and type over the existing value).
 * 3) Select menu item ; in the "Export File" dialog choose WAV (Microsoft) signed 16 bit PCM in the "Save as type" dropdown, then enter a file. Click then click . If the Metadata Editor pops up at any stage, click .  Metadata tags are not needed for WAV files in mobile phones.



Sharetones software for 16-bit 44100 Hz WAV Ringtones
If your phone will accept 16-bit 44100 Hz mono or stereo WAV files than you could try Sharetones for Windows by DJ Nitrogen. This is free software based on the Audacity engine and licensed under the GPL version 2. You can make ringtones from MP3 or AAC files on your computer if they are free from DRM.

Sharetones automatically applies a fade-in and fade-out to the ringtone, though you can also use some of the other effects familiar to Audacity users. By default, the ringtone produced is 20 seconds long, but you can choose up to 30 seconds for your tone. When you press, the processed ringtone is saved in a "Ringtones" folder inside the following folder.
 * Windows 2000/XP: Documents and Settings\ \Application Data\DJ Nitrogen\
 * Windows Vista/Windows 7/Windows 8: Users\ \AppData\Roaming\DJ Nitrogen\

Uploading your ringtone to your phone
Once you have exported your file and converted it to another format if necessary, you would typically transfer the file to your cellphone in one of the following ways:


 * via a USB cable
 * via a wireless Bluetooth connection
 * connect a Card Reader (typically USB connected) to your computer then write the ringtone to flash memory storage, for example to a Secure Digital (SD) card which can be used in the phone
 * upload it via the internet (e.g. to a web site, from which you can then download it to your phone). There is a free web service Myxer that allows you to upload MP3, WAV, M4A or WMA files to their site. They then send a text message to your phone with a link to the ringtone, and you download it from the link using your phone's browser.

As an alternative, Mobile Ringtone Converter for Windows includes a Web and WAP (Wireless Application Protocol) server to which you connect with your phone's browser.

Note that some cellphones and mobile service providers do not allow the user to download customized free ringtones to the phone. See this page for guidance. If in doubt, always look at the manual for your phone for advice on downloading ringtones.