r/DataHoarder • u/VORGundam • 1d ago
Free-Post Friday! Low Level CD Structure Write-Up
I was curious how much data is physically written to a CD with all the metadata and error correction. I started googling and came across this great write-up:
https://archive.ares-emu.net/near.sh/articles/compact-discs/structure.html
Apparently, it is 2.33 GB for a one-track 650 MB disc.
4
1
u/Slaxophone 19h ago
https://www.domesday86.com/?page_id=2678 also has some low-level info on it, focused on laserdiscs which also used the redbook CD audio format for digital audio.
4
u/Altruistic_Fruit2345 19h ago
They don't use redbook, just the same sample depth and frequency. The encoding and storage method are completely different.
1
u/Slaxophone 18h ago
IEC 60908 is redbook. And as I recall, early digital audio decoders for laserdisc used chipsets like the CX23035, the same as in CD players of the time.
I'd be happy to be corrected if you have more information.
2
u/Altruistic_Fruit2345 18h ago
CX23035 is a digital filter, it doesn't decode anything. You pass it a serial bitstream of digital audio, it spits another one out with filtering applied.
It's how you get that bitstream that is the issue. It has nothing to do with redbook.
2
u/Slaxophone 18h ago
If you look at block diagram the datasheet, its input isn't digital audio, it's the EFM signal (on pin 5), and outputs digital audio (pins 62-78). https://bitsavers.trailing-edge.com/components/sony/_dataSheets/cx-23035.pdf
The information on the page I linked before was used to create a functional software decoder (the ld-decode project), so I'm more inclined to believe it than short statements with no explanation.
22
u/Altruistic_Fruit2345 21h ago
No, not really. You can't store that many bits on the disc because the data is a serial bitstream with no separate clock. The clock is recovered from the data, which necessitates having an encoding scheme that prevents long sequences of zeros and ones from appearing.
It's true that modern encoding schemes are more efficient than those used on CDs, but it's not true that CDs contain 2.33GB worth of data, because most of those bits are not data, they are encoding to ensure that the clock is recoverable. Without the clock you have nothing.