Fade and Crossfade

From Audacity Development Manual
Revision as of 08:53, 22 August 2014 by PeterSampson (talk | contribs) (Other plug-ins and tools: clarity of purpose)
Jump to: navigation, search

Desvanecimiento y Desvanecimiento cruzado

Fade effects are among the most common effects used in audio production. They can be used to create a smooth start, or a gradual end to a musical recording. Short fades can be useful for avoiding clicks at the beginning of an audio clip. They may be used to create a smooth transition from one piece of audio to another.
Fade effects frequently produce a transition from silence (fade in) or a transition to silence (fade out) but may equally refer to a transition from one volume level to another quieter or louder level. A crossfade is when one section of audio fades out while another fades in.
Steve by email 13Aug14: There are a few conflicting uses of exponential/logarithmic on that page (mostly written before this page was changed: Envelope Tool to describe the Envelope Tool as "exponential").
  • Gale 16Aug14: I have not proofread it, but isn't it very long by our standards ? Should Sections 6 and 7 be on their own page? To aid discovery I would think a FAQ is required to link to this page and also to link to Fades and to Envelope Tool. It is not uncommon for users to ask "Do I have to use amplify in small sections to gradually make the sound quieter?".
  • Steve 21Aug14: I think I've now got all of the "exponentials" and "logarithms" the right way round now.
  • Peter 21Aug14: Now that Steve has sorted out logarithmic/exponential I went ahead and made the sub-pages that gale suggested - actually now sections 7 & 8 as Steve created an additional section.

    ToDo-2 Do we want to consider moving section 9 off onto its own page too? My vote would be to do this?

  • Gale 21Aug14: Seems sensible to split off #9 now, yes.
Peter 27Sep12: If we get around to releasing Steve's cross-fade-classic plug-in as part of the formal release then this would be used to magically do the cross-fade for you keeping the levels as as normally required (and previously implemented mandraulically with the 2/3 rule).

Contents

  1. Linear Fade
  2. Exponential Fade
  3. Logarithmic Fade
  4. Equal Power Fade
  5. Sine Curve Fade
  6. DJ Crossfade Curve
  7. Creating Fades with the Envelope Tool
  8. Creating a Crossfade
  9. Other plug-ins and tools

Linear Fade

This is the most simple type of fade where the level rises or falls at a constant rate. A linear fade in from silence is easily created in Audacity using Effect > Fade In. A linear fade out to silence is created using Effect > Fade Out.

The "shape" of a fade is commonly described in terms that suggest the appearance of a constant level signal that has had the effect applied to it. For example, if a linear fade in is applied to a generated tone, the fade can be seen to follow a straight line from silence up to the original level.

Linear-fade-in.png

Exponential Fade

This is another very common fade type. Its popularity stems from the fact that it closely models the way in which sounds naturally decay. For example, comparing the waveform of a gunshot recording with that of a bell, we can clearly see that although the time scales are very different, the shape of the sound as it decays is very similar:

Gunshot.png
Bell.png

In Audacity, the Envelope Tool produces exponential fades.

A similar (but not identical) fade shape may be produced by applying a linear fade several times to the same selection. For example, here is a fade created by applying the Fade Out effect, then repeating it three times using the CTRL + R shortcut (Repeat Last Effect).

Repeated-fade-out.png

Exponential curves may also be used as a fade-in.

Exponential-fade-in.png

Logarithmic Fade

Essentially the same as an exponential fade, but curving the other way.

Logarithmic-fade-in.png
Logarithmic-fade-out.png

Equal Power Fade

If one sound is fading out while another sound is fading in, this is called a crossfade. A common problem when crossfading two sounds using linear fade effects is that the volume level may drop a little midway through the transition. To mitigate this problem it is common to use a fade shape that, compared to a linear fade, bows up in the middle, so that the volume level stays a little higher in the middle of the transition. One of the most commonly used crossfade shapes is an "Equal Power Fade"; so called because the average power (and hence loudness) remains fairly constant during a crossfade transition for music and other uncorrelated sounds. The next image shows two tracks, one with white noise and one with pink noise that are crossfading using Equal Power Fades.

Equal power cross-fade.png

Sine Curve Fade

A raised sine curve (or cosine curve) is based on the shape of a sine wave. This fade type is often used for fading out music as it produces a smoother, more musical sounding fade out than a linear fade. It is also sometimes used as an alternative to the Equal Power Fade for crossfading as it avoids the possibility of the peak level increasing during the crossfade (Like linear fades, it produces an "Equal Gain" crossfade).

Raised-cosine-fade.png

DJ Crossfade Curve

DJ Mixers have a crossfade slide control that is essentially two faders back to back in one unit. Moved in one direction it will fade in source A and fade out source B, and when moved to the other extreme it will fade out source A and fade in source B. Early DJ mixing desks crossfaders produced a (roughly) equal power crossfade, but in response to demand from DJs, other fade shapes were developed that have a more pronounced curve, thus making the mix more pronounced during the transition. More information about the history of DJ crossfaders can be found on the Rane website.

Modern DJ mixers provide a curve control to provide adjustment of the fade taper contour. The image below compares the shapes of an equal power fade with a high curve fade that is similar to what would be achieved by setting the curve control fairly high on a DJ mixer's crossfader.

High-curve.png

Creating Fades with the Envelope Tool

The main advantage of creating fades with the Envelope Tool is that it is non-destructive. The envelope may be changed or removed at any time with no loss to the audio data.

See this page for details of how to use the Envelope Tool to create a fade.

Creating a Crossfade

The purpose of a crossfade is to produce a smooth transition between two sections of audio. The two sections overlap and as one section fades out the other fades in. This technique is commonly used by DJ's, for "compilation" tracks and mashups. The use of crossfades is not limited to joining pieces of music, but can be used in many other situations where a smooth transition is required, including editing speech recordings, extending songs, creating loops for audio sequencers, repairing damaged recordings and much more.

See Creating a Crossfade for details of how to make a crossfade.

Other plug-ins and tools

See this page for details of additional tools and techniques using fades. The page carries information on the following:


Steve 13Sep12:

Additional material to be added:

  • Peter 21Aug14: But not on this page - these topics are likely to be tutorials in their own right. I have copied these suggestions to the ednote on the Tutorials page.

Punch in recording

Extending pre-recorded music

Reducing unwanted sudden noises