Envelope Tool

From Audacity Development Manual
Jump to: navigation, search
In Audacity, every track has an "amplitude envelope" which is controlled with the Envelope Tool on the Tools Toolbar.

An amplitude envelope just means that you can control a track's volume changes smoothly over time. People in the recording industry sometimes call this technique volume automation, because in a recording studio you would typically change the volume of tracks by moving volume sliders up and down, and fancy mixing boards had the ability to remember your movements and automate them from then on. Manipulating a track's amplitude envelope in Audacity is similar, except that Envelope Tool is used to create and manipulate "control points" at various points in the track. The control points then determine its volume changes over time.

Envelope tool is unavailable while paused.

Alert Note carefully that there is a bug whereby when using some effects on tracks that have envelopes, then the envelope is removed and the audio reverts to its full amplitude state prior to the effect being applied.
  • Notable among these are the filters and the EQ effects.
  • The workaround is to apply the envelope prior by using Mix and Render prior to using the problem effect.
  • Please see below for a list of the effects that this bug impacts.
Selection tool for selecting audio before modifying it.Envelope tool for modifying loudness of audio.Draw tool for changing the values of individual samples.Multi-Tool combines the actions of all five tools.ToolsToolbarEnvelope.png

The image above shows the Tools Toolbar with the Envelope Tool selected.

  • Click on this link to learn more about the Tools Toolbar.
  • Click on other tools in the image to learn more about those tools.
Advice Selection Tool will always be selected upon reopening Audacity, irrespective of which of the separate tools was selected when you quit.


Envelope Tool

When you select Envelope Tool Envelope Tool button from the Tools Toolbar, your track, which normally looks like this:

Envelope0.png

now has a thick blue border at the top and bottom of the waveform, like this:

Envelope1.png

Control Points

An amplitude envelope is manipulated by a number of control points. Each control point is visible by its four handles (the small circles in the image below), by which you can drag the point up or down to control the volume level.

Dragging either the top or bottom handle ensures you can never distort the track by dragging outside its original volume envelope. Dragging an inner handle allows you to amplify a quiet piece of audio beyond the original volume envelope of the track.

Here's an example of an amplitude envelope applied to the track. The volume is made to diminish slowly and then to grow again much faster (note the much steeper slope of the blue line). The volume is directly proportional to the height of the waveform - the smaller you make the waveform, the quieter it will sound:

Envelope4.png
Note that the lines connecting the control points are not straight (unless viewed in Waveform (dB) view). Control points define the end points of an exponential curve. Thus it is not generally possible to use the Envelope tool to fade an audio selection to or from zero amplitude. To achieve this, use one of the fade effects.

Adding Control Points

Just click the mouse button anywhere in a track to create a new control point.

Envelope2.png

The entire track follows your new control point until you add another one. Click in a different spot to add a new control point.

Envelope3.png

The audio will always change smoothly between each control point, so you only need to add as many as are necessary. You can click in either the top or bottom half of a track to create a new point. If you have a stereo track, the same envelope will apply to both channels.

If you want to place a new control point very near an existing one, Audacity might get confused and try to move the existing one rather than create a new one. It's sometimes easier to click farther away from the existing one and then drag it closer.

Editing Control Points

To adjust a control point, click on the control point and drag it while holding down the left mouse key. In the case of a control point at the end of an audio clip, it can be easier to "grab" the point by clicking slightly to the left of the control point as the click must be within the audio clip. It is not possible to drag a control point past another control point.

Removing control points

To remove a control point, click on any one of its control points and drag it outside the track. Remember, you can also use Edit > Undo to undo your envelope changes in sequence.

Extra amplification

If you are amplifying a quiet passage, you can amplify outside the original volume envelope of the track by grabbing either of the inner control points. When you do this, Audacity cannot display the full shape of the envelope, and changes the border to a dotted line in the affected area:

Envelope5.png

However you can make the extended amplitude envelope visible by zooming out vertically.

Envelope6.png

Track gain control

Totally separate from the amplitude envelope, each track has a gain slider in its Track Control Panel (the slider is just underneath the Mute or Solo buttons). This adjusts the volume of the whole track, like Effect > Amplify can do, but without modifying the waveform itself. Therefore you do not have to use Envelope Tool to adjust the overall volume of a track - use it to specify changes in volume through the course of the track, then you can make fine adjustments to the overall volume with the gain slider.

Rendering envelope changes

A lot of volume changes can make a track more cumbersome to work with, so sometimes when you are sure you have got them right, you may want to replace the original track and its control points with a new track that has the envelope changes rendered to the waveform and thus has its control points removed. To do this, select the track you are finished with and click Tracks > Mix > Mix and Render. This option is sometimes called Bounce in other software. The resulting track will sound the same but will no longer have its amplitude envelope control points.

Naturally you can always add further control points later on, or get all the original control points back by undoing the Mix and Render if you are not happy with it. As an alternative you could Tracks > Mix > Mix and Render to New Track which lets you render to a new track without envelope points but keep the original track with its envelope points. This allows you to more easily experiment on a visually "clean" track by adding extra points while still being able to use the Mute or Solo buttons to compare with the original un-rendered track.



Envelopes are wrongly removed by the following effects

As explained in the introduction there is a bug whereby when using some effects on tracks that have envelopes, then the envelope is removed and the audio reverts to its full amplitude state prior to the effect being applied.

Notable among these are the filters and the EQ effects.

The workaround is to apply the envelope prior by using Mix and Render prior to using the problem effect.