Playing and Recording



Audacity offers many tools which allow the user to play all or part of a sound. There are also many recording options.

Transport Toolbar
The easiest way to control Audacity playback and recording is with Transport Toolbar:
 * [[Image:Control basic7.png|Transport Toolbar showing default "ergonomic" button layout]]

This offers buttons (from left to right in the image above) for Pause, Standard Speed Play/Loop-Play, Stop, Skip to Start, Skip to End, Record/Append-Record.

Clicking Play plays from the cursor point to the end of the project, or from the start of the selection region to the end of that region.

The alternative Loop-Play action for the Play button is activated by holding SHIFT while clicking Play. The button changes to display two circular green arrows to indicate Loop-Play.

The alternative Append-Record action for the Record button is activated by holding SHIFT while clicking Record.

Clicking Play when the track is already playing or paused is a quick way to restart playback without first pressing Stop. When you get more used to Audacity, it's often easier to use keyboard shortcuts for repetitive actions like playing, pausing and recording. Below is a list of the equivalent keyboard shortcut for each of the Transport Toolbar buttons, with a description of what each button and its shortcut does.


 * {| class="prettytablerows" id="Transport_shortcuts" caption="Keyboard shortcuts for the buttons in the Transport Toolbar"

! Button!! Shortcut!! What it does
 * width="15%"|Pause|| P || Press once to pause playback or recording then once to resume.
 * Play or Stop || SPACE || Press once to start playback then once to stop. Starting playback again starts from its original starting position at the cursor.
 * Loop-Play || SHIFT + SPACE || Play the entire selection repeatedly (or the entire track if no selection) until stopped.
 * Skip to Start || HOME || Move the cursor to start of project.
 * Skip to End || END || Move the cursor to end of project.
 * Record || R || Record in a new track starting from the cursor position or start of the selection.
 * Append-Record || SHIFT + R || Record starting from the end of the selected track(s).
 * }
 * Skip to End || END || Move the cursor to end of project.
 * Record || R || Record in a new track starting from the cursor position or start of the selection.
 * Append-Record || SHIFT + R || Record starting from the end of the selected track(s).
 * }
 * Append-Record || SHIFT + R || Record starting from the end of the selected track(s).
 * }
 * }

There is an additional command which has the shortcut. This acts exactly like when starting playback, but when used to stop, the cursor or start of the selection is set to the position where playback was stopped. Using either SPACE or SHIFT + A will then start playback from that stop position.

All the above shortcuts can be changed if desired in Keyboard Preferences.

Playing at slower or faster speeds than normal
Using the Play button in Transcription Toolbar plays at a constant speed but slower or faster than normal. Envelope Tool on the Tools Toolbar, when used in conjunction with a Time Track, allows a speed envelope to be drawn which can increase or decrease playback speed over the length of the audio.

Controlling and Monitoring Playback Volume
You can adjust the playback volume using the output level slider in the Mixer Toolbar.

The playback level meter in the Meter Toolbar will show you the overall volume of all of your tracks when mixed together.

Playback Regions, Quick-Play Regions and Play Regions
The standard playback region associated with a shaded selection region in the waveform is indicated in the Timeline by a thin horizontal gray bar with arrowheads on each end. For example in the image below, a region from 9 to 31 seconds.has been drawn in the waveform, and the matching arrowed region in the Timeline also extends from 9 to 31 seconds. This region will always play once when you press or a play button.
 * [[Image:Timeline05.png|Timeline with a region of audio selected, matching the playback region (Mac image)]]

If there is only an editing cursor in the waveform, playback always starts from that cursor position and continues until the end of the project (unless you stop playback).

Whenever audio is played, a green downward-pointing triangle shows the current audio playback position. In the image below, playback starts at 9 seconds at the position of the editing cursor (represented in the Timeline by a black vertical line with left-pointing arrowhead). Playback had reached 14 seconds when the image was taken.
 * [[Image:Timeline01.png|Timeline showing standard playback from the editing cursor (Mac image)]]

There may be times when you want to move around to hear arbitrary parts of the audio while still retaining the position of the editing cursor or region in the waveform. Quick-Play lets you drag in the Timeline to play that region immediately (or lets your click to start playback at that point immediately), without moving the waveform region or cursor and without having to stop and restart playback. In the image below we dragged a Quick-Play region to play from 13 to 37 seconds. That region is indicated in the Timeline by a thick horizontal gray bar with arrowheads on each end, and playback was at 19 seconds when the image was taken.
 * [[Image:Timeline04.png|Timeline during Quick-Play after a click and drag in the Timeline (Mac image)]]

If you hear some important audio during Quick-Play you can move the waveform region or cursor to that point without affecting Quick-Play playback, but this still allows you to restart standard playback from the important spot.

On occasion you may always want to play from the exact same point or region, even if the region or cursor in the waveform is elsewhere. You can use to lock playback to the current position of the editing cursor or playback region (or to the current position of the Quick-Play region or Quick-Play cursor). The locked region or cursor is indicated in the Timeline by a thick horizontal red bar with arrowheads on each end. In the image below, playback will always occur from 13 to 28 seconds until is used to release the Play Region.
 * [[Image:Timeline06.png|Timeline showing a locked Play Region (Mac image)]]

Keyboard-and-mouse change of playback position
Another way to move the playback position to arbitrary points without stopping is to hold (or  on a Mac) then left-click in the waveform. The key to hold while clicking cannot be configured in Keyboard Preferences.



Skip playback position by specified short and long periods
These commands skip the playback cursor backwards (left) or forwards (right) by a short or long period of time. You can specify the length of the short or long period at "Seek Time when playing" in the Playback Preferences.


 * {| class="prettytablerows" id="seek" legend="Commands to skip playback position by long or short period"

! Action !! Shortcut
 * Short seek backwards || LEFT or
 * Short seek forwards || RIGHT or
 * Long seek backwards || SHIFT+LEFT or
 * Long seek forwards || SHIFT+RIGHT or
 * }
 * Long seek backwards || SHIFT+LEFT or
 * Long seek forwards || SHIFT+RIGHT or
 * }
 * }

Play relative to mouse pointer or selection
These are three keyboard commands that let you play a few seconds of audio without changing the selection. They can be really useful during editing, such as when you're trying to find the exact spot to cut and paste.


 * {| class="prettytablerows" id="extra_keyboard_commands" legend="Commands to play relative to pointer or selection"

! Action !! Shortcut
 * Play One Second || 1
 * Play To Selection || B
 * Play Cut Preview || C
 * }
 * Play Cut Preview || C
 * }
 * }



Play One Second ( 1 )
Press 1 while the mouse is pointing to a particular point on the Timeline, and you will hear one second of audio centered on that time. The mouse does not need to be over the waveform itself, and the pointer can be inside a selection, so giving you a way to play one second of that selection, centered on the pointer. For example, position the mouse at 1.0 seconds and press 1, and you will hear the time range from 0.5 to 1.5 seconds (below).
 * [[Image:PlayCutPreview2.png|Press the 1 key to play one second around the pointer position]]



Play To Selection ( B )

 * [[Image:PlayCutPreview9.png|An example of a selection.]]

Suppose you've selected a range of audio (above), and you want to make sure it's exactly what you want to cut out. In order to determine whether you've selected exactly the right range of audio, you can not only listen to the selection, but you can position the mouse pointer so as to listen to any desired length of audio before or after the selection.

If you press, you'll hear the whole selection (indicated by the playback region shown in the Timeline) (below).
 * [[Image:PlayCutPreview8.png|Press SPACE to hear the whole selection.]]

The "B" key lets you play the audio between the mouse pointer and the selection - what you hear depends on where the mouse pointer is. Move the mouse to a part of the audio you're interested in hearing, and press B, without clicking the mouse button (the first through the fourth images below).

If the mouse pointer is to the left of the selection and you press B, you'll hear the audio up to the selection.
 * [[Image:PlayCutPreview4.png|audio up to the selection]]

If the mouse pointer is inside the left side of the selection and you press B, you'll hear the first part of the selection up to the mouse pointer.
 * [[Image:PlayCutPreview5.png|the first part of the selection up to the mouse pointer]]

If the mouse pointer is inside the right side of the selection and you press B, you'll hear from the mouse pointer to the end of the selection.
 * [[Image:PlayCutPreview6.png|from the mouse pointer to the end of the selection]]

Finally if the mouse pointer is to the right of the selection and you press B, you'll hear from the selection to the mouse pointer.
 * [[Image:PlayCutPreview7.png|from the selection to the mouse pointer]]

works in the same way to play to the cursor when there is no selection. If you place the pointer before the cursor, plays from the pointer to the cursor. If you place the cursor after the pointer, plays from the cursor to the pointer.



Play Cut Preview ( C )
Press the C key to hear by default two seconds of audio before the selection and then one second of audio after the selection - thus simulating what playback would sound like if the selection was deleted. You can change the length of the audio that is played before and after the selection in Playback Preferences.

In the image below, our selection started at 1.0 seconds. played the two seconds of audio represented by the overlaid orange arrows. There was only only one second of audio between the start of the track and the selection, so only that was played rather than two seconds, then this was followed immediately by the specified one second after the selection.
 * [[Image:PlayCutPreview10.png|Playing Cut Preview, the available one second before the selection then one second after the selection]]

You may customize almost all keyboard shortcuts! Change them using the Keyboard tab of Preferences.

Setting Up

 * 1) Connect your input source to your computer and verify that you are getting sound into your computer using your computer's sound input control panel or the custom mixer application that came with your particular sound card.
 * 2) Tell Audacity which source you have selected to record from.
 * 3) Set the recording level using the input slider on the Mixer Toolbar while watching the indications in the recording level meter on the Meter Toolbar. Try to aim for a maximum peak of around –6.0 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.

To listen to what you are recording you have two options. Alternatively, if you are using an external sound card or mixer you may be able to monitor the signal directly from that device.
 * 1) If you computer's sound control panel supports sending the audio input to the computer's audio output then make this setting there.
 * 2) If that is not possible, click on Transport > Software Playthrough (on/off) so that it is checked.

For further information on setting up see: Audacity Setup and Configuration.

Detailed step by step instructions for setting up for recording are provided in the Your First Recording and the Copying tapes, LPs or MiniDiscs tutorials.

Recording a New Track
Every time you click the Record button on the Transport Toolbar Audacity will create a new track and begin recording on that track from the current cursor position. There is no need to create a new track before starting to record. If you want recording to start from the beginning of the new track, click the "Skip to Start" button on the Transport Toolbar.

Continuing Recording on an Existing Track
If you want to continue recording on an existing track instead of starting a new track you have two options.
 * 1) Instead of clicking the Stop button to end recording, click the Pause button to pause recording. Click the Pause button again to continue recording.
 * 2) Select the track you want add the recording to and, while holding down the SHIFT key, click the Record button. This is called "Append Record".

Overdubbing
You can record a new track while listening to previously recorded tracks. This is called overdubbing. To set up for overdubbing, make sure that "Overdub (on/off)" is checked in the Transport Menu.

Timer Recording
Yet another way to record is using the Timer Record dialog, found in the Transport Menu.
 * [[Image:TR setup.png|The Timer Record dialog]]

Use it to start recording later, or to record for a certain duration before stopping.