KS3 · Computer Science
Representing sound in binary
A song on your phone isn't sound at all: it's numbers. Ten seconds of stereo music is over fourteen million bits. Here's where every one comes from.
Computing · Representing sound
This is what the computer actually stores
Each bar is one sample: a single measurement of the sound wave. With 4 bits per sample, each one is a whole number from 0 (0000) to 15 (1111), the 16 levels. The first sample is level 8, stored as 1000. Reshape the wave and you change the stored numbers, and the numbers ARE the sound the speaker plays back. What doesn't change: 16 samples × 4 bits = 64 bits, whatever you draw. 44100 Hz means 44,100 samples a second, so this strip is under half a thousandth of a second of sound.
From air to bits, and back to air
Watch the sound change form at each stage. The microphone and the speaker do the same job in opposite directions.
- A pressure wave travelsThose ups and downs in air pressure are the sound wave. Sound is a wave of changing air pressure.
- The device samples and stores itThe device measures that voltage over and over, and stores each measurement as bits. Now the sound is data: a long run of binary numbers.
- Back to electricityTo play the sound, the device turns the stored digital data back into electrical signals.
Predict, then check
A channel is a single stream of audio. Mono has one, stereo has two, surround sound has more.
You save the same piece of music three times: in mono, in stereo and in surround sound. The sample rate and bit depth stay the same. What happens to the file size?
WHAT YOU'VE LEARNED
A quick recap of today's lesson.
A computer can't keep a sound wave. What it keeps is measurements of the wave, thousands every second, each one written in binary.
What you need to know
- Digital devices represent sound as sequences of bits (binary digits).
- Sound is a wave: vibrations make air particles squeeze together and spread apart, creating variations in air pressure.
- A microphone turns variations in air pressure into variations in voltage; a speaker turns variations in voltage back into variations in air pressure.
- A sample is a single measurement of the sound wave, and each sample is stored as bits.
- File size in bits = sample rate × sample resolution × duration (in seconds) × number of channels.
The big picture
Digital devices represent sound as sequences of bits. Sound is a wave of changing air pressure; a microphone turns it into changing voltage, the device samples that signal and stores each sample as bits, and on playback the data becomes electrical signals again for a speaker to turn back into air pressure. Sample rate is how many samples are taken each second; sample resolution (bit depth) is how many bits store each sample. Higher settings and more channels give better or fuller sound but bigger files. Size in bits = sample rate × sample resolution × duration × number of channels; divide by 8 for bytes.
Key points
Worked example
Problem
A music app saves a 30-second clip in stereo, at 44,100 samples per second and 16 bits per sample. (a) How big is the file in kilobytes (1 kilobyte = 1,000 bytes)? (b) The app's data-saver setting records the same clip in mono with 8 bits per sample instead. How big is it now, and what is the cost?
⚠ Watch out
Mixing up sample rate and sample resolution. Sample rate is how many samples are taken each second (like 44,100 per second). Sample resolution, or bit depth, is how many bits store each sample (like 16 bits). If a question says 'bits per sample', that's the resolution, not the rate.
Memory hook
Rate is how OFTEN, resolution is how PRECISELY. For the size: Rate × Depth × Duration × Channels, then ÷ 8 for bytes.
Check yourself
Cover the page. A stereo clip is 3,000 kilobytes. Without a calculator, how big is it in mono at the same settings? Then say what sample rate and sample resolution each mean.
Flashcards
(12)How do digital devices represent sound?
What is a sound wave, physically?
What does a microphone do?
What does a speaker (or headphones) do?
What is a sample?
Sample rate
Sample resolution (bit depth)
What is an audio channel?
Mono, stereo, surround: how many channels?
What happens to file size when quality goes up?
Formula for sound file size in bits
How do you turn bits into kilobytes?
Tap any card to flip it, or use Study as deck to go through them one at a time. In the full lesson these run as a spaced-repetition deck — you rate each card Hard, Good or Easy and the tricky ones keep coming back until they stick.
Learning with Lightbulb is opening soon
You can use this lesson now. Join the waitlist and we'll let you know when the full Lightbulb experience is ready.
Keep me postedMore KS3 Computer Science topics
- Abstraction in computational thinking
- Adding binary numbers
- Binary to denary conversion
- Boolean logic: AND, OR, NOT
- Bubble sort
- Building truth tables
- Client-server vs peer-to-peer
- Collecting and recording data
- Comparing sorting algorithms
- Compressing data
- Creating a 3D animation
- Decomposition: splitting problems up
How this lesson was checked. This KS3 Computer Sciencelesson was published through Lightbulb Learning's human-designed editorial process — the educational standards, accuracy rules and publication checks it must pass were authored and approved by Philip Halpin. It passed subject-specific assessment, automated educational checks and technical publication verification before going live (publication checks completed 2 October 2026). Published pages are monitored, human spot-checking is ongoing across the lesson library, and anything found wrong is corrected or withdrawn. How our lessons are made and checked. Spotted a mistake? Email hello@lightbulblearning.co and we'll review it.