JUNIORAssistant EngineerCHAPTER 05

Editing audio: cuts, fades, crossfades and room tone

Why a cut clicks, why a deleted breath sounds like a dropped call, and the fades, crossfades and room tone that make an edit disappear

50 MINSOUND AND AUDIO ENGINEERINGUPDATED 2026-11-08
PREDICT

You delete a 260 ms breath from a pause in a voice recording and leave the gap silent: digital zero. The room's background sits at about −56 dBFS, quieter than the voice by more than 30 dB. What does a listener on earphones hear?

Editing audio is three operations: you remove something, you join what is left, and you hide the join. Removing is easy in any editor. Joining is where the faults come from: a click where the waveform jumps, a hole where the background stops, a dip or bump in level where two pieces overlap. This chapter takes each fault apart, measures it, and gives you the fix that makes the edit inaudible.

The tools are Audacity (free) and Reaper (evaluation licence), with ffmpeg and a short Python script to measure what you did. The ideas are the same in every editor, including Pro Tools and the audio page of a video editor.

What an edit is

A recording is a list of numbers: 48,000 samples a second per channel at 48 kHz, each one the waveform’s height at that instant. An edit decides which samples play, in what order, and at what gain.

A destructive edit rewrites those samples. Older Audacity versions worked this way, and the “Apply” button on some effects still does. A non-destructive edit leaves the file alone and keeps a list of instructions: play file A from 0:12.400 to 0:31.050, then file B from 2:03.000, with a 10 ms fade at the join. Reaper, Pro Tools and video editors work this way; in Audacity 3, splitting a track into clips and dragging the clip edges is non-destructive in the same sense, because the hidden audio is still there until you render.

Non-destructive editing gives you handles: the audio beyond each edit point that is not playing but can be pulled back. You need handles to move an edit by a syllable, to lengthen a fade, and to make a crossfade at all, because a crossfade overlaps the end of one clip with the start of the next and needs audio on both sides of the cut. Keep the original recording untouched in a folder nobody edits, work on copies, and export the result as a new file: 48 kHz, 24-bit WAV for anything that goes to picture.

Why a cut clicks

Draw a waveform and cut it at an arbitrary point. The sample before the cut might be at −0.03 and the sample after it at −0.09 (the lab’s cut does exactly that). In one sample period, 21 microseconds at 48 kHz, the waveform jumps by about 0.07 of full scale. A sudden step like that is not a sound with a pitch; it contains energy at every frequency at once, and you hear it as a tick or a click. The louder the material at the cut, the louder the click.

In the lab you make exactly this cut in the middle of a syllable of the reference voice and measure the energy above 8 kHz, where the synthetic voice has almost nothing (its harmonics stop at 4 kHz). The untouched file peaks at −65 dBFS up there. The hard cut peaks at −33 dBFS: 32 dB of broadband click from one discontinuity.

There are two fixes, and you use both.

Cut at a zero crossing. If both sides of the cut sit where the waveform crosses zero, there is no step to jump. Audacity’s Select, At Zero Crossings (shortcut Z) moves the edges of your selection slightly to a nearby rising zero crossing; the manual notes it picks the crossing where the surrounding amplitude is lowest, not always the nearest one. Zero crossings help, but they are not enough on their own: the slope can still change abruptly (the waveform heading up on one side and down on the other), and in stereo the two channels rarely cross zero at the same sample.

Fade the edges. A fade-out of a few milliseconds before the cut and a fade-in after it turns the step into a ramp. At 48 kHz a 5 ms fade is 240 samples, short enough that you do not hear a change in level on speech and long enough that the click vanishes. In the lab the same cut with 5 ms fades measures −65.7 dBFS above 8 kHz: back to the clean file’s level.

Where you cut matters as much as how. In speech, the cleanest places are the gaps before a plosive (p, t, k, b, d, g), where the mouth closes and there is a short silence, and the start of a breath. The worst place is the middle of a vowel, where the waveform is large and periodic and any change in its rhythm is heard. Cut on the hard consonant and the plosive’s own burst hides the join.

Fades and their shapes

A fade is a gain that changes over time. The shape of that change decides how it sounds.

Shape What it does Use it for
Linear Gain changes at a constant rate. Because loudness follows the logarithm of level, most of the audible change happens at the quiet end Short fades on edits, where shape is inaudible
Exponential or logarithmic Changes in dB at a constant rate, so the fade sounds even Music fade-outs; long fades on ambience
Cosine (quarter sine, equal power) Bows above linear: a fade-out holds its level early and falls fastest at the end Crossfades between unrelated material (below)
S-curve (raised cosine) Slow at both ends, quick in the middle; as a crossfade it is equal gain, not equal power Smooth starts and stops on long fades

Audacity has Effect, Fading, Fade In and Fade Out (linear), and Adjustable Fade with Linear, Exponential, Logarithmic, Cosine and S-Curve presets. Its Envelope Tool draws a gain curve that you can change later. In Reaper, every item has fade handles at its top corners: drag one inward to set the length, and right-click the fade to choose its shape.

Fade length is a matter of job:

Job Typical length Why
Dialogue edit 2 to 10 ms Removes the click; too short to hear as a fade
Room-tone fill 10 ms or more at each edge Noise against noise needs a little longer to blend
Breath or mouth noise reduced, not removed 20 to 50 ms A softened breath sounds natural; a deleted one does not
Music or ambience ending 0.5 to several seconds The listener should hear it fade

These are working ranges, not rules. The test is always the same: listen to the edit on earphones, loud, and if you can hear where it is, change it.

Crossfades: equal gain and equal power

A crossfade overlaps the end of one clip with the start of the next, fading the first out while the second fades in. Whether the level holds steady through the overlap depends on what the two clips have in common, and that decides which curve to use.

gain of each clip100.7070.5through the overlap →dashed: equal gain (linear) · solid: equal power (cos / sin)level of the sum+3 dB0 dB−3 dBequal gain, uncorrelated: −3 dBequal power, same take in phase: +3 dBflat: equal power on uncorrelated, equal gain in phase

Uncorrelated material is two signals with no fixed relationship between their waveforms: two takes of a line, two stretches of room tone, two pieces of music. When you add them, their powers add, not their amplitudes (the same rule as the incoherent sum in What sound is). With a linear, equal-gain crossfade, each clip is at gain 0.5 in the middle. The power of the sum is 0.5² + 0.5² = 0.5 of either clip alone: 3 dB down. You hear it as a dip in the middle of the crossfade, worst on long crossfades of room tone and music. An equal-power crossfade uses cos for the outgoing clip and sin for the incoming one. At every point cos² + sin² = 1, so the power holds steady. In the middle each gain is 0.707.

Correlated material is the same signal on both sides, in phase: a clip crossfaded with a copy of itself, or a cut inside one continuous take where the waveforms line up. Now amplitudes add. The linear curve’s two gains always sum to 1, so the level holds. The equal-power curve’s gains sum to 1.414 in the middle: 3 dB up, a bump.

The lab measures both. Two uncorrelated pink-noise takes crossfaded over 1 s with ffmpeg’s linear curve read −34.2 dBFS before the overlap and −37.6 dBFS in its middle: a 3.4 dB dip, about the 3 dB the arithmetic predicts plus the scatter of a short noise measurement. With the quarter-sine (equal-power) curve the middle reads −34.7 dBFS: flat within half a decibel. Crossfade a steady tone with itself in phase and the results swap: linear stays at −21.1 dBFS, equal power rises to −18.1 dBFS.

Most dialogue edits are short crossfades between different moments of the same take. Those moments are uncorrelated in their fine detail, so equal power is the safe default, and over 10 ms nobody hears the difference anyway. The curve starts to matter over a few hundred milliseconds: a long crossfade between two takes of room tone, or between two music cues. In Audacity, Effect, Fading, Crossfade Clips does a simple crossfade between two clips in one track with no settings; Crossfade Tracks, between two overlapping tracks, offers Constant Gain (the default, linear), Constant Power 1 and Constant Power 2. In ffmpeg’s acrossfade, tri is linear and qsin is a quarter sine.

Room tone

Every room has a sound when nobody is speaking: the air conditioner, a fridge, traffic two streets away, the recorder’s own self-noise, the generator three plots down. That background is room tone. In Recording a voice, a quiet room sat under about −60 dBFS with the voice peaking around −12 dBFS. In the lab file for this chapter the room tone is at −56.4 dBFS, quiet but plainly there on earphones.

Your ear adapts to a steady background and stops reporting it, the same way you stop noticing a fan. What it does not stop reporting is change. When an editor deletes a breath and closes up nothing, or pulls a section down to silence, the background vanishes for a quarter of a second and comes back. That is heard as a fault: a dropout, a gate, a call that cut out. Digital silence is not “quieter room tone”; it is the absence of the room, and in a voice recording it never occurs naturally.

The fix is to fill every gap with room tone from the same recording:

  1. Record it on the day. At the end of every set-up, the sound recordist asks for 30 to 60 seconds of silence with everyone in place and the equipment running. Nothing else gives you clean tone of that length. If nobody recorded it, collect it from pauses in the takes.
  2. Choose a clean stretch. No breath, no rustle, no chair, no bird. It must come from the same microphone, position and time as the gap: tone from the morning does not match the afternoon, when the traffic or the generator changed.
  3. Make it longer than the gap. The fill covers the gap plus 10 ms or more at each end, so it can be crossfaded into the tone either side.
  4. Crossfade it in. Equal power, because room tone against room tone is uncorrelated. Match the level by ear and by meter; a fill 2 dB louder than its surroundings is heard as a lump.
  5. Do not loop a short piece. A 40 ms piece of tone repeated to fill 260 ms repeats 25 times a second, and the ear hears the repetition as a flutter or a buzz. Long fills want long tone, and where you must repeat, crossfade each repeat and start it at a different point.

On a film, the dialogue editor goes further and builds a continuous room-tone track under every cut so that the background never changes between shots; that is the subject of the Audio post module’s chapter on dialogue editing for film. For a podcast, a voice-over or a training video, filling each hole is enough.

WATCH 0:00–6:41 · 7 MIN
A location sound educator on what room tone is, why the recordist records it and how: the on-set half of this section. The video has no chapter markers and its transcript was not read, so check it before relying on any detail. Open on YouTube checked 2026-11 · segment not yet checked by a person

Editing speech without hearing the edits

The Ojaline trainer’s videos show the usual pressure: the client wants them tighter. Speech can lose a lot before it sounds edited, as long as the rhythm survives.

  • Shorten pauses; do not delete them. A pause between thoughts is part of how a listener follows an explanation. Take a 1.2 s pause down to 0.5 s and the speaker sounds brisk; take it to zero and they sound breathless and machine-cut.
  • Keep most breaths, softer. A speaker who never breathes sounds wrong. Reduce a loud breath by 6 to 10 dB with a short fade either side instead of deleting it; delete one only where it would collide with the next word.
  • Cut “um” and false starts at their edges. Mark the cut on the consonant that follows, listen to the result, and if the pitch of the voice jumps across the join (the speaker’s intonation was falling before the “um” and rising after), choose a different place or leave it in.
  • Do not change what was said. Removing “I think” from “I think the fee is ₦500” changes a guess into a statement. In training material and interviews, that is not your call to make (the Decide below and the AI note return to this).

A useful habit: after a pass, play the whole piece at normal speed without looking at the screen. You find the edits you can hear, not the ones you can see.

Where it goes wrong

Fault What you hear Cause Fix
Click at an edit A tick at the join Waveform discontinuity 2 to 10 ms fades; cut at a zero crossing or on a plosive
Dropout Background switches off A gap left as digital silence Fill with room tone, crossfaded
Lump Background gets louder or brighter for a moment Fill from a different place or time, or at the wrong level Tone from the same take; match level
Dip in a long crossfade Level sags in the middle Equal-gain curve on uncorrelated material Equal-power curve
Bump in a crossfade Level swells in the middle Equal-power curve on in-phase material Equal-gain curve
Flutter in a fill A buzz or pattern in the background A short piece of tone looped Longer tone; vary the start point
Breathless speaker No air between sentences Every pause and breath deleted Shorten pauses, soften breaths
Edit drifts out of sync Lips lead or lag the voice after the cut A cut in audio only on a video timeline Cut picture and sound together, or fill instead of removing

The last row matters on video. On a timeline with picture, removing 260 ms of audio and closing the gap pulls every later word 260 ms earlier than the lips. A fill keeps the length; a removal needs the same cut in the picture.

LAB Find the holes, fill them, and hear what a fade does ~45 MIN
YOU NEEDPython 3.9+ and ffmpeg on the PATH (labs/media/README.md)Audacity (free); Reaper's evaluation licence works tooearphones or headphones

The files are generated by labs/media/generate.py. The “voice” in them is a synthetic harmonic series, not a recording of a person. Values below are for the default scale and seed 1; another seed gives other numbers, and answers.json always has yours.

1. Find every hole in room_tone_holes.wav.

Generate the files, then open out/audio/room_tone_holes.wav in Audacity and play it on earphones at a comfortable level. Count the dropouts. Then zoom in (Ctrl+1 or Cmd+1) on each one until you see the room tone become a flat line.

cd labs/media
python3 generate.py
ffmpeg -hide_banner -nostats -i out/audio/room_tone_holes.wav \
  -af silencedetect=noise=-100dB:d=0.01 -f null - 2>&1 | grep silence_
python3 -c "import json; a=json.load(open('out/answers.json')); print(next(f['expected']['holes_s'] for f in a['files'] if f['path']=='audio/room_tone_holes.wav'))"
Three dropouts by ear: one in the lead-in before the voice starts at 0.75 s and one in each pause. silencedetect prints silence_start: 0.200021 / silence_end: 0.450021, then 2.302 to 2.560021 and 4.395 to 4.656021, and holes_s is [[0.2, 0.45], [2.302, 2.56], [4.395, 4.656]]: the same edges to within one sample. Now run the silencedetect line again with noise=-50dB: it reports dozens of short “silences”, because −50 dB is above the room tone’s peaks. A threshold of −100 dB finds only digital zero, which is what a hole is.

2. Fill the holes with room tone.

In Audacity: select 0.46 to 0.74 s (the clean lead-in between the first hole and the voice) with the Selection toolbar and copy it. Add a new stereo track (Tracks, Add New), click in it 10 ms before a hole and paste, then trim the pasted clip so it runs 10 ms past the hole’s end. Apply Effect, Fading, Fade In and Fade Out to its first and last 10 ms. Repeat for each hole, then Tracks, Mix and Render. Audacity’s fades are linear, so the overlaps rise slightly in level; at −56 dBFS over 10 ms you will not hear it.

Now do the same with equal-power crossfades in a script, so you can measure it. Save this as labs/media/fill_gaps.py:

"""Find runs of digital silence in a WAV and fill them with room tone, crossfaded in."""
import math, struct, subprocess, sys

src, dst, t0, t1 = sys.argv[1], sys.argv[2], float(sys.argv[3]), float(sys.argv[4])
SR, CH = 48000, 2
XF = int(0.010 * SR)                       # 10 ms crossfade at each edge
raw = subprocess.run(["ffmpeg", "-v", "error", "-i", src, "-f", "f32le", "-ar", str(SR), "-ac", str(CH), "-"],
                     stdout=subprocess.PIPE, check=True).stdout
x = list(struct.unpack(f"<{len(raw) // 4}f", raw))
n = len(x) // CH

def silent(i):
    return all(x[i * CH + c] == 0.0 for c in range(CH))

holes, i = [], 0                           # runs of exact zeros at least 10 ms long
while i < n:
    if silent(i):
        j = i
        while j < n and silent(j):
            j += 1
        if j - i >= SR // 100:
            holes.append((i, j))
        i = j
    else:
        i += 1

tone = x[int(t0 * SR) * CH:int(t1 * SR) * CH]  # a clean stretch of room tone
y = list(x)
for a, b in holes:
    for k, f in enumerate(range(a - XF, b + XF)):
        if f < 0 or f >= n:
            continue
        if f < a:                             # fade in: equal power, cos/sin
            g_old, g_new = math.cos(math.pi / 2 * (f - a + XF) / XF), math.sin(math.pi / 2 * (f - a + XF) / XF)
        elif f >= b:                          # fade out
            g_old, g_new = math.sin(math.pi / 2 * (f - b) / XF), math.cos(math.pi / 2 * (f - b) / XF)
        else:
            g_old, g_new = 0.0, 1.0
        for c in range(CH):
            t = tone[(k * CH + c) % len(tone)]
            y[f * CH + c] = g_old * x[f * CH + c] + g_new * t
    print(f"filled {a / SR:.3f}-{b / SR:.3f} s ({(b - a) / SR * 1000:.0f} ms)")

subprocess.run(["ffmpeg", "-v", "error", "-y", "-f", "f32le", "-ar", str(SR), "-ac", str(CH), "-i", "-",
                "-c:a", "pcm_s24le", dst], input=struct.pack(f"<{len(y)}f", *y), check=True)

Run it, then check that no hole is left and measure the level where each hole was:

python3 fill_gaps.py out/audio/room_tone_holes.wav filled.wav 0.46 0.74
ffmpeg -hide_banner -nostats -i filled.wav -af silencedetect=noise=-100dB:d=0.01 -f null - 2>&1 | grep -c silence_start
for w in 0.2:0.45 2.302:2.56 4.395:4.656 0.46:0.74; do
  printf "%s " $w
  ffmpeg -hide_banner -nostats -i filled.wav \
    -af "atrim=start=${w%:*}:end=${w#*:},astats=measure_perchannel=none" -f null - 2>&1 | grep "RMS level"
done
The script prints filled 0.200-0.450 s (250 ms), filled 2.302-2.560 s (258 ms) and filled 4.395-4.656 s (261 ms). grep -c prints 0: no digital silence left. The former holes read −57.0, −56.9 and −56.9 dBFS, the same as the source stretch at −56.9 dBFS; answers.json gives room_tone_rms_dbfs: -56.4, measured on the whole room-tone stem, and a short window reads within a decibel of it. Play filled.wav on earphones: the background no longer switches off.

3. Make a cut that clicks, then fix it.

Cut 260 ms out of the middle of a syllable of the reference voice, once with no fade and once with 5 ms fades either side, and measure what lands above 8 kHz, where the voice has almost no energy:

ffmpeg -v error -y -i out/audio/reference_voice.wav -filter_complex \
  "[0]atrim=0:1.12[a];[0]atrim=1.38,asetpts=PTS-STARTPTS[b];[a][b]concat=n=2:v=0:a=1" cut_hard.wav
ffmpeg -v error -y -i out/audio/reference_voice.wav -filter_complex \
  "[0]atrim=0:1.12,afade=t=out:st=1.115:d=0.005[a];[0]atrim=1.38,asetpts=PTS-STARTPTS,afade=t=in:d=0.005[b];[a][b]concat=n=2:v=0:a=1" cut_faded.wav
for f in out/audio/reference_voice.wav cut_hard.wav cut_faded.wav; do
  printf "%s " $f
  ffmpeg -hide_banner -nostats -i $f -af "highpass=f=8000,highpass=f=8000,astats=measure_perchannel=none" \
    -f null - 2>&1 | grep "Peak level dB"
done
Above 8 kHz the reference peaks at −65.1 dBFS, the hard cut at −33.2 dBFS and the faded cut at −65.7 dBFS. Listen to cut_hard.wav at 1.12 s: a tick where the waveform jumps from about −0.03 to −0.09 in one sample. The 5 ms fades remove it completely. In Audacity, make the same cut by hand, press Z before deleting to move the selection to zero crossings, and listen: quieter than the raw cut, but a 5 ms fade is the fix that always works.

4. Equal gain against equal power.

Make two uncorrelated “takes” of noise and one steady tone, crossfade each over 1 s with the linear (tri) and the quarter-sine, equal-power (qsin) curve, and measure the level before, in the middle of, and after the overlap (it runs from 2 to 3 s):

ffmpeg -v error -y -f lavfi -i "anoisesrc=color=pink:seed=1:amplitude=0.1:d=3" -c:a pcm_s24le take1.wav
ffmpeg -v error -y -f lavfi -i "anoisesrc=color=pink:seed=2:amplitude=0.1:d=3" -c:a pcm_s24le take2.wav
ffmpeg -v error -y -f lavfi -i "sine=f=1000:d=3" -c:a pcm_s24le tone.wav
ffmpeg -v error -y -i take1.wav -i take2.wav -filter_complex "acrossfade=d=1:c1=tri:c2=tri" xf_tri.wav
ffmpeg -v error -y -i take1.wav -i take2.wav -filter_complex "acrossfade=d=1:c1=qsin:c2=qsin" xf_qsin.wav
ffmpeg -v error -y -i tone.wav -i tone.wav -filter_complex "acrossfade=d=1:c1=tri:c2=tri" same_tri.wav
ffmpeg -v error -y -i tone.wav -i tone.wav -filter_complex "acrossfade=d=1:c1=qsin:c2=qsin" same_qsin.wav
for f in xf_tri.wav xf_qsin.wav same_tri.wav same_qsin.wav; do
  for w in 1.0:1.9 2.4:2.6; do
    printf "%s %s " $f $w
    ffmpeg -hide_banner -nostats -i $f \
      -af "atrim=start=${w%:*}:end=${w#*:},astats=measure_perchannel=none" -f null - 2>&1 | grep "RMS level"
  done
done
Uncorrelated takes: xf_tri.wav reads −34.2 dBFS before the overlap and −37.6 dBFS in its middle, a dip of about 3 dB; xf_qsin.wav reads −34.7 dBFS in the middle, flat within half a decibel. The tone crossfaded with itself in phase: same_tri.wav stays at −21.1 dBFS; same_qsin.wav rises to −18.1 dBFS, 3 dB up. Play xf_tri.wav and listen for the sag at 2.5 s. In Audacity, try the same pair with Crossfade Tracks, Constant Gain and then Constant Power 1.
In step 2, run the script with a 40 ms piece of room tone: python3 fill_gaps.py out/audio/room_tone_holes.wav loop.wav 0.46 0.50. Each fill now repeats the same 40 ms 25 times a second. Measure above 4 kHz in the second hole for both versions (-af "atrim=start=2.302:end=2.56,highpass=f=4000,astats=measure_perchannel=none" on filled.wav and on loop.wav): the peak rises from about −62 to −49 dBFS, the seams of the loop, and on earphones the fill flutters. A long, clean piece of tone is what makes a fill disappear.
DECIDE

Ojaline wants all forty seller-training videos 20% shorter by Friday, three working days away. Each is about six minutes of a trainer at a desk in a quiet office, recorded on a lavalier; no separate room tone was recorded. Leandro, a freelance assistant engineer Kilnworth has hired for the Ojaline batch, has the first batch back from a hurried cut with dropouts and clicks, and Ijeoma at Ojaline wants them fixed without the content changing.

READING
  1. BOOK
    Dialogue Editing for Motion Pictures: A Guide to the Invisible Art (2nd ed.) John Purcell, 2013

    The standard text on making dialogue edits invisible, by an Emmy-winning sound editor. It treats room tone as the material every edit is built on, which is the habit this chapter starts. Read: the chapters on room tone and fills, and on cutting dialogue; skip the film-workflow chapters until the Audio post module.

  2. DOC
    Fade and Crossfade Audacity Manual

    The map of Audacity's fade tools: Fade In and Out, Adjustable Fade, the Envelope Tool and the two crossfade effects, with the difference between equal-gain and equal-power curves. Read it before the lab.

  3. DOC
    Crossfade Tracks Audacity Manual

    How to overlap two tracks and crossfade them, and what Constant Gain, Constant Power 1 and Constant Power 2 do. The page used for step 4 in Audacity.

  4. DOC
    Select Menu: At Zero Crossings Audacity Manual

    What the Z key does to a selection and why it does not always pick the nearest crossing. Search the page for 'Zero'; the rest is reference.

  5. DOC
    REAPER User Guide Geoffrey Francis for Cockos

    The download page for the current user guide (version 7.85 when this chapter was written). Read the sections on item fades and crossfades if you edit in Reaper; skip the rest until you need it.

  6. DOC
    FFmpeg Filters Documentation FFmpeg

    Reference for every filter in the lab: afade, acrossfade (and its curve names), silencedetect, atrim and astats. Search the page for each name.

All companies and people in these examples are fictional. Any resemblance to a real business or person is unintended.

RECALL CARDS Tap to flip. They join your review deck when you mark the lesson complete.
NEXT: AI clean-up and transcription: dialogue isolation and Whisper →