Tutorial - Your First Recording
From Audacity Development Manual
ToDo-2 This needs a serious review. It is long (too long?), but at the same time glosses over many issues in Step 2. If we expand Audacity Setup and Configuration then a lot of this page could go away.
Step 1: Plug in your input source
Identifying the sound ports on your computer
First of all you need to know the sound input capabilities of your computer. Most desktop PCs (Windows and Linux) will have sound ports on the back of the computer similar to these illustrations.
|The rear of a typical PC||The color-coded jacks on the sound card|
The red port is normally the microphone input, and is usually mono but might be stereo. The blue port is normally the line input port and is usually stereo. The green port is normally the headphone output port, also usually stereo. Check your computer manual to be sure.
PC laptops vary widely in the types of sound input and output ports they provide, where they are on the laptop, and how they are labelled. Again, check your computer manual to be sure of the capabilities of your laptop, where the ports are and how they are labelled.
Macs do not generally have a microphone input port.
|Audio connections on a PowerBook||Audio connections on an iMac|
In these illustrations of sound ports on Macs, the round port with the headphone symbol is the Line Output port. The round port beside the headphone port is the line input port.
Other Macs (Mini, Mac Pro, MacBook and MacBook Pro) are similarly equipped. Check your manual for the locations and labelling of these ports.
Identifying various cables and plugs
The terms "jack", "socket" and "port" are often used interchangeably. These all refer to something that a plug plugs into. Plugs plug into jacks, plugs plug into sockets, and plugs plug into ports.
In this tutorial we will refer to sockets on a computer as ports, and sockets on audio equipment as jacks. This is consistent with common usage. A guitarist will plug into the jack on their amplifier, a computer user will plug their USB device into the USB port on their computer.
On virtually all computers the audio ports will be of a type referred to as 1/8", 3.5mm or mini-plug. Here's what these plugs look like.
|A mono mini-plug||A stereo mini-plug|
Audio equipment may also use mini-jacks. Quite often the headphone output on portable equipment such as an iPod or Walkman will be a stereo mini-jack.
Audio equipment may also use the larger 1/4" jacks and plugs.
|A mono 1/4" plug||A stereo 1/4" plug|
Stereo 1/4" jacks are often found on the front panels of non-portable (home) audio equipment such as home theatre receivers and cassette decks. They may also be found on DJ mixers and professional keyboards.
Electric guitars and amplifiers are equipped with 1/4" mono jacks.
Tip, Ring and Sleeve
The parts of a stereo or mono plug, either 1/8" or 1/4", are identified by the terms "tip", "ring" and "sleeve" as shown in the illustration above. A mono plug has no ring. Thus you may encounter the terms "TRS plug" or "TRS jack". In stereo operation the tip connects to the left channel signal, the ring to the right channel signal, and the sleeve to ground.
Connecting a microphone to your computer
If your computer has a microphone input port
You're all set. Just plug a compatible microphone into the microphone input port on your computer.
What do we mean by compatible? Any microphone with a permanently attached cord that ends in a mini-plug should work. Note that many sound cards provide battery voltage for mono electret microphones on the ring of a stereo mini-plug. Check your computer manual to be sure if this feature is provided. If it is, be sure to use a microphone that is designed to accommodate this.
A computer headset-mic combination is pretty much guaranteed to work. These microphones are not the highest quality, but can be had fairly inexpensively. If you're just getting started and want to experiment without spending a lot of money, one of these would be a good choice. Just don't be surprised if your recorded voice sounds a bit tinny or flat.
Desktop-standing microphones can be had for at little as $10 or as much as $500. Choosing a microphone is beyond the scope of this tutorial. Try searching the web for "computer microphones", visit your local computer store, talk to your friends, or ask questions on the Audacity Forum.
Unless you are prepared to spend extra money for a microphone pre-amp or standalone mixer do not buy a microphone with an XLR connector:
|An XLR plug|
If your computer does not have a microphone input port
Do not plug a microphone into the line input port on your computer. The volume will be way too low (the line input port does not apply the needed amplification to boost the very quiet signal from the microphone). You won't break anything, but you will be very frustrated with the results.
Option 1 - Buy a microphone to USB adapter
These devices plug into a USB port on your computer, and have a microphone input jack (usually 1/8").
You will still need a compatible microphone. Be sure to carefully read the specifications of any adapter you are considering and make sure you get a microphone that will work with that interface.
Option 2 - Buy a USB microphone
These microphones are becoming more common. They combine a microphone and the USB adapter all in one package.
Models are available by Logitech, Samson, Nady and Audio-technica, among others.
Option 3 - Buy a mixer
This may be the most expensive option but in the long run will provide the most flexibility.
Any inexpensive DJ mixer should include a microphone input. The electronics in the mixer will boost the microphone signal, and the output of the mixer will be connected to the line in port on your computer. The DJ mixer will also have inputs for turntables so you can use it record your LPs in preparation for converting them to CD. The DJ mixer will most likely have line level inputs as well, so you could connect a cassette deck or other line level source to the mixer.
Another option is a small inexpensive microphone and line level mixer. Note that these mixers do not usually include inputs for turntables.
When purchasing a mixer make sure to also buy a microphone that is compatible with the mixer. Unless you are sure of what you are doing it is probably best to visit your local music store. Don't let them sell you a $1000 DJ mixer and $500 microphone - unless you are a professional DJ you don't need equipment at that level.
The advantage of a mixer is that you can connect all your audio sources to the mixer then connect the mixer to your computer. No need to be constantly re-plugging things at the back of your computer.
To connect the mixer to your computer you will need a dual-RCA to stereo mini-plug cable like this one:
|Dual-RCA to mini-plug cable|
Plug the RCA plugs into the RCA output jacks on the back of the mixer. Plug the stereo mini-plug into the line input port on your computer.
Connecting a keyboard to your computer
If the keyboard has RCA jacks on the back then the best way to connect it is with a cable with a dual RCA to stereo mini-plug cable as shown above, plugged from the RCA output jacks on the back of the keyboard to the line input port of the computer.
If the keyboard doesn't have RCA output jacks but does have a 1/8" stereo headphone jack, the easiest way to connect it is with a cable with a stereo mini-plug on each end, plugged from the headphone output of the keyboard to the line input port of the computer.
If the keyboard has 1/4" jacks on the back (usually provided to connect the keyboard to a guitar amplifier) you will need to create an adapter cable using a dual RCA to stereo mini-plug cable, and two RCA to 1/4" adapters.
|An RCA to 1/4" adapter|
Plug the RCA plugs into the RCA jacks on the adapters - you now have a dual 1/4" to stereo mini-plug cable.
Connecting a guitar to your computer
Generally the output level from an electric guitar is sufficient to drive the line input port on a computer. You will need an adapter cable that goes from a 1/4" mono plug (to plug into the guitar) to a mono mini-plug (to plug into the computer line input port).
You probably have a guitar cable for plugging the guitar into an amp, and you may be tempted to buy a 1/4" to 1/8" adapter, plug one end of your guitar cable into the adapter and then plug the adapter into the line input port - don't do this! This creates a heavy, stiff cable hanging off the back of your computer - the slightest tug in the wrong direction could damage your sound card! A better solution is to find a 1/4" mono to 1/8" mono shielded cable that is light and flexible.
Testing your input connection
Before you fire up Audacity you should use your computer's sound control panel to choose the sound input that you want Audacity to hear. Once you have verified that you are getting sound into the computer you can move on to getting that sound into Audacity.
If you are having trouble getting sound into Audacity there's lots of help available on the Audacity Wiki.
- Go to System Preferences > Hardware > Sound
- Click on the Input tab
- Click on the device you want to use for sound input
- Choose Line In if you have plugged into the line input port on your Mac
- Choose the name of the USB audio device if you are using that
- Talk into the microphone, play the keyboard, etc. and watch the "Input Level" meter - adjust the "Input Volume" so that most of the blue bars light up during the loudest bits.
Windows ///help needed from a Windows user///
Linux ///help needed from a Linux user///
Step 2: Configure Audacity to record from that device
Now that you know you're getting sound into the computer, it's time to fire up Audacity.
The Device toolbar is displayed by default in a new installation of Audacity. If the Device toolbar is not visible, click on.
You may want to expand the size of the Device toobar by dragging right on the drag handle.
Make sure that the device you selected in your computer's sound control panel corresponds to what is displayed in the Input Device drop-down menu - if not, click the Input Device drop-down menu and the select the option that corresponds to the setting you made in your computer's sound control panel. In the Input Channels drop-down menu choose whether you want to record in mono (1 channel) or stereo (2 channels). In general if you are recording a microphone or guitar you will want to record in mono. If you are recording a keyboard and the keyboard has stereo outputs you will want to record in stereo. For the sake of this tutorial though, we assume that you have set the Input Channels drop-down menu to mono.
Now click on the Transport menu and, if you are recording from a microphone, make sure that "Software Playthrough" is not checked - Software Playthrough will cause undesirable feedback from the computer speakers to the microphone. If you are recording a guitar or keyboard and want to hear the instrument through the computer speakers, make sure that "Software Playthrough" is checked.
Gale 05 April 2011: I'm not really sure what the answers to all the below are, but I think it might be easier to use a scheme like http://wiki.audacityteam.org/wiki/Troubleshooting_Recordings#silence (obviously with 1.2 stuff removed) rather than tie everyone up with listening for the input in the control panel first. XP users will rarely need to do that, and as it is now, we don't tell the users on any platform where the control panel is or what to do there, beyond the Wiki link.
Bill: Next, input source from Meter toolbar - though note that this is less and less necessary these days. (Is the input device on the toolbar yet? If so, the Preferences may not be necessary!)
The question was asked (above - I've cut it to here): what do you do if you can't make them (the devices chosen in your OS's sound control panel and the choices in Preferences > Devices) match? This should, in theory, be impossible. As I understand it, these menus are populated with choices that Audacity gets by querying the OS. If it's not possible, you've got a serious problem.
Second, the choices offered in the Device Toolbar are similar to those offered in the Preferences > Devices panel but leave out the option of the number of channels to use for recording. Also, the 'Host' selection is only available from Preferences > Devices. So the Devices Toolbar is not a substitute for the Devices prefs panel.
Third, taking an example from my system: on OSX 10.5, if I select "Line In" in System Preferences > Sound, then in Audacity Preferences > Devices > Recording the corresponding choice is "Built in audio" - so the choices don't, in fact, "match". Thus I've changed "match" to "corresponds to" in the second paragraph of this section. In the Devices Toolbar, my only choice for recording is "Core Audio: Built In Audio". But in the Mixer Toolbar my choices are "Line In" and "Digital In".
Finally, if I make changes in Audacity's Devices toolbar these are not reflected in the OSX Sound control panel. But if I change "Line Input" to "Digital Input" in Audacity's Mixer Toolbar, this change is reflected in the OSX Sound control panel!
My point is this - if things are this complex with OSX where it's pretty standard across all Macs, how bad can it be with Windows and Linux with their myriad sound cards and drivers? Do we want to step into this quagmire at all? I think we are left with the basic steps of 1) get sound into your computer using your OS sound control panel and 2) get that sound into Audacity. If you're having problems consult the wiki or the forum.
Step 3: Set levels and do a test recording
Click on the downward pointing arrow beside the microphone symbol under the recording VU meters and select "Start Monitoring".
Talk or play at a normal volume and watch the recording VU meter.
Adjust the recording volume with the recording level control.
Note that if you are using a USB microphone or USB microphone adapter the recording volume control may have no effect (and the input selector above may be missing because there aren't multiple inputs to choose from). If you cannot get a "good" reading on the recording meter (doesn't get close to the right edge - too quiet; or goes all the way to the right edge - too loud), go back to your system sound control panel and adjust the volume there.
You are now ready to do a test recording.
Have a look at the recorded waveform - there should be no clipping visible. Clipping is bad - this is when the volume of the source that was sent to Audacity is louder than Audacity can record. The result is that the tops and bottoms of the recorded wave are chopped off ("clipped"). The illustrations below show a properly-recorded waveform and a clipped waveform. Note that these images from Audacity show the waveform when zoomed in - the total time displayed is about 0.004 seconds!
Gale: 02 Mar 11 I think images from Audacity itself, explaining these are when zoomed in, would be less confusing than the below images.
Bill 02Apr11: Like this?
A properly recorded waveform A clipped waveform
You can also check for clipping by clicking on. Audacity will display vertical red bars in the waveform wherever it detects clipping.
Click onto remove the test recording.
If clipping occurred turn down the recording level a bit and try again. If no clipping occurred you are ready for the real thing! Try to aim for a maximum peak of around –6dB dB (or 0.5 if you have your meters set to linear rather than dB).
Tip: enlarging the Meter Toolbar by clicking and dragging helps with this task.
Step 4: Record for real this time
Click the red Record button in the Transport Control toolbar then begin talking or playing. Continue for as long as you want. When you feel you've recorded enough, click the Stop button.
Step 5: Remove any DC offset (if present)
DC offset can occur at the recording stage so that the recorded waveform is not centered on the horizontal line at 0.0 amplitude. This can be caused if you have a faulty soundcard. If this is the case with your recording use the Normalize effect to remove any DC offset. Put a check mark in "Remove any DC offset..." but leave "Normalize maximum amplitude..." unchecked.
Step 6: Edit Recording
You now have a good recording, but there are likely some bits at the beginning and end that you don't need - between the time you clicked the Record button and the time you starting talking or playing, and between the time you stopped talking or playing and the time you clicked the Stop button.
- Click the Skip to Start button in the Control toolbar
- Repeatedly click the Zoom In button until the displayed waveform expands so you can see from the beginning of the recording to the time you started talking or playing
- With the Selection tool, click just before the point where you started talking or playing
- Click on
- The region from the beginning of the track to the beginning of your performance is selected
- Click on
- The selected audio is removed from the track, and the rest of the audio moves left to fill the space left after the delete.
Similarly, you can delete the extra bit from the end of your recording.
- Click the Skip to End button in the Control Toolbar
- Repeatedly click the Zoom In button until the displayed waveform expands so you can see from the time you stopped talking or playing to the end of the recording
- With the Selection tool, click just after the point where you stopped talking or playing
- Click on
- The region from the end of your performance to the end of the track is selected
- Click on
- The selected audio is removed from the track
If you've made any mistakes in your performance you could edit them out. Use the Selection Tool to select each mistake and press the delete key. Listen back to each edit to make sure it sounds natural. If not, click onand try again.
Since you were so careful not to record too loud it is likely that your recording is not as loud as possible. To correct this you can use the Amplify choice in the Effect Menu.
- Click on
- The entire track is selected
- You need to have some audio selected before you can apply an effect
- Click on
- The Amplify dialog appears
- Accept (for now) the default choices in this dialog and click the "OK" button
- The volume of your recording is maximized.
Note that Amplify will retains any volume differences between channels of a stereo track. If you need to remove any unintended volume differences between the left and right channels (i.e. the recording is not balanced correctly) that can often occur with basic equipment you will need to use Click Removal. For more information about the difference between the Amplify and Normalize effects see this page on the wiki.instead. One problem can be that a loud click in one channel can cause Normalize to create an unwanted change in the stereo balance. In that case you should consider removing the click before the Normalize step, using
Step 7: Save and Export
Click on, choose a name for your project and a place to save it.
You have now saved an Audacity Project to disk. The project file (ending in .aup) can only be opened by Audacity. You can come back to the project and make changes to it later. For example you could do more editing, record more audio, or apply other effects.
In order to listen to your performance in other audio software (such as iTunes or Windows Media Player), or to burn it to CD, you need to export your project.
If you want to export your project the details are at File Menu > Export...
Where to go from here
Congratulations! You have successfully recorded, edited and saved your first recording.
Take some time to play with Audacity. Record and edit more stuff. Practice editing. Try out different effects.
For more information
- Getting sound into Audacity: Audacity Wiki - Troubleshooting Recordings
- Improving Recording Quality: Audacity Wiki - Improving Recording Quality
- Editing a track: Edit Menu, Zooming
- Effects: Effect Menu
- Saving: Audacity Projects
- Exporting: File Menu > Export...
If you need help and can't find it in the manual or the wiki, try visiting the Audacity Forum.