Sampling Sound into Numbers
Recording sound by measuring the wave thousands of times a second and storing each measurement as a binary number. Sample rate and bit depth change the quality and the size together.
What a learner can do afterwards
- Explain what a sample is and what the sample rate counts
- Say what a higher sample rate or bit depth does to quality and to file size
- Explain why a digital recording can never hold the whole wave
1 · Read
Sound in the air is a smooth wave of pushes and pulls that never stops changing. A computer cannot store smooth, so it measures the height of the wave at many tiny steps, much like a picture stores many tiny pixels. Each stored measurement is called a sample, and playing the numbers back fast lets your ear hear the wave again.
A music file measures the wave 44,100 times a second, and that count is its sample rate. More samples per second means the copy follows the original more closely. A lower rate keeps less detail, so the copy drifts further from the real wave.
Bitrate counts the bits of audio stored each second. Quality and size move together, just as with pictures. A higher sample rate, finer stored numbers, or a higher bitrate all keep more detail and all make a bigger file that fills storage faster. That is why one song can sound cleaner yet cost far more space than another copy.
Remember the gap: the wave is continuous, but samples are finite steps. A digital recording can never hold the whole wave, only close snapshots of it.
Samples freeze a smooth wave as numbers, and more of them means better sound in a bigger file.
2 · Watch
Take it off screen
Where it sits
8 questions wait behind this lesson, each with its answer explained. Every answer feeds the sky: stars light as they are learned, and dim when it is time to come back.