16-bit limit from CD, 24 bit needs better source?

Help for Audacity on Windows.
Forum rules
ImageThis forum is for Audacity on Windows.
Please state which version of Windows you are using,
and the exact three-section version number of Audacity from "Help menu > About Audacity".


Audacity 1.2.x and 1.3.x are obsolete and no longer supported. If you still have those versions, please upgrade at https://www.audacityteam.org/download/.
The old forums for those versions are now closed, but you can still read the archives of the 1.2.x and 1.3.x forums.
hellosailor
Posts: 274
Joined: Sun Jun 22, 2008 6:11 pm
Operating System: Please select

16-bit limit from CD, 24 bit needs better source?

Post by hellosailor » Fri Aug 24, 2018 12:51 pm

Since my digital music player has usually been a smartphone, and the source of my music was mainly CD (with some high quality tapes from vinyl still in there, thanks to Audacity) I've only just recently moved up to a true DAP which can do justice to 24-bit lossless recordings.

And here's where I need a reality check. If I'm understanding it correctly, the CD medium uses 16-bit native files, so no choice of FLAC or other format is going to make it sound as good (if my ears can hear the difference) as a 24-bit "DVD" quality file, either downloaded from a 24-bit source, or recorded from one of the "better than a CD" disc sources.

Yes? No? Tempest in a teapot?

Would upsampling in Audacity just change the distortion, without improving anything that could be heard on a DAP then?

steve
Site Admin
Posts: 80677
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: 16-bit limit from CD, 24 bit needs better source?

Post by steve » Fri Aug 24, 2018 1:36 pm

hellosailor wrote:
Fri Aug 24, 2018 12:51 pm
CD medium uses 16-bit native files
Standard audio CDs don't use "files", they just have a long stream of data, plus a "table of contents" that tells the player where to start and stop for each "track".
The data is 16-bit PCM, as is a 16-bit WAV file (so CD data is very much like a 16-bit WAV file).
The sample rate of a standard audio CD is 44100 Hz.

The dynamic range of 16-bit PCM (dithered) is around 100 dB, which, if you have a big enough and good enough sound system, can go from inaudible, to jack hammer loudness (but not recommended that you turn it up that loud as you will quickly go deaf).

The frequency range for 44100 Hz sample rate (again, assuming that the sound system is good enough), goes up to around 20 kHz (which is considerably higher than most adults can hear). The lowest frequency is entirely dependent on the sound system.

Super high definition formats (example, 24-bit 192 kHz) can theoretically reproduce higher frequencies, and greater dynamic range than the standard audio CD format, so theoretically they can produce more sound that is beyond the range of human hearing, and dynamics that can make you deaf even faster, but in the real world there really no point.

There is an excellent article on the subject, by one of the lead developers at Xiph.org (the inventors of FLAC, OGG and Opus) here: https://people.xiph.org/~xiphmont/demo/neil-young.html
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

kozikowski
Forum Staff
Posts: 68902
Joined: Thu Aug 02, 2007 5:57 pm
Operating System: macOS 10.13 High Sierra

Re: 16-bit limit from CD, 24 bit needs better source?

Post by kozikowski » Fri Aug 24, 2018 1:56 pm

"better than a CD"
Better than Audio CD. Compact Disks can also be shiny, flat hard drives (Data CD) and you can put any files on there you want.
a 24-bit "DVD" quality
I wonder about that. Last I checked, entertainment DVDs use 48000, 16-bit PCM and Dolby Surround, a compressed format. You can also have a Data DVD, a shiny flat hard drive.

Koz

hellosailor
Posts: 274
Joined: Sun Jun 22, 2008 6:11 pm
Operating System: Please select

Re: 16-bit limit from CD, 24 bit needs better source?

Post by hellosailor » Fri Aug 24, 2018 2:03 pm

Koz-
In all cases I'm referring to the "Audio" products, not to just media with data files on them.
Just to make that clear.

(Still making my way through the link that Steve provided.)

steve
Site Admin
Posts: 80677
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: 16-bit limit from CD, 24 bit needs better source?

Post by steve » Fri Aug 24, 2018 3:25 pm

hellosailor wrote:
Fri Aug 24, 2018 2:03 pm
(Still making my way through the link that Steve provided.)
Hope you are enjoying it :-)

The author of that article also has some very good videos explaining the rudiments of digital audio. If you're interested, you can find them here:
https://xiph.org/video/
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

DVDdoug
Forum Crew
Posts: 9278
Joined: Fri Sep 10, 2010 11:30 pm
Operating System: Windows 10

Re: 16-bit limit from CD, 24 bit needs better source?

Post by DVDdoug » Fri Aug 24, 2018 4:47 pm

Would upsampling in Audacity just change the distortion, without improving anything that could be heard on a DAP then?
Upsampling from 16 to 24 bits does nothing, except make a bigger file with an extra byte (8-bits) full of zeros.* It's mathematically lossless and completely reversible.

Increasing the sample rate is "mathematically imperfect" but it's audibly perfect. Of course, you shouldn't do it unless you have a good reason. For example, if you are converting from CD to DVD, you'll have to upsample to 48kHz.

Intuitively, it seems "better" to convert between 44.1 and 88.2kHz than between 44.1 and 96kHz, but in practice there is filtering which involves rounding, the DSP is the same, and there's no advantage to "even numbers".
And here's where I need a reality check. If I'm understanding it correctly, the CD medium uses 16-bit native files, so no choice of FLAC or other format is going to make it sound as good (if my ears can hear the difference) as a 24-bit "DVD" quality file, either downloaded from a 24-bit source, or recorded from one of the "better than a CD" disc sources.
The guys who do scientific-blind ABX Tests have pretty-much demonstrated that "CD quality" is better than human hearing. For example, if you take a high-resolution original and downsample to 16/44.1, you won't hear a difference.** In fact, a good quality MP3 often sounds identical to the original (in a proper-blind listening test***).

Sometimes when you buy a high-resolution recording you're getting a different master or different mix, or even a different recording, so it can sometimes sound better or "just different".
as a 24-bit "DVD" quality file,
DVDs are either 16-bit 48kHz uncompressed stereo (or mono) or Dolby Digital (AC3) which is lossy compression 1-6 channel). Dolby Digital isn't an integer format so it doesn't have a bit-depth. Sometimes there is a choice between lossless (LPCM) stereo and Dolby 5.1. I'll take the lossy surround sound every time! Some of the best sounding music I own is on 5.1 channel concert DVDs.

Technically, DVD supports uncompressed 24-bit audio, but there are some strange rules that say they can't use it with the CSS copy protection. There is an oddball format called DVD-Audio that supports high resolution lossless audio but the discs are rare and most DVD players won't play it. Blu-Ray also supports high-resolution lossless.
Since my digital music player has usually been a smartphone, and the source of my music was mainly CD (with some high quality tapes from vinyl still in there, thanks to Audacity)
Of course, analog vinyl & tape is nowhere near CD quality. The "resolution" is limited by the noise floor. There are usually frequency-response variations, and sometimes with records there is distortion.
I've only just recently moved up to a true DAP which can do justice to 24-bit lossless recordings.
Most phones are quite good (flat frequency response, no audible distortion, and no audible noise). But, sometimes headphone impedance can "interact" with the phone's output impedance giving frequency response variations (this doesn't happen if you plug your phone into your stereo system or powered speakers) and sometimes a DAP can go louder without distortion than the phone.




* In Audacity, you have to make sure dither is turned-off if you want the audio "untouched".

**The ABX software is available so you can scientifically compare different file formats yourself if you wan to. An ABX test comparing your phone to your DAP isn't as simple. The devices have to level-matched, someone else has to the switching so you can be "blind", and the switching has to be done without any switching-noise that might give-away which device is being used.

*** It also turns-out that you don't need a super high-end stereo to hear compression artifacts. If you hear compression artifacts it's more-related to the program material (some sounds are easier to compress than others) and your ability to hear compression artifacts.

hellosailor
Posts: 274
Joined: Sun Jun 22, 2008 6:11 pm
Operating System: Please select

Re: 16-bit limit from CD, 24 bit needs better source?

Post by hellosailor » Fri Aug 24, 2018 5:04 pm

Doug-
"Of course, analog vinyl & tape is nowhere near CD quality. The "resolution" is limited by the noise floor. There are usually frequency-response variations, and sometimes with records there is distortion. "
No no no. That's only true for mass-market stuff.
I had a Nakamichi 582. When used with metal tape, and a "direct master" analog pressing (they were pricey, not the department store stuff) or if I used a CD as the source for that, the tapes made by the Nak582 could not be distinguished from the originals. High end cassette systems, and there were many of them, could do a 20-20k tone range just as well as most open reel decks, and better than some.
Yes, there can be distortions. When mine was new, everything sounded off, just a little too slow. And the tech at Nakamichi ran some tests and then looked up at me, because I had said "It sounds like the difference between a European middle C and an American middle C" (440 Hz versus 444 Hz) and said "You know, it IS almost 1% off". The deck was quickly recalibrated.
It couldn't *improve* the source, but it could readily match it, when maintained properly.

What bugs me the most about phones, is that they all have a 16-click volume control. Would anyone buy a TV or hifi that only had 16 volume levels? HellNo. This one is too loud, that one is too soft, and there's nothing in between. So, I've been looking at DAPs. Which can also generally carry a larger library, and not run down my phone over the weekend. And handle more than MP3.

On different masters...I'm very aware of that. Led Zep keeps remixing rereleases, damned if I know what's up on which. CSNY remixed from lp to cd, and there are whole new instruments visible. Which is not necessarily a good thing. And then, god bless their little money-grubbing souls, the "record" industry has been splitting tracks and entering metadata in a manner that only trained baboons could be doing. My old LP's, manually track cut during conversion, are cut in the right places. Lots of new CDs? Simply cut wrong. Group names spelled wrong, amateur night from the production groups these days.

steve
Site Admin
Posts: 80677
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: 16-bit limit from CD, 24 bit needs better source?

Post by steve » Fri Aug 24, 2018 6:12 pm

hellosailor wrote:
Fri Aug 24, 2018 5:04 pm
I had a Nakamichi 582. When used with metal tape, and a "direct master" analog pressing (they were pricey, not the department store stuff) or if I used a CD as the source for that, the tapes made by the Nak582 could not be distinguished from the originals. High end cassette systems, and there were many of them, could do a 20-20k tone range just as well as most open reel decks, and better than some.
but the dynamic range, even of a well maintained Nakamichi, is substantially less than 16-bit PCM (around 30 dB less, which works out as about 30 times less than what 16-bit PCM is capable of :shock: ) That is not knocking Nakamichi, it is saying just how good the CD format is (though the dB range that is actually used in commercial recordings is typically far less than the available dynamic range of CD or a good Nakamichi).

The main thing that makes Nakamichi sound so darned good, is that the analogue electronics and mechanical build quality is so good. Sadly I never owned a Nakamichi, but I did own a rather nice Sony reel to reel (in fact, two of them!). In one of my past lives I was an electronics engineer, and I took the opportunity of testing the pre-amps in the Sony (all discrete components), and found (to the limits of the test equipment) that it was dead flat from 10 Hz to 25 kHz!
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

kozikowski
Forum Staff
Posts: 68902
Joined: Thu Aug 02, 2007 5:57 pm
Operating System: macOS 10.13 High Sierra

Re: 16-bit limit from CD, 24 bit needs better source?

Post by kozikowski » Fri Aug 24, 2018 7:29 pm

a good quality MP3 often sounds identical to the original
Perfectly correct as an end-user.

Perfect Performance > Compressed Format > Listening Enjoyment.

We should not take this as unlimited license to convert between formats. You still can't make an MP3 from an MP3 without increased sound damage. The compressed formats work by carefully hiding the effect. Anything that disrupts the magic is going to cause problems.

Koz

roadsterUK
Posts: 185
Joined: Sat Apr 15, 2017 8:00 pm
Operating System: Windows 10

Re: 16-bit limit from CD, 24 bit needs better source?

Post by roadsterUK » Sat Aug 25, 2018 8:25 am

You have posted this question on a technically biased forum and as a result have received a storm of technical responses and I am not going to add to them or offer criticism. But I strongly advise you to trust your own ears and compare the formats for yourself on the best audio equipment you can afford within reason. Your own musical enjoyment is all that matters.

Post Reply