Listening test:
Quantization noise & bit-depth



There is no point in discussing sample rate and bit-depth without having a real experience of “lo-res” audio. Studying audio with reduced sample rate or bit-depth may help us better understand the relationship between audio fidelity and relevant parameters.


Dec. 20, 2021

Fortunately, the investigation of bit-depth and quantization doesn't require complicated and tiring ABX tests. In fact, it only takes a few minutes. Quantization and word-length reduction adds only noise to the original signal, which is called quantization noise. The only difference between different bit-depths is that higher bit-depth offers lower noise floor. Therefore, we just have to listen to the quantization noise at a high volume setting in a quiet place. If we can’t hear the quantization noise at X bits, then we won’t hear it in music and increasing the number of bits will not improve the playback fidelity. That's all. Testing quantization (optimal dithered quantization) and bit-depth with music samples is pointless (unless we want to test how quantization noise is masked by the music at low bit-depths).

This quantization noise audibility test lets you to check the audibility of quantization noise at different bit-depth settings directly from your browser. High quality headphones with head-on response close to the Harman target curve or loudspeakers are recommended. The built-in speakers of laptops and smartphones are not suitable for listening tests.

Quantization Noise Audibility Demo

Dither:

Bit-depth:

(2022-11-20: mimeType checking fixed, works in Google Chrome again.)

"What should I hear?" - First, let’s look at the case when the noise spectrum is white ('no noise shaping'). With 12 bits the quantization noise should be clearly audible. You should also hear the quantization noise with 14 bits, but in this case the noise has to be very quiet. When 16-bit is selected and the gain set that peak SPL at the listening position is lower than 105 dBSPL (typical value for a 'loud but not ear bleeding' playback level) then the quantization noise should be inaudible. Noise shaping lowers the audibility of the noise floor by 18 decibels, which means that the system gain can be turned up 18 decibels higher compared to the normal version. 16 bits have enough headroom from the quietest sounds to the roar of a T-Rex in a cinema.

Click here if player doesn't work...

This audibility test can demonstrate:


Quantization, dither and noise shaping

Quantization
Quantization is the process of converting a sampled analog value to a discrete value (a binary number). There is another type of quantization, which is called requantization: changing the word-length (bit-depth) of the digital values. Word-length reduction (e.g. 24 bit to 16 bit conversion) is a type of requantization.

Dither
Dither is a low level noise added to an audio signal prior to word-length reduction (e.g. 24 bit to 16 bit conversion). Dither improves the dynamic range and low-level linearity of a digital system. A digital system with the 'right dither' behaves like an analog system with a well-defined noise floor.
In software dither is created using a random number generator. The output of the random number generator is scaled and added to the original signal before truncation. Software implementation of dither consists of only a few lines of code.
Dither in Wikipedia

TPDF dither
The most common type of dither. TPDF stands for triangular probability density function.

Perceptual noise shaping
Perceptual noise shaping shifts noise from our most sensitive hearing range (roughly 2 to 6 kHz) above 15 kHz where noise is not audible. Noise shaping at 44.1 kHz sampling rate extends the subjective dynamic range with 18 decibels (3 bits). Quantization noise in 16 bit/44.1 kHz file created by noise shaping is subjectively equivalent to the quantization noise of 19 bit/44.1 kHz file created by standard dither (white noise spectrum dither).


Dynamic range calculations

When the word length (bit-depth) is reduced without dither and the signal doesn't contain any noise, then lowest signal level and dynamic range can be calculated with the well-known formula (DR = 6.02 × bits, and SNR = DR + 1.76). At 16 bits the level of the smallest signal is -96.32 dBFS. Everything below -96.32 dBFS will be converted to zero. However, 96.32 dB is only valid when a pure tone is created with an audio editor and converted to 16 bits without dither, but not with real-life content. The dynamic range of 16 bits is so high that noise in the recordings - even in modern digital recordings - can function as a dither.

The well-known formula does not apply to dither and noise shaping either. When dither is used, the SNR is lowered, but the 'subjective dynamic range' is increased and higher than 6.02 * bits. Digital systems are limited by quantization noise and the real question is the loudness of this noise. The "noise-free" dynamic range of a noise limited system can be expressed with the following procedure: the system gain must be set to the highest value at which the quantization noise is still not audible; in this case the SPL of the full scale sinusoid (0 dBFS) can be used to describe the dynamic range of the system.


What are 12 bits enough for?

(added on 2022.12.22.)

It's well known that 8 bits is enough for heavily compressed pop or rock music. However, it is not so well known that even 12 bits can provide sufficiently low noise floor for jazz, blues or any kind of music with acoustic instruments. Analog recordings are a living example of that. Recording noise in analog recordings is equivalent with the noise floor of a 12-bit...13-bit digital system (without noise shaping, just TPDF dither!). We may only hear some background hiss at the beginning and at the end of the songs or during very quiet passages. Rest of the noise is masked by the music.

Calculated bit-depth of some popular recordings:

SongYearVersiondBrebit-depth
The Dave Brubeck Quartet - Take Five1959200926.311.6
The Dave Brubeck Quartet - Take Five1959201135.810
Led Zeppelin - Stairway To Heaven11971201427.911.4
Dire Straits - Water of Love1978199524.711.9
The Blues Brothers - She Caught The Katy1980199521.212.5
The Blues Brothers - Sweet Home Chicago1980199527.211.5
Hans Zimmer - Gladiator Soundtrack22000200013.713.7
16bit/44.1kHz TPDF dither (reference)--016

1 1990 version is shorter, there is a fade out at the end
2 this is digital recording

Calculation of bit-depth: the noise floor (recording noise) is compared to the noise floor of a 16 bit / 44,1 kHz digital system with TPDF dither. The bit-depth is calculated by converting the difference from decibels to bits (dBre is the difference).

Recording noise measurement graphs can be found here.

Even 12 bits can provide excellent playback fidelity...

Csaba Horváth

Revision history:
  2021-01-28 - bbb.




More articles