Text, Sound and Images · Cambridge syllabus 1.2 · Lesson 2 of 3
Sound Representation
Sampling measures an analogue sound’s amplitude at regular intervals. Sample rate controls how often measurements occur; sample resolution controls the number of possible amplitude levels. More samples and more bits per sample usually improve representation but increase uncompressed storage.
By the end, you can
- Understand that a sound wave can be sampled and converted into binary data.
- Understand the role of the sample rate.
- Understand the role of sample resolution.
- Explain how sampled sound is stored digitally.
- Explain how increasing sample rate affects accuracy.
- Explain how increasing sample resolution affects accuracy.
- Explain how sample rate and resolution affect file size.
- Compare digital sound representations.
Sampling sound
Sound is a continuous wave, and a computer can only store discrete numbers, so the wave has to be measured at intervals. That is sampling: the amplitude of the wave is recorded at regular moments and each measurement stored as a binary number.
Two settings control the result. The sampling rate is how many samples are taken per second, measured in hertz — CD audio uses 44 100 Hz. The sampling resolution, or bit depth, is how many bits store each sample — CD audio uses 16.
Between the samples, nothing is recorded, so the stored version is an approximation. More samples per second means the gaps are smaller and the copy is closer to the original.
Worth remembering
- Sampling records the amplitude at regular intervals as binary numbers.
- Sampling rate is samples per second; resolution is bits per sample.
Sound quality and file size
Both settings trade quality against file size, and the relationship is direct: file size = sample rate × sample resolution × length of the recording in seconds, with the result in bits.
A 10-second recording at 32 000 samples per second with a resolution of 16 bits is 32 000 × 16 × 10 = 5 120 000 bits. Dividing by 8 gives 640 000 bytes, and dividing by 1024 gives 625 KiB. Doubling either the rate or the resolution doubles the file.
A higher rate captures higher frequencies and a higher resolution captures quieter detail with less distortion, so both improve accuracy — and both cost storage and bandwidth in proportion.
The answer to "why not always use the highest settings" is that the file becomes larger than is useful, takes longer to transmit, and beyond a point the improvement cannot be heard.
- file size = sample rate × sample resolution × length
- In bits. Divide by 8 for bytes, then by 1024 for each larger unit.Rate in Hz, resolution in bits per sample, length in seconds.
Worth remembering
- Doubling the rate or the resolution doubles the file size.
- Divide by 8 for bytes, then by 1024 for each unit up: KiB, MiB, GiB.
Worked example
A recording at 8000 samples/s, 8 bits/sample and 10 s requires 8000 × 8 × 10 = 640000 bits = 80000 bytes, excluding metadata.
Practice
Warm-up · not marked
Check your understanding
Answer in your own words, then compare with the worked answer. Nothing here is saved or scored.
Worked answer
16000 × 16 × 2 ÷ 8 = 64000 bytes, excluding headers and compression.
Check your method, units and explanation against it.
Marked practice
Set 1 of 4 · easiest first · Checked as you go, with the worked answer. Sign in or create a free account to save your progress.