Difference between revisions of "Dither"

From LinnDocs
Jump to: navigation, search
m
Line 1: Line 1:
The Cara release of DS firmware saw the introduction of a new dithering process to the DS range.
+
The [[Software Compatibility Families|<u>CARA</u>]] 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&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;
 
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;

Revision as of 07:12, 24 July 2023

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 new dithering process, the following two graphs show the frequency spectrum of a sine wave after it has passed through the digital volume control with and without dither.

The first graph shows the effect of attenuating a 0dB (i.e. maximum amplitude) 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

The next graph shows the same signal and attenuation level, but with the new dither process applied.  The distortion products have disappeared and have been replaced by a benign low-level noise floor.

Figure 2 - Attenuation = 40dB, with dither