MEASURED SOUND SWAP

Fit a new recording under a finished video: the old sound is unmapped, not mixed

Fit a new recording under finished footage: a leak-checked tone test removes a 660 Hz sentinel, then measures +6 dB gain and a one-pass -16 LUFS leveler with decoded checks.

A smiling woman records voice at a professional microphone beside her laptop
Illustrative stock photo: Alberto Lara / Pexels. The photo is not a screenshot demonstrating the steps in this guide.
AT A GLANCE

The original soundtrack is unmapped, not mixed. In our tone test the swapped export measured 0.001 magnitude at the original 660 Hz sentinel against 0.3 for the 440 Hz replacement, and the +6 dB gain landed within 0.3 percent of the expected 1.995 ratio.

A swap is a routing decision before anything else

Replacing a soundtrack is a mapping statement: the output keeps the original picture and carries one new audio stream. Our fixture decided its own routing honestly — the original sound is unmapped rather than mixed underneath, so a narration track that replaces game audio never leaves both playing together. That direction suits footage whose end card, narration or music should stand alone.

It is the wrong shape for layers. Folders of ideas such as leaving a quieter crowd noise under a new voice belong to a mixer, and the audio handoff guide covers selected-track mixing with its own checks. Decide which of those two jobs you actually have before choosing a tool.

One boundary should be stated first: a swap does not align lip movement. If the picture contains moving mouths, the placement of the new sound is a listening decision you make by choosing its start point; nothing in the tool reads lips or transcribes either stream.

A sentinel proves the old track took no part

Checking that a sound is absent needs a sound you can look for. Our recording carried a 660 Hz beep between 1.0 and 1.3 seconds — a sentinel whose absence tells the truth about the routing. The replacement was a 3.0-second 440 Hz sine WAV placed at a +0.5-second offset under a 4.0-second picture.

Measurement on the 0 dB copy-mode exportValueWhat it establishes
660 Hz sentinel magnitude0.001The original sound left no measurable part
440 Hz replacement magnitude0.3The replacement is audible from its offset
RMS before 0.5 s0Nothing filled the head; the offset is real
Picture payload hashMatched sourceCopy mode did not re-encode video

The record’s own rule is strict: the 660 Hz magnitude must stay below 15 percent of the 440 Hz magnitude to prove the original track took no part in the export. Measured at 0.001 against 0.3, our result sits far inside that boundary. The export decoded cleanly and measured 4.000 seconds, since the replacement was padded out to the full picture length.

Conceptual diagram for The old sound is gone. Prove it, then place the new one.
Original ToolWillow diagram. Illustrated concept, not measured product results.

The chain runs in one order, and each stage can surprise

The export processes the replacement sound through a fixed chain, then encodes AAC at 192 kbps once: resample to 48 kHz, fold to stereo floating-point, apply your gain, apply an optional one-pass −16 LUFS leveler, delay by your start offset, and pad out to the picture length. Knowing the order lets you predict the results, because stages interact.

Resampling and folding mean a mono replacement arrives in both channels rather than being centered by the player. The pad that follows the offset fills the head before the replacement starts, then extends the tail past the end of a shorter replacement with true digital silence — measured at RMS 0 in our run, so a quiet room tone from the original is not preserved for you.

The delay stage moves the whole replacement by the start offset you choose, including negative values within the replacement’s own length. Nothing trims the replacement automatically beyond what the picture length demands, so the final file ends when the picture ends.

A dB gain behaves like arithmetic until the leveler rewrites it

The gain control is a plain decibel step applied before the offset, and it behaves as the textbook promises. Our +6 dB run produced a measured RMS ratio of 1.995 against the 0 dB export — the expected value for doubling amplitude was 1.995, and the two agreed to the measured digit.

The encoder sits after the gain, so the AAC step can shift peaks by a small amount; that is expected and appears in our numbers as the 0.5 percent deviation from a clean doubling. What the control cannot promise is appropriateness: +6 dB does not know whether your recording needs it, and clipping concerns belong to the leveler rather than to a static step.

When the leveler is enabled, leave gain at 0 dB. The leveler chooses the final loudness from its target, so a manual gain mostly washes out inside it. Use the gain control for placements where the new track must sit quieter or hotter relative to a reference you know, and use the leveler when a target is what you need.

The one-pass leveler: measured result, honest scope

With loudness normalization enabled the chain inserts loudnorm=I=-16:TP=-1.5:LRA=11 before the offset. On our export, desktop FFmpeg’s ebur128 analysis measured −16.4 LUFS integrated — 0.4 LU from the −16 LUFS target, measured on the final encoded file, so the gap includes the AAC step as well as the leveler’s one-pass behavior.

That is a one-pass leveler, and the honest scope matters. It responds to loudness as the material plays, which can behave audibly on recordings with large swings, and it is not the two-pass measurement-and-adjustment procedure that maximizes accuracy. The true-peak ceiling is the filter’s attempt, not a certified post-encode guarantee, and our record does not measure true peak on the export.

The −16 LUFS figure itself is a common stereo podcast-style target rather than a platform requirement, and delivery platforms publish their own values. If a numeric target is the point of your edit, read the loudness normalization guide and measure your own delivery with an ebur128 meter.

Picture: copy the payload or re-encode once

The picture handoff has two modes. Copy mode maps the original picture straight through, which our measured exports used: each export’s picture payload matched the source by signed-frame SHA-256, so the video is bit-for-bit preserved. Encode mode re-encodes the picture as H.264 CRF 20 in SDR when a different codec or size is needed.

Honesty about the record: our measurements ran in copy mode, so the encode path’s compression behavior is described by its settings rather than demonstrated by the exports below. Files with detected HDR markers are blocked from re-encoding, which the inspection summary reports when it finds them.

Choose copy when the receiving destination accepts the existing picture codec — it is faster and lossless on that stream. Choose encode only when the destination or layout genuinely requires different picture settings, and accept the recompression that comes with it.

Three measured exports and the limits

All three exports below are 4.000-second MP4s from the pinned engine, each decode-checked, with copied picture payloads matched to the source. The table reports the actual export bytes.

ExportGainLoudness measuredBytes
Replacement at +0.5 s0 dBNot normalized81,147
Same placement, +6 dB+6 dBGain ratio 1.99581,148
Leveler enabled0 dB−16.4 LUFS (ebur128)81,320

Download the 0 dB swap · Download the +6 dB swap · Download the leveled swap · Exact commands and measurements

These fixtures are pure tones. They verify routing, gain arithmetic, leveler behavior and verification logic on known material, and they deliberately do not certify speech intelligibility, lip movement, loudness compliance for any platform, or subjective sound quality on real recordings. The report the tool downloads repeats that scope under neutral labels.

Common questions

Does the tool align the new sound to moving lips?

No. It places the soundtrack where you point, and the start offset is your listening decision. It does not transcribe, detect faces or read lip movement.

What happens when the replacement is shorter than the picture?

The pad stage extends the tail with digital silence to the picture length, so the export ends with the picture. Our measured head and tail RMS values confirm the pad is true silence, not room tone from the original.

Why did enabling the leveler barely change my manual gain?

The leveler targets its own loudness reading, so a manual step mostly washes out inside it. Leave gain at 0 dB when the leveler is enabled, and use gain alone when you need an explicit relative level.

Sources & further reading

Written for ToolWillow with original explanations and examples. Consult current product documentation for controls that vary by version.

Try the free browser tools →