What is dithering in music?

What is dithering?

Recording & Production

The addition of low-level noise before reducing the bit depth of digital audio. Dithering helps prevent correlated quantization distortion and makes low-level errors behave more like noise.

What does dithering mean?

Dithering adds a carefully chosen low-level noise signal before quantization so that rounding errors do not track the audio in the same deterministic way. Without suitable dither, a low-level tone or fading passage can develop correlated distortion or irregularly disappear into the available amplitude steps. Dither trades that behavior for a small, more consistent noise floor.

In audio production, it is particularly relevant when converting a high-precision processed signal to a lower fixed-point bit depth. A common non-subtractive choice is triangular probability density function, or TPDF, dither. Its amplitude distribution is triangular; this is not a triangular audio waveform. The appropriate level relates to the size of the target quantization step.

Noise shaping can redistribute quantization-related noise across frequency to make it less audible in a particular listening band. It does not remove the noise energy or increase the file’s actual bit depth. For a final fixed-point deliverable, dither is normally applied at the final quantization stage, after processing that would otherwise create another need to quantize. Repeatedly adding it at unnecessary stages accumulates noise.

Dither Before Quantization

y[n]=QΔ ⁣(x[n]+d[n])y[n]=Q_{\Delta}\!\left(x[n]+d[n]\right)

x[n]x[n] is a higher-precision input sample, d[n]d[n] is an added dither sample in the same amplitude units and y[n]y[n] is the quantized output; nn is an integer sample index. QΔQ_{\Delta} denotes rounding to a uniform quantizer whose positive step size is Δ>0\Delta>0. This simple formula models non-subtractive dither, not subtractive or noise-shaped feedback quantization, and assumes the summed input does not overload the quantizer. Standard zero-mean TPDF dither can be made by summing two independent uniform random samples on [−Δ/2,Δ/2][-\Delta/2,\Delta/2], giving a triangular distribution supported on [−Δ,Δ][-\Delta,\Delta], mean zero and RMS amplitude Δ/6\Delta/\sqrt{6} (approximately 0.408 quantization steps). The dither contribution remains in the rendered output. Other dither and noise-shaping schemes use different models.

Examples related to dithering

Common confusions and distinctions

Dither does not repair clipping, remove background hiss or restore data lost to a codec. It is not required merely because a file is being copied or its bit depth increased without processing. Noise shaping and dither are related tools with different roles, and a noise-shaped setting is not automatically preferable for every later use.

Back to the glossary