Dither experts: I’m considering designing my own dither. Any clarification would be sick

Main question: does dither have to be a certain algorithmic type of noise, or could other, less intentionally structured noises provide the same function as dither?

For example, let’s say I didn’t want a pure white-noise hiss, could I take a phone recording of freeway traffic at a distance, apply filtering/shaping and then tuck it in just louder than my bit depth floor after my bit reduction and achieve the same result?

Posted Oct 19, 2022, 6:34 PM UTC

1266
CumulativeDrek2•

The basic qualification of dither noise is that it is decorrelated from the signal being dithered. This is sometimes called 'whitening' because white noise offers the minimum possible correlation.

Dithering minimises quantisation distortion when changing to a lower bit depth, its not an aesthetic shaping of the sound. If its done well you wont hear it.

Adding some background noise into a mix for colour is not unheard of but it doesn't necessarily fulfill the function of dithering.

40
rAbBITwILdeBBB•

They also use dither in plug-ins. Your stock plug-ins don't need to do this, but third party plug-in makers have to do this so that their plug-ins work with various softwares.

For example: Wavelabs, a mastering software made by Steinberg, tells you in the manual to apply dithering to tracks before export into Wavelabs even if no change in bit depth is happening in-between, even if you're going from Cubase to Wavelabs, both being Steinberg products.

7
ilikespoilers•

Interesting

1
2old2care•

Dither (including shaped dither) is added to a signal in a way to minimize quantizing noise. In the real world you won't hear a difference because any microphone / preamp combination will have more inherent noise (even recording very loud things) than the dither and will for all practical purposes reduce the quantizing noise in exactly the same way. If you want to record traffic noise and mix it with your basic system noise, go for it. Yes it might give you a little different texture, just as opening the back door to the studio and letting in street noise would do. Could make it real, but it's not real dither.

11
Audomadic•

Out of curiosity, why? Seems like a massive waste of time unless you’re just trying to learn.

9
ZenmasterRobOP•

Because I like how background noise sounds and don’t like how dither sounds, if I could kill two birds with one stone by turning background noise into dither that would be perfect. Someone else responded explaining that I totally can so it looks like this has been a fruitful post :)

-12
your_moms_ankes•

Dither is not audible noise and you can’t hear it.

19
ZenmasterRobOP•

You guys are deaf

-17
your_moms_ankes•

Dither doesn’t work in an audible way. If you can hear it, you’re doing it wrong.

12
xxxxx420xxxxx•

Then you are just mixing in a nice noise at a lower volume. Dither should be way below wherever you are working as an artist. If actual content is way down at the noise floor, you'll be pushing what most people can even listen to.

6
[deleted]•

[deleted]

0
Audomadic•

Why not just print a track of white or pink noise then EQ? Dither is basically useless nowadays.

-4
ZenmasterRobOP•

Because of what I just said above

0
JunkyardSam•

While I can't answer your question specifically -- I can point to someone and some blog posts where similar thinking has been explored.

Chris, the Airwindows guy, has done a lot of explorations around dither and has issued multiple types.

Try searching "dither" in the box (and be sure to click 'older posts' because he has a lot.)

https://www.airwindows.com/?s=dither

He may have said something in those posts which you find helpful, and it's possible one of his dithering types happens to be just what you're looking for, which could save you some time.

Lastly, test what's going on with dither you could try a very low level sound, dithered, and then normalize it to see and hear it at a louder level.

Then do the same thing with any other kind of noise, and listen for the difference up loud. She if it's accomplishing the same goal, etc.

I personally enjoy older recordings where I can hear a little tape noise during the intro of a song and silent/quiet parts.

I also have a some MP3s where people transferred their records to digital, and the irregular noise & quiet static of record sound is absolutely appealing... (But not something I imagine you'd use as a mastering engineer.)

6
ZenmasterRobOP•

I love Chris and was considering asking him about this as well. I’m a big fan of his vinyl dither which I’ve used on a couple of occasions :)

3
Raspberries-Are-EvilProfessional•

Why?

5
coleyforce•

Haha what a great conversation starter. Although in this thread there are people who are kind of angry about it all, the answer is “yes, kind of!”

What I would recommend is first finding a sample of audio that is audibly demonstrating quantization error when reducing bit depth from 24 to 16; I would recommend the tail-end of a piano note decaying all the way to silence. Might need a fade to help it reach silence. Reduce bit depth from 24 to 16 with no dither. Check the tail-end and gain it up a lot to hear quantization error noise. It will sound like an “electronic swoosh” as the sound decays to silence. Now do the same test with a bunch of your favorite dithers to see how much the dither took care of this noise. Is the quantization error noise still there, or is it mostly white noise/ noise-shaped hiss now? And again, we’re gaining it up really, really loud. In my experience, some dither takes care of the noise completely, while with others I can still hear remnants of the quantization noise.

Now make your dither and apply the same test! How well is your dither reliably decreasing this “electronic sounding” quantization error noise case-by-case? Even if you’re making a novelty dither that angers other engineers, it should be fine as long as it’s reliably tripping the threshold. This is where amplitude of your dither could come into play. Have you ever messed around with the dither in RX? It comes with volume options. FWIW I prefer the sound of RX’s noise-shaped dither and Ableton’s POWr-3 dither, but this is after I gain them way up. I can’t hear them at normal listening levels.

Whoever brought up the BlueCat plug’n’script might be on to something as an easy way to implement. I haven’t tried it out yet but I’ve been meaning to.

5
ThoriumEx•

Yes, theoretically dither can be any noise you want, just need to set it to the right level.

4
EvenBiggerD•

You'd potentially have trouble with your recorded noise not having the same amplitude everywhere, while the algorithmic noise does.

But as you pointed out you're not the first person to put in low volume background noise for artistic reasons. It's not an unreasonable thing to look at.

4
Trader-One•

Dither can be any signal which will not create patterns when merged with the main one. Usually its desirable to run that signal through high pass filter.

I create my own effects in this:

https://www.bluecataudio.com/Products/Product_PlugNScript/

Easy to use then C++ frameworks or overly complicated Reaktor.

4
ZenmasterRobOP•

What a phenomenal resource!

So in other words, yes I can use my own recorded noise as dither and I can place it as a masterbus insert after my bit depth reduction using bluecat.

Thank you for the wonderful response!

3
elgin4•

the most important part of the music is the part that's 96 Db quieter (or more) than the loudest part

3
Tiny_Arugula_5648•

This is generally a bad idea since the purpose of noise used for dithering is to apply consistent levels of noise -1.0 to 1.0 to add randomness to the upper harmonics.. by applying inconsistent noise like something you’ve recorded it’s most likely going to lead to unpredictable distortion, where some of the harmonics are handled properly and others won’t be.

Honestly why bother this is a solved problem.. the most popular programming languages have modules that you can use..

3
ZenmasterRobOP•

Someone else mentioned amplitude inconsistency as well. I’m open to seeing what I’d need to do processing wise to get that required amplitude consistency. I know Chris from airwindows has made some dithers with inconsistent amplitude. Maybe I can ask him about his thought process and why he’d do such a thing.

I bother because I think I might be able to get a better subjective texture. Clearly a lot of people in this forum disagree. Fortunately it’s my time I’m wasting and not theirs :)

1
Tiny_Arugula_5648•

I wouldn’t think of it as amplitude, it’s a consistent distribution of random values between -1.0 & 1.0.. it’s really useful for an audio engineer to understand how sinusoidal maths works.. Once you understand that you’d instantly see the problem with this approach.

I understand the confusion since people use noise to describe both things but there is two different meanings happening here.. Here’s a different way to think about it.. random values at every point in the waveform cycle is white noise… what you record in real life is really ambient sounds.. ambient sounds are not necessarily random values distributed evenly.. they contain low frequency hum, some midrange & high frequency sounds, they often contain cyclic sounds like machines or insects.. it sounds noisy but it’s just many individual sounds layered together.. that is not necessarily random and very rarely consistent like white noise.

So when you are adding this type of “noise’ it’s not dither it’s just random sound (hiss, hum, etc).. there is def artistic value to adding this to music as many people thinks it feels analog & warmth.. LoFi music is a good example..

The easiest way to see the difference, in audacity open some ambient sound.. then generate noise using the plugin.. run both sounds through a spectrum analyzer.. for white noise you’ll see a consistent image for ambient sounds you;l see some areas are brighter and darker than others..

1
RustyRichards11•

Dithering and..

3
DeerGodKnow•

Dithering and...

3
skipping_pixels•

Well now this just isn’t dithering

3
stinky_monkeyProfessional•

could I take a phone recording of freeway traffic at a distance, apply filtering/shaping and then tuck it in just louder than my bit depth floor after my bit reduction and achieve the same result?

If your end goal is to achieve the same result, why don't you just use built-in dither functions?

Most mastering limiters will give you the option to choose noise-shaped dither. This is usually filtered so that it is less audible (has less frequency content in areas that our hearing is most sensitive).

2
ZenmasterRobOP•

I don’t actually want the “same result” but a very similar functional result with hopefully a minutely better aesthetic result. I remember a couple years ago I went down a deep dive of trying out every dither I could get my hands on in every setting and seeing what I noticed. They do all sound slightly different and I generally prefer the sound of a record before I apply dithering.

Now here’s the thing though, in the last year or two I’ve learned that multiple of my all-time favorite producers layer in noise in their production, not as a dither layer but just for general aesthetic purpose. Max Martin’s team does it every record, Fred again layers in a recording of background noise from wherever he’s working to every record down at like -90ish and I started doing this and absolutely love what’s it’s doing.

So I figured, if I don’t like how my dithering sounds, and really like how these background noise clips sound, why not see if I can dither with background noise. I know the air windows guy made a bunch of atypical various dithers like one that’s meant to imitate vinyl noise, but I still don’t know how algorithmic of a process that was and what is functional and what isn’t, and what the order of operations would be to construct some myself.

-6
seasonsintheskyProfessional•

There is no way in hell anyone is actually hearing room tone buried at -90. What a great example of confirmation bias, though!

19
ZenmasterRobOP•

I’m sorry that you either can’t hear well or have a too high distortion and noise playback system to hear such things.

-17
MyHobbyIsMagnetsProfessional•

What’s your playback chain exactly?

4
stinky_monkeyProfessional•

I remember a couple years ago I went down a deep dive of trying out every dither I could get my hands on in every setting and seeing what I noticed. They do all sound slightly different and I generally prefer the sound of a record before I apply dithering.

Were you ABX testing when listening for differences?

Unfortunately I don't have any guidance to offer for creating your own dither. When I'm mixing, I tend to focus on the most important aspects of the song that draw in the listeners and make the song interesting.

I've never heard anyone in my life say "wow, I loved the dither on that song, play it again!".

5
ZenmasterRobOP•

Obviously no-one listens to a song because of the dither, but if I can find a way to make the little things better permanently, why would I? People waste their time on Facebook, I can waste my time learning the minutia of dither if I want.

-2
stinky_monkeyProfessional•

People waste their time on Facebook, I can waste my time learning the minutia of dither if I want.

I certainly have spent hours of my life tweaking fun little effects that most people probably won't notice.

I'm just being honest - it seems a little silly to put this much energy into creating an alternative for the available dither functions. Considering that dither is simply noise at the *least significant bit*, no consumer is ever going to hear it.

But I'm not stopping you, do what you want and have fun with it!

10
[deleted]•

[deleted]

1
SoCoMo•

Sounds kinda like "room tone" used in film.

Perhaps you could make a series of loopable room tones to add in as normal audio?

2
[deleted]•

[deleted]

1
ZenmasterRobOP•

Or see the forest more clearly by noticing even the lichen ;)

1
r_a_userProfessional•

A dither is designed to reduce quantisation error caused by limitations causes by the imperfect nature of audio conversion. you add in noise to decorate any quantisation error making it less noticeable and reducing dither error the lower the bit depth the bigger an issue it becomes. So for example down sampling from 24 bit audio to 16 bit audio you would apply a dither as you are reducing the bit depth so the digital noise floor will increase as you reduce the bit depth.

The distortion caused by quantisation error is harmonic distortion, if we add in a dither, the harmonics distortion will be masked by the dither noise and the the decoration also slightly reduces the harmonic distortion. ( the last bit about reducing distortion could be wrong) but it reduces the harmonic distortion form being as easy to hear and probably reduces the level of the harmonics by as the noise decorators the distortion form the source signal so the energy of the distortion is spread over the whole frequency band at a lover level.

2
HegelsGrandma•

Dither doesn’t merely mask harmonic distortion, it makes it disappear!

1
r_a_userProfessional•

Yea This is off the top of my head so not surprised I got something wrong

1
AENEAS_H•

Start with your basic tpdf dither, and modify from there

1
redditer157•

The idea behind dithering is that it’s a random noise with an average level of zero that recovers low level information in a signal by combining with it and pushing it above the level of the least significant bit,the reason noise shaping is used is that white noise is totally flat in amplitude among all frequencies thus would comprise the quality of the audio so we shape that noise using psychoacoustic models so that it only generates frequencies our ears are less sensitive to.

1
HegelsGrandma•

Quantization error is a mathematically random phenomenon that is only counteracted by adding mathematically random noise. Adding any non-random sound source (ambient noise from a city, a hooting owl) can have artistic effects and can distract listeners from noticing quantization error, but it cannot smooth out quantization error in the same way that dithering can. Yes dither can be eq’d but it’s still random, you can’t replace it with something that to your ears sounds kinda similar. It’s not dither if it doesn’t have a mathematical relation with quantization error.

0
NuclearSiloForSale•

You're looking at dithering all wrong, just send it to mastering, and then film cars on the motorway with all your new free time. If you want a crushed digital result, just find the worst MP3 algorithm you can and render/bounce to 16kbps.

-2†
ZenmasterRobOP•

I do the mastering. People send it to me. Elevate your thinking and your standards.

-17
NuclearSiloForSale•

Elevate your thinking and your standards

Elevate my standards? What exactly is the standard above paying fairly for decent mastering?

6
ZenmasterRobOP•

You are currently speaking to a mastering engineer. The standards comment was around your dismissiveness toward the idea that dither could be improved upon.

I’m not thinking about this incorrectly, you’re just not thinking about it at all.

-10
NuclearSiloForSale•

Your lack of technical understanding makes it blatant you're not somebody worth working with. Enjoy your day, and I hope nobody falls into working with you.

13