What does the sample rate and sample size of audio means

audiobitrate

In a MP3 audio file, I know theres a bitrate of audio which tells the number of bits in seconds are being used by the player, in other words a measure of quality of audio.

But I'm confused with the terms sample rate and sample size. Are they independent of the bitrate or quality of sound? or Can it be explained in some understandable terms?

Best Answer

Here is a great article on all three terms you're asking about. To summarize, here are the three definitions:

  1. bitrate: simply amount of data per second, this can vary within a file (variable bit rate) or have a static value
  2. sample rate: a frequency of how many times audio is measured per second, usually measured in kilohertz (kHz); a usual number you might see is 44.1kHz. This is tied directly to bit depth or the number of bits measured in each cycle

So at this point, we have to do some math and see that bit rate is bits per second (usually measured in Mbits/seconds), so bit rate = sample rate x bit depth. As far as I know, your sample size would simply be one of these one-second chunks of data.

Doing the pure math will reveal that these files would be very large, however there are a number of compression algorithms employed to keep the files lower without losing significant quality.

Related Question