Dithering opinions needed

  • Thread starter Thread starter zip
  • Start date Start date
Too busy working for a living, settling in after the move, and slamming the studio back together in a major hurry to mix and master a location-recorded a capella CD that has to be ready for sale by the first of December. And with two more in the chute- and _zero_ time to do the acoustic treatment of the room in the new place.... Ain't we got fun?

Anyway, the guy who is the real dither ace is Sjoko2, not me. My dither knowledge is pretty dated. But the noise shaping that you can do by using dither properly really can go a long way towards moving the quantization noise out of the "hey, isn't that kinda grainy?" realm and into the "sounds more analog" realm. Reverb tails are the place where you'll hear it: try taking something at 24 bit, and then listen to it straight up, truncated to 16, dithered to 16, then dithered _twice_.

Bottom line for me is to dither only once, when mastering to 16-bit release media, and to keep everything else in the 24-bit depth for work-in-progress.

I did some fun research into the psychoacoustics of noise back in my misspent youth, about 1981- one of my first products was a super-low-cost wavetable subtractive synth chip that was intended to be included on game carts for the Atari 7800 (my first chip design was the graphics processor for that box, in fact). One thing you really need is noise, either white or pink, which you can then filter with a formant generator and do other useful things with. In the analog domain, getting usable noise is relatively easy- junction noise from a diode, suitably amplified, is a good source. But it's a cast-iron bitch to get good noise in the *digital* domain, and the semiconductor process we had to work with really wouldn't support any of the normal analog noise sources (it was hard enough to get the sound off the chip after the D/A: truly, game-quality only).

Digitally-sourced noise (pseudorandom number sequences) almost always sounds pitched. Local correlation in the bit stream tricks your brain into thinking that there's signal down in that noise, like your primordial mama calliing you back to the cave in a blizzard. We spent months running simulations trying to come up with convincing digital noise- the best we did was to mung together the results of 4 separate pseudorandom sequences or different lengths, with a really gnarly chunk of logic. Both my co-developer and I could still hear a little pitched whistle way down in there, though, even with our best effort (given schedule constraints). The, we realized that we were each hearing _a different pitch_- and we knew we were at the point of diminishing returns.

Anyway, the quality of the noise is absolutely key to the results of the dither operation. And at that, I'll let Sjoko2 take over with the current state of the art, and go back to just being a nerd.
 
I'm not sure I'm following the suggestion to dither at the end of a DSP manipulation. If you can, you shouldn't have to.

Say, for example:

1- You input some 24-bit data into some sort of digital processing thingy.

2- It does all sorts of operations to it; in order to minimize rounding errors, it uses a 32-bit format internally as it does all these operations. Great.

3 - The DSP thingy outputs 24-bit data.

Two alternatives:
4a - You want to record it to a 24-bit storage medium.
4b - You want to record it to a 16-bit storage medium.

Now: you may well care about what happened between step 2 and step 3 (did the DSP simply truncate from 32 bits to 24? Did it dither? What dithering algorithm did it use?) ... but you can't do anything about it, short of breaking open the thingy and reprogramming it.

If you're doing 4a, you should just save the data as it is.

If you're doing 4b, you will be better off if you dither the data from 24 bits to 16, rather than truncating (you're going to have to do one or the other).
 
No need to do a test, sonusman is absolutely right.
Always dither when you move down to a lower bitrate, always dither when you print a final, even if your material is at 16 bit already.

The CraneS white noise CD is excellent.
 
Thanks for the props sjoko.

Just to clarify a bit.

When you process 16 bit audio, a extended bit depth is created in the software to account for the change in dynamics, blah blah blah. If the software doesn't properly dither that back to 16 bit, or doesn't use a very good dithering scheme, the audio will seem to just stop on fade outs, rather than fade out smoothly.

Also, quantization errors in the new audio will happen in the last bit as a result of the new audio (post DSP) of the software doens't dither or dither well.

In either case, dithering the file post DSP will "at least" provide a little noise to help hide some of the artifacts.

Really, if you are going to process 16 bit audio, it is better to convert it to 24 bit first (the extra 8 bits are just 0's....but the bits are at least there now...) do your DSP to thej 24 bit audio, then apply dither. This to my ears works out a little better. It does allow for a more transparent dithering scheme to be applied and the fade outs are a bit smoother. After you apply the dither, just do a Save As and select the bit depth of 16 bit. This is a "cheating' method I played around with when I started working with 24 bit, and I did some a/b comparisons of the same 16 bit audio. One was processed as 16 bit and dithered, the other was converted to 24 bit, processed as 24 bit, dithered, then truncated back to 16 bit (once dither is applied to a 24 bit file, truncating it to 16 bit is okay...the dither is already applied and the last 8 bits is just 0's again....). The stuff that was converted up to 24 bit just sounded better with the same plugin setting applied to it compared to the 16 bit file.

Anyway. As Bob Katz said, "dither, you can't live with it, you can't live without it".

By the way, I have been working with the UV22 dithering lately. I am liking the sound of it a little better than the IDR stuff in the Waves NNP. My preference only. Haven't tried the Cranesong disk yet, but I will take sjoko's work when he says it sounds great.
 
Good clarification and just in time!!

I never thought to convert to 24 bit for the manipulation - process - dither and convert back to 16 bit. What an excellent idea!!

Now I've got info from 2 "experts" and that's all I need...other than a bigger hard drive for all these conversions... :p

This has been a very informative thread. I'm glad I posted it and I hope it helps others.

Thanks guys!

zip >>
 
I would consider myself more like "informed based upon others expertise" rather than an expert myself!

Now sjoko2 on the other hand, he shares LITTLE of what he actually knows!!! :D

Ed
 
Thanks guys for all your input. The fog is beginning to clear.:) This can be a difficult concept to wrap the ol' brain around.

This paper goes deeper into the how, why, when and includes some good visual examples as well.
 
Back
Top