Sample rate, bit depth and audio formats: digital audio explained
The numbers behind digital sound, from Nyquist and dither to lossless and lossy codecs, and practical settings for recording, mixing and delivery.
Anyone who has watched television in the past may remember advertisements that seemed much louder than the programme around them, or radio stations that sounded more aggressive than others. For a long time, broadcasters and record labels measured audio levels with meters that showed peaks rather than perceived loudness. Two recordings could peak at the same level and sound very different in volume. Since the late 2000s, a family of standards based on how people actually hear loudness has changed broadcasting, streaming and music production. This guide explains what loudness units measure, which standards matter, how true peak works and what the end of the loudness war means for listeners and producers.
A peak meter shows the highest instantaneous level of a signal. It is essential to avoid clipping, the distortion that occurs when a digital signal exceeds the maximum value it can represent. It says very little, however, about how loud a recording sounds. A short percussive sound and a sustained, heavily compressed sound can reach the same peak level, yet the second will sound much louder because it stays near that level all the time.
Human hearing is also more sensitive to some frequencies than to others. Middle and upper-middle frequencies sound louder than deep bass at the same physical level. A useful loudness measurement therefore has to take frequency into account and average the level over time.
The International Telecommunication Union published Recommendation ITU-R BS.1770, first issued in 2006 and revised several times since, to define an algorithm for measuring programme loudness. The method applies a frequency weighting, called K-weighting, that roughly reflects the sensitivity of hearing, then measures the energy of the signal over time. Later revisions added gating, which excludes very quiet passages and silences from the integrated measurement so that pauses do not lower the result artificially.
The result is expressed in LUFS, Loudness Units relative to Full Scale. In the United States the same measurement is often written LKFS. One loudness unit corresponds to one decibel, so a programme measured at minus 20 LUFS is 3 dB louder than one at minus 23 LUFS. Differences between programmes are expressed in LU, loudness units.
| Measurement | Time window | What it shows |
|---|---|---|
| Momentary loudness | 400 milliseconds | Rapid changes, useful while mixing |
| Short-term loudness | 3 seconds | Loudness of a phrase or a passage |
| Integrated loudness | The whole programme, gated | The single figure used to normalise a programme |
Loudness range, often written LRA, describes the variation of loudness within a programme. A dramatic film or a classical recording has a wide loudness range, while a news bulletin or a heavily compressed pop track has a narrow one.
The European Broadcasting Union adopted Recommendation R 128 in 2010. It asks broadcasters to normalise programmes to an integrated loudness of minus 23 LUFS and to keep the maximum true peak level at or below minus 1 dBTP. Supporting documents published by the EBU explain how to measure, how to handle live programmes and how to apply the recommendation to different types of content. Many European broadcasters have adopted R 128 or national rules based on it, and the United States has a comparable approach for television through the ATSC A/85 recommended practice.
The effect has been significant. When every programme and every advertisement is delivered at the same integrated loudness, there is no advantage in making material sound louder by compressing it harder. The incentive changes from loudness to quality, and producers can use dynamic range again.
A digital audio file stores samples, not a continuous waveform. When the file is converted back to analogue, or converted to a lossy format such as MP3 or AAC, the reconstructed waveform can rise above the highest sample value. These inter-sample peaks can cause distortion even when the sample meter shows no clipping.
True peak meters estimate the real peak by oversampling the signal, which reveals peaks between samples. The result is expressed in dBTP, decibels true peak. Keeping true peaks a little below full scale leaves room for conversion and encoding. Many delivery specifications set a maximum true peak, often minus 1 dBTP or lower for content that will be encoded to lossy formats.
In music, the competition for loudness has a long history. Jukebox operators, radio programmers and record labels all believed, with some reason, that a louder record caught the listener's attention. In the era of vinyl, physical limits restricted how loud a record could be cut. Digital formats, and especially the compact disc, removed some of those limits, and from the 1990s many commercial releases were mastered with increasing amounts of compression and limiting.
The results were louder recordings with less dynamic contrast. Drums lost their impact, quiet and loud passages sounded similar, and some masters showed audible distortion. The trend became known as the loudness war, and it was widely criticised by engineers, musicians and listeners.
Streaming services and many players now apply loudness normalisation: they measure each track and adjust playback so that tracks play at a similar perceived level. Each service publishes its own reference level and its own rules, which change from time to time, so it is worth checking their current documentation before mastering for a specific platform.
Normalisation changes the logic of mastering. A track mastered far louder than the reference is turned down on playback, and it then sounds flatter than a more dynamic master turned down less, or not at all. Mastering engineers can therefore choose a level that serves the music rather than a level that wins a volume comparison. Loudness is still an artistic choice for some genres, but it no longer guarantees attention.
Spoken-word producers face a different problem: listeners often hear podcasts on phones, in cars or in noisy places, where very quiet passages disappear. Podcast platforms and industry bodies publish recommended loudness targets, which are generally louder than the minus 23 LUFS used in European broadcasting. Before publishing, check the current guidance of the platforms that will carry the programme.
A sound workflow for speech usually follows these steps:
Measuring at the end rather than mixing to the meter keeps decisions musical. The meter confirms what the ears decide.
Most digital audio workstations include a loudness meter, and free plug-ins are available. A typical meter shows momentary, short-term and integrated loudness, loudness range and true peak. For a full programme, the integrated value is the one that matters for delivery. Short-term readings help when balancing sections, for example making sure that a music bed does not jump in level between segments.
A common mistake is to measure only a short excerpt. Integrated loudness should be measured over the whole programme, or the whole track, from start to finish.
Loudness normalisation concerns the level at which a programme is delivered. Radio stations add another layer: processing applied to the whole output just before transmission. FM and AM stations have long used broadcast processors that combine automatic gain control, multiband compression and limiting. These devices keep levels consistent whatever is played, protect the transmitter from overmodulation and give a station a recognisable sonic signature.
This explains why two stations playing the same song can sound different. One may favour a dense, punchy sound that stands out in a car, another a more open sound with more dynamic range. The processing is part of the station's identity and is adjusted by engineers according to the format and the audience. It also explains why a song mastered very loudly gains little on processed radio: the processor will reduce its peaks along with everything else.
For producers delivering programmes to a broadcaster, the practical lesson is to follow the delivery specification, usually expressed as an integrated loudness and a maximum true peak, and to leave the on-air sound to the station. Adding heavy limiting to a delivered programme in an attempt to sound louder on air usually makes it sound worse once the station's own processing is applied.
One loudness unit equals one decibel in size, but LUFS measure perceived loudness with frequency weighting and gating, while a basic decibel meter shows signal level without accounting for how people hear.
It may have been mixed to a lower integrated loudness, or it may contain wide variations that pull the average down. Measuring the integrated loudness and comparing it with the platform's published recommendation shows whether an adjustment is needed.
Not necessarily. Normalisation will adjust playback level anyway. Many engineers master for the best sound, check how the track behaves after normalisation and keep true peaks under control for encoding.
It means the reconstructed waveform never exceeds 1 dB below digital full scale, leaving a margin that reduces the risk of distortion during conversion and encoding.