What is crossfade in music?

What is crossfade?

Recording & Production

A transition in which one audio signal gradually decreases in level while another increases. Crossfades are used to connect recordings smoothly and reduce audible discontinuities at edit points.

What does crossfade mean?

A crossfade overlaps two sounds while one fades out and the other fades in. Instead of making an abrupt switch, it blends the outgoing and incoming material over a chosen interval. A short crossfade can smooth an edit between recordings; a longer one can become an audible transition between songs, sections or sound textures.

Both the duration and the gain curves matter. A fade can be mathematically smooth yet still sound uneven if the sources have different levels, conflicting transients or a poor musical relationship. When closely related recordings overlap, their phase relationship can also create reinforcement, cancellation or a changing tone. Lengthening the overlap alone does not necessarily solve those problems.

Linear, or equal-gain, crossfades keep the sum of the two gains constant. Equal-power curves instead keep the sum of their squared gains constant. The latter can help avoid a level dip between uncorrelated sources with similar RMS levels, but they do not guarantee constant loudness for arbitrary recordings. Identical in-phase material behaves differently from unrelated sounds.

Two Common Crossfade Curves

y=gAxA+gBxBy=g_Ax_A+g_Bx_B
gA=1−u,gB=ug_A=1-u,\qquad g_B=u
gA=cos⁡ ⁣(πu2),gB=sin⁡ ⁣(πu2)g_A=\cos\!\left(\frac{\pi u}{2}\right),\quad g_B=\sin\!\left(\frac{\pi u}{2}\right)

Here 0≤u≤10\le u\le1 is a dimensionless position through the overlap; xAx_A and xBx_B are simultaneous input sample amplitudes and yy is their weighted sum, all in the same amplitude units. The linear curve has gA+gB=1g_A+g_B=1. The sine/cosine equal-power curve has gA2+gB2=1g_A^2+g_B^2=1 for every uu. At the midpoint, linear gains are 0.5 each; equal-power gains are 1/2≈0.70711/\sqrt2\approx0.7071 each. Constant **expected mean-square output** under the equal-power law requires zero cross-correlation and equal input mean-square powers in the overlap—not just similar peak levels. With identical, in-phase signals, the equal-power midpoint sums to 2\sqrt2 times one source (a +3.01 dB amplitude increase); opposite-polarity identical signals cancel there. Different source levels or correlations require listening and, if necessary, a different gain curve or level compensation.

Examples related to crossfade

Common confusions and distinctions

A fade-out followed by a fade-in with no overlap is not a crossfade. Crossfading also does not automatically beatmatch songs, align phrases or remove differences in room sound.

Back to the glossary