GCSE · Computer Science · AQA · Spec 8525
Analogue to digital sound
Inside your phone, your favourite song is a very long list of numbers. How does a smooth sound become numbers, and what gets lost on the way?
Computer Science · Sound
Record a sound, one snapshot at a time
Imagine a sound that swells from silence to its loudest and then fades away again. A computer can't keep a smooth wave, so it takes snapshots instead. Each bar below is one sample: the height of the wave (its amplitude) measured 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. Watch what happens as you try to place a bar between two levels. This strip stores each sample in 3 bits, so there are 8 levels (0 to 7), and 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
- Sound is an analogue wave: smooth and continuous. A computer stores only binary, so the wave has to be converted.
- Sampling means measuring the wave's amplitude at regular, fixed intervals. Each measurement is a sample, stored as a binary number.
- The sampling rate is the number of samples per second. The sample resolution is the number of bits per sample, and n bits give 2^n levels.
- Raising the rate or the resolution gives a closer copy, and costs more bits. Only the samples are stored, never the wave between them.
The big picture
A sound is an analogue wave: smooth and continuous. To store it, a computer measures the wave's amplitude at regular intervals. Each measurement is a sample, and each sample is stored as a binary number. The sampling rate (samples per second) and the sample resolution (bits per sample) decide how closely that list follows the wave. Raising either gives a closer copy but needs more bits.
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
Don't mix 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 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. Both make the staircase hug the wave more closely.
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 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.