---
title: "Sampling Sound into Numbers"
description: "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."
canonical: https://lightmysky.com/learn/computing/sampling-sound-into-numbers-mt_yTA4W-yFjy
source: https://lightmysky.com/learn/computing/sampling-sound-into-numbers-mt_yTA4W-yFjy.md
retrieved: 2026-09-12
---

> **Agent view.** This is the Markdown twin of the page, for tools and assistants.
> When to use this site, and the call that answers each job: https://lightmysky.com/agent-instructions.md
> API description (OpenAPI 3.1): https://lightmysky.com/openapi.json · Authentication: https://lightmysky.com/auth.md
> Pricing: https://lightmysky.com/pricing.md · Catalog: https://lightmysky.com/llms.txt · Full catalog: https://lightmysky.com/llms-full.txt
> Every machine-readable file on this domain: https://lightmysky.com/.well-known/ai-catalog.json
> Ask for Markdown with `Accept: text/markdown`, a `.md` address, or `?mode=agent`.

# 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.

Subject: Computing · Area: Computer Systems · Ages 14 to 16
Page: https://lightmysky.com/learn/computing/sampling-sound-into-numbers-mt_yTA4W-yFjy

## Ready when they can

- 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

## Lesson: Freezing sound into numbers

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.

**Example.** 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.

**Recap.** Samples freeze a smooth wave as numbers, and more of them means better sound in a bigger file.

## Practice

8 questions on this page, each with its working shown.

## Needs first

- [Bitmap Images: Pixels, Resolution and Colour Depth](https://lightmysky.com/learn/computing/bitmap-images-pixels-resolution-and-colour-depth-mt_-Tr40QK8sN)
- [Analog and Digital Signals](https://lightmysky.com/learn/science/analog-and-digital-signals-mt_gg5-bUckYX)

## Opens up

- [How Recording Changed Music](https://lightmysky.com/learn/arts-and-music/how-recording-changed-music-mt_CP9uGPaeez)
- [Compression: Lossy and Lossless](https://lightmysky.com/learn/computing/compression-lossy-and-lossless-mt_lx2U-B9CFa)
