๐Ÿ”Š How Do Computers Store Sound?

Analogue vs Digital Converter

Sound is a continuous wave - but computers only understand 1s and 0s. See how sampling turns a smooth wave into digital data, and why quality depends on how often you sample.

CS GCSE (2025) ยง1.2.1Digital Technology GCSE (2026) ยง1.1.2CS AS Unit 1; A-level Unit 4Digital Technology A-level Unit 3, 2.3.1

๐Ÿค” What's the difference between analogue and digital?

Analogue = continuous, smooth - like a real sound wave or a vinyl record. Continuous values; real signals still have noise and physical limits.

Digital = discrete, stepped - like a staircase. Stored as numbers (samples) at fixed intervals.

๐Ÿ“ธ Analogy: Imagine drawing a smooth curve, then trying to recreate it using only LEGO bricks. More bricks (higher sample rate) and thinner bricks (higher bit depth) = closer to the original.
๐ŸŽ›๏ธ

Controls

How often we measure the wave (more = better quality, bigger file)
Precision of each measurement (more bits = more accurate, bigger file)
๐Ÿ”ต Blue = original analogue wave ๐ŸŸข Green dots = digital samples ๐ŸŸฉ Green steps = sample-and-hold illustration
๐Ÿ“Š

File Size Calculator

๐Ÿ“–

Key Terms

Sample RateHow many times per second we measure the wave. Measured in Hz. CD quality = 44,100 Hz (44,100 samples every second!)
Bit DepthHow many bits used to store each sample. More bits = more precise. CD = 16 bits = 65,536 possible levels
File Size= sample rate ร— bit depth ร— duration ร— channels. This is uncompressed - MP3 compression makes it much smaller
Nyquist TheoremYou need to sample at at least double the highest frequency in the sound. Humans hear up to ~20kHz, so CDs sample at 44.1kHz (just over double)