Difference between revisions of "Dither"

From LinnDocs
Jump to: navigation, search
(Added text for Dither page)
Line 1: Line 1:
The Cara release of DS firmware saw the introduction of a new dithering process to the DS audio path.
+
The Cara release of DS firmware saw the introduction of a new dithering process to the DS range.
  
<br>The DS upsampler has an internal processing resolution of 35 bits, but this must be reduced to 24 bits to match the resolution of the DAC.&nbsp; Previously this had been achieved by simple truncation, but this&nbsp;created quantization distortion (albeit at a very low level).&nbsp; In Cara, this distortion mechanism was eliminated by adding a carefully calculated dither signal before the truncation. This effectively preserves the audio information present in the 35 bit upsampled signal at the expense of a small increase in noise floor.
+
The two main audio processing blocks in the DS&nbsp;([[Up-sampling]] and digital volume control) have an internal processing resolution of 35 bits.&nbsp; This provides sufficient resolution to preserve the audio signal as it passes through these processes, but&nbsp;at some point it must be reduced to 24&nbsp;bits to match the&nbsp;input resolution of the DAC.&nbsp; Previously this reduction in word length had been achieved by simple truncation, but this&nbsp;created quantization distortion (albeit at a very low level).&nbsp; In Cara, this distortion mechanism&nbsp;was eliminated by adding a carefully calculated dither signal before the truncation.&nbsp; This&nbsp;preserves the audio information present in the 35 bit internal&nbsp;signal at the expense of a small increase in noise floor.&nbsp;
 +
 
 +
To illustrate the effectiveness of the dithering process, the following graphs show the frequency spectrum of a 0dB (i.e. maximum amplitude) sine wave&nbsp;after it has passed through the digital volume&nbsp;with and without the new dither process.
 +
 
 +
The first graph shows the effect of attenuating the signal by 40dB and truncating to 24 bits without dither.&nbsp; Quantization distortion products are clearly visible above the noise floor.[[Image:0dB -40dB no dither.GIF|center|Figure 1 - Attenuation = 40dB, no dither]]

Revision as of 17:55, 3 November 2009

The Cara release of DS firmware saw the introduction of a new dithering process to the DS range.

The two main audio processing blocks in the DS (Up-sampling and digital volume control) have an internal processing resolution of 35 bits.  This provides sufficient resolution to preserve the audio signal as it passes through these processes, but at some point it must be reduced to 24 bits to match the input resolution of the DAC.  Previously this reduction in word length had been achieved by simple truncation, but this created quantization distortion (albeit at a very low level).  In Cara, this distortion mechanism was eliminated by adding a carefully calculated dither signal before the truncation.  This preserves the audio information present in the 35 bit internal signal at the expense of a small increase in noise floor. 

To illustrate the effectiveness of the dithering process, the following graphs show the frequency spectrum of a 0dB (i.e. maximum amplitude) sine wave after it has passed through the digital volume with and without the new dither process.

The first graph shows the effect of attenuating the signal by 40dB and truncating to 24 bits without dither.  Quantization distortion products are clearly visible above the noise floor.

Figure 1 - Attenuation = 40dB, no dither