Key takeaways
- Peak normalization aligns peaks, while loudness normalization targets a measured program level.
- A loudness target and a true-peak ceiling are separate constraints on the same deliverable.
- Measure the final encoded output and choose targets from the recipient’s current requirements.
Two recordings can have the same highest peak and sound very different in loudness. Peak normalization aligns a maximum amplitude, while loudness normalization aims at a perceptually weighted program measurement. Choosing between them starts with what the listener and delivery system need.
Choose the quantity you want to align
Peak normalization finds a recording’s highest measured peak and applies gain to place it at a target. This is useful for controlling amplitude, but an isolated transient can set the result for the entire recording. A sustained sound and a short burst can have the same maximum sample value while contributing very different energy over time. Their peaks alone do not predict how loud they seem.
Loudness normalization uses a measurement that weights frequencies and excludes sufficiently quiet passages according to defined gating rules. Check whether the reported value is momentary, short-term, or integrated over the whole recording. For an episode-level target, measure the whole episode: the loudness of a selected word or passage does not describe the complete program.
Listen to equal peaks with different time structure
The following local experiment creates two four-second synthetic tones with the same nominal sample peak: a sustained tone and repeated short bursts. It requires an FFmpeg build with the listed lavfi filters. Run it in a working directory where these output filenames do not exist, then play both at the same comfortable device volume. These are synthetic comparison signals, not a model of conversational speech.
The pauses change the listening experience without changing the stored sample peaks. Hard cuts can click and change reconstructed true peaks; this experiment aligns sample peaks only. Do not assume integrated LUFS follows the duty cycle proportionally, because gating can exclude quiet intervals. Waveform peaks, simple energy averages, and standards-based loudness are separate observations. Measure both files and compare the reports with what you hear.
ffmpeg -n -f lavfi -i "sine=frequency=440:sample_rate=48000:duration=4" \
-c:a pcm_s16le sustained.wav
ffmpeg -n -f lavfi -i "sine=frequency=440:sample_rate=48000:duration=4" \
-af "volume='if(lt(mod(t,1),0.25),1,0)':eval=frame" \
-c:a pcm_s16le bursts.wav
ffmpeg -i sustained.wav -af ebur128=peak=true -f null -
ffmpeg -i bursts.wav -af ebur128=peak=true -f null -Read LUFS and true peaks as separate constraints
LUFS expresses program loudness relative to digital full scale under the selected measurement method. A true-peak measurement estimates the maximum reconstructed signal between samples and is commonly expressed in dBTP. A recording can meet one limit and miss the other. Raising a dynamic recording toward a loudness target can push its transient peaks beyond the permitted ceiling.
When both constraints cannot be met by uniform gain, the workflow needs a deliberate tradeoff. It might retain more dynamic range at a lower level, apply controlled limiting, or reject the source for editorial repair. A limiter changes peak behavior and can change the listening experience. Listen to the result instead of treating every reported target value as evidence that the source was improved.
Try a one-pass loudness normalization
Measure the complete recording before choosing how to normalize it. FFmpeg’s loudnorm filter accepts integrated loudness, loudness range, and true-peak targets. For linear normalization, supply all four first-pass values: measured_I, measured_LRA, measured_TP, and measured_thresh. The requested loudness range must be at least the measured range, and the gain must keep true peaks within the target; otherwise the filter switches to dynamic mode.
For a small experiment, the command below reads sustained.wav created above, applies an illustrative one-pass policy, and prints a report. Because no measured_* values are supplied, loudnorm runs in dynamic mode. Dynamic mode upsamples the stream to 192 kHz, so -ar 48000 explicitly sets the output to 48 kHz. Consult the recipient’s requirements before choosing a target. Compare the source and result at controlled playback levels and listen for changes to transients and noise.
ffmpeg -n -i sustained.wav \
-af "loudnorm=I=-23:TP=-1:LRA=7:print_format=json" \
-ar 48000 -c:a pcm_s16le normalized.wav
ffmpeg -i normalized.wav -af ebur128=peak=true -f null -Use the destination’s delivery policy and verify the encode
EBU broadcast recommendations provide a defined loudness framework, while streaming and podcast destinations can specify different targets and tolerances. Keep the chosen policy with the processing configuration so a future editor can understand why a particular number was used. Playback normalization performed by a platform is another stage and may not be identical to the policy used when preparing an upload.
Measure the actual delivery file after any lossy encoding. Reconstructed peaks can change even when the encoded stream was made from a PCM file that met the intermediate ceiling. Also inspect channels and sample rate, and listen through the expected playback path. A valid measurement report does not establish that the correct language, edit, channel, or episode was encoded.
Keep normalization distinct from restoration and editing
Gain adjustment raises wanted speech, room noise, and existing distortion together. It does not isolate a voice or repair flattened peaks. If a source is clipped or contains abrupt level changes between speakers, address those problems before approving a final delivery pass. Keep the original recording so that cleanup can be revisited without repeatedly encoding an already processed derivative.
Build acceptance checks around the listening goal as well as numbers. Compare quiet speech, loud speech, music transitions, and silence at a repeatable monitoring volume. Record the measured program interval and the output file that was checked. For a batch, keep the source revision, processing settings, and destination policy together so a later policy update can reprocess the correct masters.
Technical details worth knowing
- Integrated loudness measurements use a perceptually weighted signal and gating rules rather than simply reporting the maximum sample amplitude.
- LUFS and LKFS describe equivalent loudness scales; dBFS sample peaks and dBTP true peaks describe different amplitude measurements.
- Applying constant gain preserves relative level changes only while samples stay within the output representation’s range and no other processing alters dynamics.
- A reconstructed true peak can exceed the largest stored sample value, so sample-peak inspection alone does not establish a true-peak limit.
- Lossy encoding can alter peak behavior, which is why checking only the PCM intermediate can miss a delivery-level problem.
- A normalization pass cannot recover clipped sample shapes or separate background noise from the desired voice by adjusting gain alone.
A practical approach
- 1
Record the recipient’s loudness metric, target, true-peak ceiling, and accepted file format.
- 2
Measure a representative complete program and inspect noise, clipping, and level variation.
- 3
Normalize with an explicit policy and listen for any limiting or dynamic changes.
- 4
Encode the deliverable, measure it again, and check playback at a consistent listening level.
When Transloadit is useful
Transloadit’s loudness-normalization demo passes a loudnorm filter to /audio/encode through ffmpeg.af, with preset: "mp3" and ffmpeg_stack: "v7". Start with that configuration, choose your own loudness targets, and measure the output. If you change the FFmpeg stack, check that the filter works there too.
Architecture boundary
The FFmpeg settings below are for an experiment. For delivery, use the recipient’s required loudness target, peak ceiling, tolerances, and measurement method.
Frequently asked questions
Is peak normalization the same as compression?
Applying uniform gain to align a peak does not by itself change the relationship between loud and quiet passages. Dynamic compression changes that relationship according to its detector and settings, so the two processes serve different purposes.
Should every podcast be normalized to the same LUFS value?
Use the current requirements of the destination and the intended channel configuration. A frequently repeated number is not a universal delivery standard, and platform playback behavior may add another processing stage.
Can normalization fix clipped speech?
Reducing the level makes existing clipping quieter but does not restore the lost waveform. Specialized restoration estimates a replacement and needs separate review; it is not a consequence of setting a loudness target.
Why did my peak change after encoding?
Lossy encoding reconstructs a signal that can have different peaks from its input. Sample peaks and reconstructed true peaks also differ. Measure the final encoded artifact using the metric required by the recipient.