I have been looking at this cue tools database (http://db.cuetools.net/) and saw it has a CRC for each album and each tack. What is it the CRC of. Is it the CRC of the PCM samples or the raw data on the CD? (Which red book has a special compression format right?) So could the CRC on that site be used to verify WAV files or only CDs?
If it's the format of the PCM samples do they need to be signed little endian to calculate the CRC?
Also, why is there so many different CRC's of the same album. I looked at an album that had over 10 different entries of it all with different CRC numbers.
Cyclic Redundancy Check is a trick to verify if the bits are read correctly.
You have a number on the CD
You apply a calculation to the bits
The result of the calculation and this number should be the same.
If not, part of the data (or the number itself) is mangled.
The CRC is applied to the audio data, not to the subchannel or other raw data.
The raw audio data. It does not include the wav header either.
Some reading material