Concept

Dither — where it appears

Noise added to a converter's input on purpose, to break the lock between the quantisation error and the signal. One whole least significant bit peak to peak is where the harmonic share stops falling and the price goes on rising, so the amount is a corner rather than an optimum.

Named by 3 essays across one field — each of them below, with the objects they name alongside it.

The amplitude at which a converter's floor becomes distortion. computed by solving, not by drawing. The quantisation error is transformed and the power in harmonics of the input is measured directly, at the bins those harmonics occupy. Undithered, the share rises from 0.29% at 230 levels to 76.5% at 1.3: the error has stopped being spread and has become a deterministic staircase locked to the signal. The sweep is drawn against the levels the input uses rather than against volts because it is then the same sweep for every converter — a twelve-bit part and a sixteen-bit part agree here to 0.0e+0, so what decides the character of the error is how many levels the signal crosses and not how many the converter owns. With 1 least significant bit of dither the share stays under 0.34% at every amplitude, for 3.03 dB of signal to noise. Adding noise to a converter's input improves what comes out of it, which is true and sounds like it should not be — and the amount is one whole step, not "some": a quarter of a step leaves 52.7% and a half leaves 25.6%, because a dither smaller than a step cannot make the quantiser cross one.

When a floor stops being a floor

Quantisation error is treated as noise and behaves like noise while the input crosses many levels. As the amplitude falls it stops: measured at the bins its harmonics occupy, the share of the error's power sitting in harmonics of the input rises from 0.29% at 230 levels to 76% at 1.3. The floor has not moved. It has become a distortion product locked to the signal, and the fix is to add noise on purpose — one whole least significant bit, and no more.

digital · Quantisation
A whole number of steps: 1, 2, 3 and 4 agree to 7% and a step and a half is 1.9× worse. computed by solving, not by drawing. The upper panel is the share of the quantisation error sitting in harmonics of the input against the amount of dither added — the upper curve the largest share anywhere on the amplitude sweep, with the spread across the five tones each point averages drawn as a bar, and the lower curve that sweep's mean. Undithered the worst is 76.5 per cent. It falls steeply up to one whole step (4.70 per cent at three quarters, 0.34 at one) and then stops improving — but only AT whole steps. The sweep means at 1, 2, 3, 4 steps are 0.283, 0.297, 0.297, 0.301 per cent, flat to 7 per cent; at 1.5, 2.5, 3.5 they are 0.526, 0.345, 0.311, each above both whole steps beside it. The lower panel is what each costs in signal-to-noise ratio, with 10·log₁₀(1 + L²) drawn through it — the measurement is that curve to 0.118 dB everywhere, so the price is known in advance and only the benefit has to be measured. The choice is a corner and a comb: nothing here is minimised, something stops improving, and between the places where it has stopped it is worse again.

The dither that is a decision

One whole least significant bit is quoted everywhere as the dither, which makes a decision look like a constant. Swept, the axis is a corner and a comb. An eighth of a step leaves 64.5 per cent of the error locked to the signal and one whole step leaves 0.34; above that the sweep mean is 0.283, 0.297, 0.297 and 0.301 per cent at one, two, three and four steps and 0.526 at a step and a half, which fails at exactly the small amplitudes dither exists for. The price is 10·log₁₀(1 + L²) to 0.118 of a decibel, and four steps cost 12.41 for nothing.

digital · Quantisation
The quantisation error's power as a function of where the input sits, for four dithers. computed by solving, not by drawing; the error's mean square given the input, integrated over each dither's density through the converter's own quantiser, and checked against seeded draws to 6 × 10⁻³. Undithered it is the square of a sawtooth, x² up to half a step and (1 − x)² beyond. One uniform step makes it x(1 − x): zero at a code, a quarter of a step² between codes — the error's power is carried by the signal. Two steps (triangular) hold it at ¼ everywhere, and one step subtracted after the converter at 1/12 everywhere. Averaged over the input the prices are 3.01, 4.77 and 0.00 dB against the undithered 1/12.

One step of dither per moment

A whole step of uniform dither makes a quantiser's error average to zero wherever the input sits, and leaves its power at x(1 − x) steps²: zero at a code and a quarter between codes, so the noise rises and falls with the signal. Two steps — a triangular dither — hold the power at a quarter everywhere and leave the third moment swinging by 0.096 steps³; three steps fix that too. Each added step fixes one more moment of the error and costs a twelfth of a step² of power: 3.01 dB for one, 4.77 for two. Subtracted after the converter, one step fixes the error's whole distribution for 0.00 dB.

digital · Quantisation

Named alongside it

The objects these essays reach for when they reach for this one.

Effective bitsQuantisationTotal harmonic distortionClosed formDesign tradeoffModel rangeSeeded generatorCorrelation timeMeasurement errorNoise floorSignal-to-noise ratio

All concepts