House de Kris
Loud-n-Deep
tmtomh gives a very nice rundown of some of the digital formats in common use. I just wanted to add a couple points to his otherwise excellent comments:
Only thing I would add it that CD Audio is 2-channel, 16 bit, 44.1ksps.
WAV is a container that can hold uncompressed audio with any number of channels, at any sample rate (below, in addition to above, the CD's 44.1k), and any word width (less, in addition to more, than CD's 16 bit). It can also support a large number of compression schemes. All of the compression schemes it supports, that I know of, are lossy.
I don't know of any WAVs that are lossless. From my experience, it is either uncompressed, or lossy - but not lossless.
I'll add a comment about tagging in WAVs. The WAV container was designed with the ability to support tagging. The very first bytes in a WAV file are the offset address of where the waveform data begins. Untagged WAV files all have the exact same sized header, thus the audio starts at the exact same place. Coders of early WAV file players noticed that they all started at the same place, so they ignored reading the offset address and just jumped to the default beginning of the waveform data. Then, when WAV files did take advantage of the possibility of a variable length header due to tagging, the players that blindly started at where they thought the waveform began (as opposed to where the pointers pointed to), a loud burst of noise is heard at the start of playing (since it is trying to 'play' the tag data). That was terrible, so people just learned that WAV doesn't support tagging. Sad really, that WAV was crippled by lazy programmers.
"CD audio" is a specific audio specification: CD/redbook resolution (16 bit, 44.1kHz sample rate), no file compression, and the file format, as noted above, is LPCM, linear pulse code modulation. CD audio only shows up on CDs.
Only thing I would add it that CD Audio is 2-channel, 16 bit, 44.1ksps.
WAV is a file format: It can be CD resolution, but it also can be higher resolution (24 or 32 bit, and/or 48, 88.2, 96, 176.4 or 192kHz sample rate). It uses no file compression, and the file container is WAV.
WAV is a container that can hold uncompressed audio with any number of channels, at any sample rate (below, in addition to above, the CD's 44.1k), and any word width (less, in addition to more, than CD's 16 bit). It can also support a large number of compression schemes. All of the compression schemes it supports, that I know of, are lossy.
For sound, though, WAV is superior because it's lossless while mp3 is lossy.
I don't know of any WAVs that are lossless. From my experience, it is either uncompressed, or lossy - but not lossless.
I'll add a comment about tagging in WAVs. The WAV container was designed with the ability to support tagging. The very first bytes in a WAV file are the offset address of where the waveform data begins. Untagged WAV files all have the exact same sized header, thus the audio starts at the exact same place. Coders of early WAV file players noticed that they all started at the same place, so they ignored reading the offset address and just jumped to the default beginning of the waveform data. Then, when WAV files did take advantage of the possibility of a variable length header due to tagging, the players that blindly started at where they thought the waveform began (as opposed to where the pointers pointed to), a loud burst of noise is heard at the start of playing (since it is trying to 'play' the tag data). That was terrible, so people just learned that WAV doesn't support tagging. Sad really, that WAV was crippled by lazy programmers.
yeah nothings worse than mp3's 8 tracks are better than mp3's