QUOTE(Artie @ Dec 4 2004, 12:26 AM)
While I understand that a 320 bps mp3 has better resolution than a 128 bps mp3, and I've seen this discussed before, I'm not really sure how the number "320", or "128" relates to whatever aspect of the analog value. Is it more analogous to the sampling rate, (44.1Khz), or the dynamic resolution, (16-bit), or both?
Here is a gross explanation from someone who has never worked on a codec.
The bitrate is not an audio characteristic, although it could be compared to the sample resolution, which is an arbitrary number of bits used to describe the amplitude of a sound. A bitrate (i.e. a
data rate) is also an arbitrary number of bits, used to encode one second of a sound as a whole. Think of it as an indicator of data compression. It has no relation with the audio characteristics of the original sound file, while the compressed file does keep characteristics such as sample rate and resolution (but only when decoded).
As ThrashJazzAssassin said, you can have several files encoded at exactly the same sample rate and resolution (44.1 kHz @ 16 bits, for instance) but at various bitrates (64, 128, 192 kbps...). Those files won't actually use 44100 bits for the sample rate and 16 bits for the sample resolution, but much less, just enough to be able to reproduce the original with the same characteristics as closely as possible.
For instance, if a sound doesn't change at all for 3,000 times in a second, the codec won't have to actually write 3,000 zeros or ones to describe that small chunk of audio, but only the fact that a 0 or a 1 is repeated 3,000 times, gaining a little bit less than 3,000 bits.
Some frequencies are also often discarded by the codec because they can't be heard anyway by most people, thus leaving more bits for more important frequencies (the ones we can hear).
The bitrate is only the number of bits you want to use for compressing all of the information. The codec will try to be smart when deciding how many of those 128,000 bits it will use for every second of audio, between sample rate, sample resolution, which frequencies it will keep, etc...
In the case of an audio CD, the bitrate of a song is equal to the sample rate * the sample resolution * the number of channels. Since it is uncompressed audio, its bitrate is 1,411,200 bits per second (bps).