What Is Dither in Audio? (And Why We Add Noise to Preserve Detail)

Dither is one of those words everyone has seen and very few people can explain.
It sits at the bottom of the export window.
A tick box. A drop-down. Sometimes a plugin at the very end of the master chain.
And the explanation that usually goes with it is something like: it's a bit of noise that makes digital sound less digital.
Whilst dither does involve adding noise, making digital audio sound more analogue isn't its purpose.
What it's actually doing is far more interesting.
What Dither Actually Does
Dither deals with what happens when you reduce bit depth.
You mix at 24-bit or 32-bit float. Plenty of resolution.
But when you export to 16-bit, that precision has to be reduced.
There are now fewer possible values available to represent the signal.
Every sample must be assigned to one of the values that 16-bit can represent.
This is called quantisation, and the difference between the original sample value and its quantised value is the quantisation error.
The teal line represents the original signal. The dashed mustard line connects the quantised sample values. Every red line represents the difference between the original and quantised value – the quantisation error.
Dither is a tiny amount of random noise added just before that rounding happens.
Without dither, a particular sample value will always be rounded to the same value, producing the same error.
With dither, we're randomising the rounding process.
Generate new noise below to see how dither changes the rounding of the sample values.
Notice how some samples are now rounded up where they would previously have been rounded down, and vice versa.
The underlying signal hasn’t changed, but the way it’s being quantised has.
The errors become random rather than being tied to the original signal.
In effect, we're replacing distortion with noise.
That's the purpose of dither.
Why the Rounding Sounds Bad
In music production, noise can take many forms, from white noise generated by a synthesiser to the background hiss of analogue equipment.
Quantisation error is different. Rather than being a separate source of noise, it's a consequence of the original signal being altered by the rounding process.
Think back to those red lines in the first diagram.
Each one represents a small difference between the original sample value and its rounded value.
When we play back those rounded samples, we're no longer hearing an exact representation of the original signal.
Those small differences have become part of the sound.
And because the same sample value always produces the same rounding error, any repeating pattern in the original signal produces a repeating pattern of errors.
These repeating errors can introduce additional harmonics that weren't present in the original signal, altering the harmonic content of the sound.
The important distinction here is that these errors aren't random. They're directly related to the original signal.
When the signal is loud and busy, these errors are generally masked by the music. But as the signal gets quieter, the errors occupy a larger proportion of the signal and become more apparent.
What we're hearing isn't simply background noise.
It's distortion.
And it becomes most noticeable in the quieter parts of a recording:
Reverb tails
Fade-outs
Sparse intros and breakdowns
Long decays on pads and pianos
Listen to a long fade quantised to 16-bit without dither and, if you turn it up, you'll hear it break up.
The tail doesn't fade naturally into silence. It crumbles. Then it just stops.
By adding tiny, random variations to the sample values before rounding, dither breaks the relationship between the rounding errors and the original signal.
The errors are still there, but rather than producing distortion related to the original signal, they now behave like low-level background noise.
We're not eliminating the error. We're changing its behaviour.
How Dither Preserves Detail
There's another benefit to randomising the rounding process.
Imagine a sample with a value of 2.4, where the two nearest quantisation levels are 2 and 3.
Without dither, that value will always be rounded down to 2.
The fractional part of the sample value is lost.
With dither, some of those samples will be rounded up to 3 instead.
Although we can't represent 2.4 as an individual quantised sample, if we repeatedly quantise that same value with dither, the average of the resulting values will approach 2.4 over time.
This is how dither allows us to preserve detail that would otherwise be lost during quantisation.
When to Use It (And When Not To)
Now that we understand what dither does, knowing when to use it becomes much easier.
Whenever we reduce the bit depth – from 32-bit float to 24-bit, or from 24-bit to 16-bit, for example – the sample values have to be rounded to fit within the new resolution.
If we want to preserve the original sound, this is where we apply dither.
There's no need to use dither when exporting at 32-bit float or when copying an existing audio file without changing its sample values.
But what if you've recorded everything at 16-bit and you're exporting at 16-bit?
Although the original recordings are 16-bit, your DAW is likely processing the audio at 32-bit or 64-bit floating-point precision.
Move a fader, add an EQ or apply a fade, and the resulting sample values may fall between the available 16-bit quantisation levels.
Exporting back to 16-bit means rounding those values again, which is why dither is still appropriate.
For me, it comes down to what I'm trying to achieve and where the file is going.
If I'm sending a pre-master for further processing, I can export at 32-bit float without dither.
A final 16-bit DJ master for a client is different. That's the end of the processing chain, so that's where the dither goes.
It's also worth checking that you're not applying dither twice during export.
If your mastering limiter is already applying dither for the intended export bit depth, there's no need for your DAW to add another layer.
There are also times when I deliberately reduce the bit depth of a sample to 12-bit or 8-bit to recreate some of the characteristics of vintage sampling hardware.
The distortion introduced by quantisation can be part of the sound I'm looking for. Applying dither would change that characteristic, so I may choose not to use it.
Here, I'm deliberately changing the sound rather than trying to preserve it.
What About 24-Bit?
The same principles apply when exporting to 24-bit.
The difference is that 24-bit has 256 times as many quantisation levels as 16-bit, so the rounding errors are considerably smaller.
The amount of noise required to randomise those errors is also considerably smaller.
Technically, we should still apply dither when reducing to 24-bit, but in practical terms, the difference is unlikely to be audible.
Flat or Shaped?
You'll often see different types of dither available in your DAW or mastering plugins.
Flat dither produces noise that is spread evenly across the frequency spectrum.
Noise-shaped dither redistributes the resulting noise across the frequency spectrum.
By reducing the noise in the frequencies where our hearing is most sensitive and increasing it in frequencies where we're less sensitive, the noise becomes less audible.
There's not necessarily less noise. It's simply positioned where we're less likely to hear it.
You'll also come across the term TPDF (Triangular Probability Density Function). This describes how the random noise values are distributed in amplitude, rather than their frequency content.
Flat TPDF dither is a perfectly good choice for bit-depth reduction.
Noise-shaped dither is best reserved for the final export, when no further processing is going to take place.
Hear It For Yourself
At 16-bit, the effects we've been discussing happen at very low levels.
To make them easier to hear, we can exaggerate the process by reducing the bit depth to 8-bit.
Listen to the following examples, paying particular attention to the sound as it fades away.
Without dither, you can hear the distortion introduced by the rounding process as the signal gets quieter.
With dither, there's an audible background noise, but the sound itself fades away much more naturally.
Same sound. Same bit depth.
The only difference is the tiny amount of random noise added before rounding.
That's essentially what's happening when we apply dither at 16-bit, just at a much lower level.
Final Thought
Dither isn't about making digital audio sound more analogue.
It doesn't add warmth or improve the character of a recording.
When CD was the dominant distribution format, reducing audio to 16-bit was a routine part of mastering.
Whilst 16-bit audio is still used today, the widespread support for 24-bit audio means the audible effects of dither are often less significant than they once were.
The principles haven't changed. The resolution at which we work and distribute music has.
Dither is still a way of preserving as much of the original signal as possible when reducing bit depth.
It's achieved by introducing randomness into a process that would otherwise be entirely predictable.
We're adding noise to preserve detail.




Comments