GCSE · Computer Science · AQA · Spec 8525
Analogue to digital sound
The song on your phone is just a very long list of numbers. So how does a smooth sound become numbers, and what gets lost?
Computer Science · Sound
Record a sound, one snapshot at a time
Picture a sound that swells from silence to its loudest, then fades away again. A computer can't keep that smooth wave, so it takes snapshots instead. Each bar below is one sample: the wave's height (its amplitude) at a single instant. Paint the 16 bars so they follow the swell: drag across the strip, or use the arrow keys with the Previous and Next buttons. Now try to set a bar halfway between two levels. You can't, and that's the point. This strip stores each sample in 3 bits, so there are only 8 levels (0 to 7); level 5, for instance, is stored as the binary number 101. The 16 samples cover 2 seconds, which is a sampling rate of 8 Hz (8 samples every second). Real recordings take far more samples than this toy strip; it is kept small so you can see every single one.
WHAT YOU'VE LEARNED
A quick recap of today's lesson.
How a smooth sound wave turns into numbers, and what you gain and lose when you measure it more often or more finely
What you need to know
- Real sound is an analogue wave: smooth, continuous, and its amplitude can take any value at any instant.
- A computer can only store and process binary, so the wave has to be converted to digital first.
- That conversion is sampling: measuring the wave's amplitude (its height) at regular, fixed intervals of time.
- One measurement is one sample, and each sample is stored as a binary number.
Have a goYour mate is sure that one sample is 'a little two-second clip of the song, like a free sample'. What would you tell them?
A sample is just one number: the wave's height at a single instant.
The everyday word means a clip, but here a sample is a single measurement of amplitude, stored as one binary number, not a stretch of sound.
- The finished file is just those binary numbers, one after another, in the order they were taken.
- Nothing between two samples is captured, so a digital sound is always an approximation of the original.
- Sampling rate means samples taken per second, measured in hertz (Hz). Measure more often and you follow the wave's shape more closely.
Have a goA recorder takes 500 samples in half a second. What is its sampling rate?
1,000 Hz
The rate counts samples per whole second: 500 in half a second is 1,000 each second. Answering 500 Hz forgets to scale up to a full second.
- Sample resolution means bits per sample. With n bits there are 2^n levels, so each sample lands nearer the true height.
Have a goSamples use 4 bits, giving 16 levels. Someone adds one more bit and says that gives 17 levels. How many are there really?
32 levels
An extra bit doubles the number of levels (2^5 = 32); it doesn't just add one more level on the end.
- Turn up either setting and the copy gets closer to the real sound, but there are more bits to store, so the file is bigger.
The big picture
A sound is an analogue wave: smooth and continuous. To store it, a computer measures the wave's amplitude at regular, fixed intervals. Each measurement is a sample, and each sample is stored as a binary number. The sampling rate (samples per second, in hertz) and the sample resolution (bits per sample) decide how closely that list follows the wave. Raise either one and you get a closer copy, but more bits to store.
Key points
Worked example
Problem
A sound is sampled at five instants. On a scale whose levels are the whole numbers 0 to 7, the amplitude readings are 1.2, 3.8, 6.1, 4.4 and 2.0. Store each sample using 3 bits.
⚠ Watch out
Mixing up the two settings. The sampling rate is how many measurements are taken every second. The sample resolution is how many bits each measurement gets. Neither one is loudness, and neither one ever makes the recording a perfect copy.
Memory hook
Rate runs across, resolution runs up. Picture the staircase from the top of the page: a higher sampling rate gives you more steps across, and a higher resolution gives you shorter steps up. Either way, the staircase hugs the wave more closely, and you pay for it in bits.
Check yourself
Picture the strip at the top of the page. Suppose you kept the 3 bits per sample but only had 8 bars instead of 16. What would get worse, and what would stay the same?
Flashcards
(13)What is an analogue sound wave?
Why must a sound be converted before a computer can store it?
What is a sample?
What is the sampling rate?
What is the sample resolution?
How many levels do n bits give?
What is left out of a digital recording?
What does raising the sampling rate do?
What does raising the sample resolution do?
Why do both improvements need more storage?
Is a digital recording an exact copy of the sound?
What happens to a reading that falls between two levels?
What does a digital sound file actually hold?
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 AQA GCSE Computer Science topics
How this lesson was checked. This AQA GCSE Computer Science (specification 8525)lesson 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 29 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.