• WANTED: Happy members who like to discuss audio and other topics related to our interest. Desire to learn and share knowledge of science required. There are many reviews of audio hardware and expert members to help answer your questions. Click here to have your audio equipment measured for free!

Why is 16-bit undithered a "rough" wave, while 24-bit is smooth?

board

Active Member
Joined
Apr 24, 2019
Messages
217
Likes
154
I like to think that I understand how digital audio works pretty well, but please help me understand this:

I was reading these measurements from Stereophile:


Figure 6 shows an undithered 16-bit tone, whereas figure 7 shows the same with 24 bit:
"[T]he M51's reproduction of an undithered 16-bit tone at exactly –90.31dBFS was essentially perfect (fig.6), with a symmetrical waveform and the Gibbs Phenomenon "ringing" on the waveform tops well defined. With 24-bit data, the M51 produced a superbly defined sinewave (fig.7). "


Figure 6:

712NADfig06.jpg



Figure 7:

712NADfig07.jpg


Why are the two waves so different between 16-bit and 24-bit?
 

DonH56

Master Contributor
Technical Expert
Forum Donor
Joined
Mar 15, 2016
Messages
7,906
Likes
16,731
Location
Monument, CO
24 bits adds many more levels to the waveform so a -90 dBFS signal uses many more "steps" than the 16-bit version. The ideal SNR of a 16-bit DAC is about 98 dB compared to 146 dB for a 24-bit waveform, and 24 bits has 256 times the levels ("steps") of a 16-bit DAC (16,77,216 levels vs. 65,536 levels). So the steps are likely much smaller and there are many more of them for a 24-bit DAC, making the waveform look much smoother.

Thinking about it another way, the -90 dBFS, the 16-bit waveform only has a few levels (~3 steps), whilst the 24-bit version has many more (~768 steps), thus the smoother-looking waveform.

There are some introductory articles about data conversion linked in my signature.

HTH - Don
 
Last edited:

Ken Tajalli

Major Contributor
Forum Donor
Joined
Sep 8, 2021
Messages
2,079
Likes
1,881
Location
London UK
To add to the above:
This happens at acquisition/production. If you output a 16bit signal, and just pad it to 24, it stays the same.
Don will correct me, if wrong.
 

Matt_Holland

Active Member
Joined
Sep 3, 2023
Messages
259
Likes
433
What does this test actually show, though as all signals should have either applied? Presumably the SNR of the DAC? Isn’t it all rather academic because a dithered signal would show no steps and a smooth waveform, and we can measure SNR or SINAD in other ways.
 

Berwhale

Major Contributor
Forum Donor
Joined
Aug 29, 2019
Messages
3,957
Likes
4,963
Location
UK
My simplistic understanding is that 1 bit equals roughly 6dB (hence 16 bits giving you ~96 dB of resolution). If the signal is down at -90dBFS, then 15 bits of the 16 bit samples are 0's, leaving you 1 bit to represent the signal. With 24 bit samples, you still have 8 bits to represent the -90dBFS signal which means the resulting waveform is much smoother.
 

Matt_Holland

Active Member
Joined
Sep 3, 2023
Messages
259
Likes
433
My simplistic understanding is that 1 bit equals roughly 6dB (hence 16 bits giving you ~96 dB of resolution). If the signal is down at -90dBFS, then 15 bits of the 16 bit samples are 0's, leaving you 1 bit to represent the signal. With 24 bit samples, you still have 8 bits to represent the -90dBFS signal which means the resulting waveform is much smoother.
Yes, but it’s all academic. The signals were not dithered.

Dither explanation
 

RayDunzl

Grand Contributor
Central Scrutinizer
Joined
Mar 9, 2016
Messages
13,250
Likes
17,199
Location
Riverview FL
Why are the two waves so different between 16-bit and 24-bit?

Because the 16bit tone is using only 1 bit (and sign bit) -- just +1 or -1 or 0, at that volume level.

The 24bit file has 512 levels within that last bit of 16 bits, 255 "steps" above and 256 below zero, and zero.
 

amirm

Founder/Admin
Staff Member
CFO (Chief Fun Officer)
Joined
Feb 13, 2016
Messages
44,679
Likes
241,097
Location
Seattle Area
What does this test actually show, though as all signals should have either applied? Presumably the SNR of the DAC? Isn’t it all rather academic because a dithered signal would show no steps and a smooth waveform, and we can measure SNR or SINAD in other ways.
Not sure what you are asking. If you mean my testing, I use 24-bit test signals unless specified otherwise.
 

Matt_Holland

Active Member
Joined
Sep 3, 2023
Messages
259
Likes
433
Not sure what you are asking. If you mean my testing, I use 24-bit test signals unless specified otherwise.
Apologies there’s a typo in my post:

“What does this test actually show, though as all signals should have either dither applied”

I was asking what the graph of the un-dithered sine waves shows us, shown in the report linked to in the OP.
 

DonH56

Master Contributor
Technical Expert
Forum Donor
Joined
Mar 15, 2016
Messages
7,906
Likes
16,731
Location
Monument, CO
I don't remember why the test either, though I know I did at one time. I think it was to see if noise obfuscated the lsb-level signal, or nonlinearities corrupted the waveform.
 

Blumlein 88

Grand Contributor
Forum Donor
Joined
Feb 23, 2016
Messages
20,771
Likes
37,635
Here is the same test on a 1986 CAL Tempest CD player by Stereophile. A combination of ultrasonic noise and low level linearity issues could give a poor result. For instance what should have been a -90 db signal here was -84.6 db.

1704682797581.png

Here is a Kinergetics CD player from 1990 with the next generation of DAC chips. Still some linearity issues, less HF noise. By this point and later the test was usually irrelevant. Just a case of crossing T's and dotting I's. From Stereophile.

1704682979543.png

For instance this 2008 Stereophile test of a Sony PS-1 Playstation. Low level linearity issues below -80 db. Few products had such issues by then.
1704683190827.png
 
Last edited:

kemmler3D

Major Contributor
Forum Donor
Joined
Aug 25, 2022
Messages
3,352
Likes
6,866
Location
San Francisco
Why are the two waves so different between 16-bit and 24-bit?
In a nutshell, because at -90dB there are only a few of 16 bits left to use, where 24-bit at -90dB still has roughly 8 bits, I guess.

This is not a very consequential difference, because you can rarely hear anything that's 90dB below the signal. This is why it's often said 16 bits is enough for perfect sound quality.
 

restorer-john

Grand Contributor
Joined
Mar 1, 2018
Messages
12,727
Likes
38,928
Location
Gold Coast, Queensland, Australia
Here is a Kinergetics CD player from 1990 with the next generation of DAC chips. Still some linearity issues, less HF noise. By this point and later the test was usually irrelevant. Just a case of crossing T's and dotting I's.

If it truly were an 'irrelevant' test by ~1990, all the plots subsequently would look the same, with perfectly resolved (3) individual levels with a perfect zero cross.

But that is not the case and still isn't today, is it?

I would argue if the 16bit -90.31dB is 'irrelevant', then so is any form of low level linearity test, especially a 24bit version- when the overwhelming vast majority of digital music consumed is 16 bit in the first place.

Amir is finding plenty of D/As where they truncate or mute below 14/15 bits, so the test is still valid.
 

Blumlein 88

Grand Contributor
Forum Donor
Joined
Feb 23, 2016
Messages
20,771
Likes
37,635
If it truly were an 'irrelevant' test by ~1990, all the plots subsequently would look the same, with perfectly resolved (3) individual levels with a perfect zero cross.

But that is not the case and still isn't today, is it?

I would argue if the 16bit -90.31dB is 'irrelevant', then so is any form of low level linearity test, especially a 24bit version- when the overwhelming vast majority of digital music consumed is 16 bit in the first place.

Amir is finding plenty of D/As where they truncate or mute below 14/15 bits, so the test is still valid.
Yes irrelevant. Amir does linearity, noise and dynamic range tests. Those tell you everything this plot will with less ambiguity. This plot of undithered 16 bits is graphically easier to understand by some people I suppose. And how often is undithered 16 bit going to be a source?

I didn't show the plots once Stereophile was showing that test and then the dithered version. Even those doing poorly on the undithered 16 bit did a more reasonable job with a dithered signal.

There is the odd incompetently done device which will flunk this test or have other issues. With the small number of those and the very unlikely chance you'll be listening to undithered 16 bit this is a test not worth doing. Linearity and noise will pick up those device specific issues.
 
OP
board

board

Active Member
Joined
Apr 24, 2019
Messages
217
Likes
154
24 bits adds many more levels to the waveform so a -90 dBFS signal uses many more "steps" than the 16-bit version. The ideal SNR of a 16-bit DAC is about 98 dB compared to 146 dB for a 24-bit waveform, and 24 bits has 256 times the levels ("steps") of a 16-bit DAC (16,77,216 levels vs. 65,536 levels). So the steps are likely much smaller and there are many more of them for a 24-bit DAC, making the waveform look much smoother.

Thinking about it another way, the -90 dBFS, the 16-bit waveform only has a few levels (~3 steps), whilst the 24-bit version has many more (~768 steps), thus the smoother-looking waveform.

There are some introductory articles about data conversion linked in my signature.

HTH - Don
Thanks for the explanation, and thanks to anyone else who has responded and helped explain.
I asked because I wanted to understand why the waveforms looked like that rather than figure out if the test is relevant or not.
Before posting I had also been wondering if the explanation was due to the higher noise floor.
Thanks again everyone. You can keep the conversation going if you like, but I think I got the answer I was looking for :).
 
Top Bottom