Helpful ReplyNow I Have Another Puzzler...What The ...Beeep..Is Dithering?

Author
trimph1
Max Output Level: -12 dBFS
  • Total Posts : 6348
  • Joined: 2010/09/07 19:20:06
  • Location: London ON
  • Status: offline
2012/05/28 09:38:33 (permalink)

Now I Have Another Puzzler...What The ...Beeep..Is Dithering?

As mentioned in the title..I keep hearing about this thing...'Dithering'.

What be this critter?

The space you have will always be exceeded in direct proportion to the amount of stuff you have...Thornton's Postulate.

Bushpianos
#1
Danny Danzi
Moderator
  • Total Posts : 5810
  • Joined: 2006/10/05 13:42:39
  • Location: DanziLand, NJ
  • Status: offline
Re:Now I Have Another Puzzler...What The ...Beeep..Is Dithering? 2012/05/28 10:22:35 (permalink) ☄ Helpful
Eddie Bazil from samplecraze.com gave me the best explanation other than stuff that has been shared by bitflipper and Drewfx.

Eddie writes: "Dither is used when you need to reduce the number of bits. The best example, and one that is commonly used, is when dithering down from 24 bits to 16 bits or 16 bits down to 8 etc...Most commonly, dithering from a higher bit resolution to a lower one takes place when a project you are working on needs to be bounced down from 24 bits to 16 bits using dithering algorithms.
So, what is the process; in mortal language of course?

A very basic explanation is we add random noise to the waveform when we dither, to remove noise. When we truncate the bits (lowering the bit resolution), ie in this case we cut down the least significant bits, and the fact that we are always left with the stepped like waveforms in the digital process, by adding noise we create a more evenly flowing waveform instead of the stepped like waveform. It sounds crazy, but the noise we add results in the dithered waveform having a lower noise floor. This waveform, with the noise, is then filtered at the output stage. I could go into this in a much deeper context using graphs and diagrams and talking about probability density functions(PDF) and resultant square waves and bias of quantisation towards one bit over another. But you don’t need to know that now. What you do need to know is that dither is used when lowering the bit resolution and that this is an algorithmic process, ie using a pre determined set of mathematical formulae.

If we take the 24 bit project scenario and select to bounce the resultant audio without dithering then the last eight bits (also know as Least Significant Bits) of every 24-bit sample are discarded. In terms of audio integrity you will not only lose resolution but also introduce Quantisation Noise.


Because dithering adds random noise to the lower eight bits of the 24 bit signal whilst maintaining stereo separation the quantisation noise is dramatically reduced.

It then makes sense to dither from 24 bits to 16 bits rather than bounce without it.

How well the process is executed is down to how good the dithering algorithms are. But to be honest these algorithms are so good nowadays that even standard audio sequencing suites (Cubase, Logic etc) will perform dithering tasks without much problem.
My recommendation is to always work in 24 bit and dither down to 16 bit for the resultant file, as CD format is still 16 bits."

-Danny

My Site
Fractal Audio Endorsed Artist & Beta Tester
#2
trimph1
Max Output Level: -12 dBFS
  • Total Posts : 6348
  • Joined: 2010/09/07 19:20:06
  • Location: London ON
  • Status: offline
Re:Now I Have Another Puzzler...What The ...Beeep..Is Dithering? 2012/05/28 11:05:21 (permalink)
Thanks for the information!!


The space you have will always be exceeded in direct proportion to the amount of stuff you have...Thornton's Postulate.

Bushpianos
#3
FastBikerBoy
Forum Host
  • Total Posts : 11326
  • Joined: 2008/01/25 16:15:36
  • Location: Watton, Norfolk, UK
  • Status: offline
Re:Now I Have Another Puzzler...What The ...Beeep..Is Dithering? 2012/05/28 11:49:41 (permalink) ☄ Helpful
I'd just add that it's only recommended to dither once. i.e. reduce bit depth only once. I keep all my stuff at a minimum of 24 bits until bounce to CD time.
#4
drewfx1
Max Output Level: -9.5 dBFS
  • Total Posts : 6585
  • Joined: 2008/08/04 16:19:11
  • Status: offline
Re:Now I Have Another Puzzler...What The ...Beeep..Is Dithering? 2012/05/28 12:21:23 (permalink) ☄ Helpful
The short technical answer is this:

When you quantize a signal to a set number of values/steps, for each sample there's a difference between the actual value and the quantized value known as quantization error. The more bits you have, the smaller the quantization error.

Generally speaking quantization error sounds like a weird, nasty distortion (assuming you can hear it all).

But if you add just enough random noise (this is the dither) before quantizing or reducing bit depth, it changes the weird nasty distortion to sound like noise, which is much less annoying (again assuming you can hear it at all).

Dither also allows signals smaller than the smallest bit value to be preserved, and some of this signal is audible below the noise floor.

Different types of dither just refer to the nature of the dither noise and use tricks to try to make the dither noise less audible while still doing its job.

 In order, then, to discover the limit of deepest tones, it is necessary not only to produce very violent agitations in the air but to give these the form of simple pendular vibrations. - Hermann von Helmholtz, predicting the role of the electric bassist in 1877.
#5
Guitarhacker
Max Output Level: 0 dBFS
  • Total Posts : 24398
  • Joined: 2007/12/07 12:51:18
  • Location: NC
  • Status: offline
Re:Now I Have Another Puzzler...What The ...Beeep..Is Dithering? 2012/05/28 12:47:54 (permalink)
i'm hoping ...and thinking ..... that Sonar does this automatically when I export my project with 24 bit recordings to the CD level of 16 bit...... 

Otherwise.... I'm screwed. 

I lost Danny right after " A very basic explanation is ...." 

My website & music: www.herbhartley.com

MC4/5/6/X1e.c, on a Custom DAW   
Focusrite Firewire Saffire Interface


BMI/NSAI

"Just as the blade chooses the warrior, so too, the song chooses the writer 
#6
FastBikerBoy
Forum Host
  • Total Posts : 11326
  • Joined: 2008/01/25 16:15:36
  • Location: Watton, Norfolk, UK
  • Status: offline
Re:Now I Have Another Puzzler...What The ...Beeep..Is Dithering? 2012/05/28 13:20:06 (permalink)
Guitarhacker


i'm hoping ...and thinking ..... that Sonar does this automatically when I export my project with 24 bit recordings to the CD level of 16 bit...... 

Otherwise.... I'm screwed. 

I lost Danny right after " A very basic explanation is ...." 


Probably is the answer. Most of the export presets usually have one of the dithering presets selected but it is something a user can change if they wish.
#7
Guitarhacker
Max Output Level: 0 dBFS
  • Total Posts : 24398
  • Joined: 2007/12/07 12:51:18
  • Location: NC
  • Status: offline
Re:Now I Have Another Puzzler...What The ...Beeep..Is Dithering? 2012/05/28 14:00:15 (permalink)
FastBikerBoy


Guitarhacker


i'm hoping ...and thinking ..... that Sonar does this automatically when I export my project with 24 bit recordings to the CD level of 16 bit...... 

Otherwise.... I'm screwed. 

I lost Danny right after " A very basic explanation is ...." 


Probably is the answer. Most of the export presets usually have one of the dithering presets selected but it is something a user can change if they wish.

I think I saw this in the export/bounce window.....actually pretty sure about that..... but I never bother to change the settings from factory on that dithering thing and everything works fine. 


I actually did do some research on this early on, because I did wanna get it right.... and the default settings are good all around general purpose settings designed to work fine. 


I'm really not as clueless as that post above might tend to indicate......   close.... but still....... oh never mind.... 

My website & music: www.herbhartley.com

MC4/5/6/X1e.c, on a Custom DAW   
Focusrite Firewire Saffire Interface


BMI/NSAI

"Just as the blade chooses the warrior, so too, the song chooses the writer 
#8
batsbrew
Max Output Level: 0 dBFS
  • Total Posts : 10037
  • Joined: 2007/06/07 16:02:32
  • Location: SL,UT
  • Status: offline
Re:Now I Have Another Puzzler...What The ...Beeep..Is Dithering? 2012/05/28 14:39:45 (permalink)
red book standard.
that's why.

Bats Brew music Streaming
Bats Brew albums:
"Trouble"
"Stay"
"The Time is Magic"
--
Sonar 6 PE>Bandlab Cakewalk>Studio One 3.5>RME BFP>i7-7700 3.6GHz>MSI B250M>G.Skill Ripjaws 4 series 16GB>Samsung 960 EVO m.2ssd>W 10 Pro
 
#9
Jump to:
© 2024 APG vNext Commercial Version 5.1