StimpyWan
Addicted Member
Not quite. There is lossless compression and lossy compression. Lossless compression, used by audio file formats like FLAC and general-purpose compression like ZIP, uses various techniques to reduce the size of the file whilst not losing any data. For example, a lot of audio data contains repeated information.
KKKKKIIIIINNNNNDDDDDD OOOOFFFF LLLLLIIIIKKKKEEEE TTTTHHHHHHHIIIIISSSS
You can represent the above by indicating the character followed by a count, like this:
K5I5N5D6 O4F4 L5I4K4E4 T4H7I5S4
That takes less space, but represents exactly the same information. You can reliably always get back the original data, so it's losslessly compressed.
On the other hand, lossy compression actually removes data -- like the MP3 audio format -- whilst (hopefully) not being (too) noticeable. For example, my example could be lossy compressed to be:
KND OF LKE THS
It's still essentially readable, but some data has been irretrievably lost. It is lossy compression.
Unfortunately, unlike Rom data, that's repeated in adjacent sectors, audio data, at least for the CD format, has no data redundancy. The data is encoded once, in a single data stream, with no repetition. It's only the circuitry in the CD player itself, that allows it to quickly re-scan hard to read areas, and interpolate what the correct bit 'might' be, that prevents playback faults. Usually the interpolation is done correctly, and we never hear an audible fault from corrupt data. I've scanned too many test press samples, and seen too many E22, E32, and Uncorrectable Errors, that should cause audio issues, and don't, due to the player's successful interpolation.