SLIDE 1
CSZone.co.uk
Click to advance · Arrow keys also work
Cambridge IGCSE 0478 · Topic 1 · 1.2b

Sound
Representation

Analogue vs Digital · Sampling Rate · Bit Depth · File Size

CSZoneCambridge IGCSE Computer Science 0478
Analogue to Digital

How Sound is Stored

Sound is an analogue wave — continuous and varying. To store it digitally, a microphone measures (samples) the amplitude of the wave at regular intervals. Each sample is stored as a binary number.
Sampling rate: number of samples taken per second (Hz). Higher = better quality, more data
Bit depth: number of bits used per sample. Higher bit depth = more accurate amplitude values
CD quality: 44,100 Hz sampling rate, 16-bit depth, stereo (2 channels)
Effect on Quality & File Size

Sampling Rate & Bit Depth

Higher sampling rate → more faithful recreation of sound → larger file
Higher bit depth → more possible amplitude levels → less distortion → larger file
File size = sampling rate × bit depth × duration (seconds) × channels
Example: 44100 × 16 × 60 × 2 = 84,672,000 bits = ~10 MB/min
Nyquist Theorem

Minimum Sampling Rate

The Nyquist theorem states that to accurately reproduce a sound, the sampling rate must be at least twice the highest frequency in the sound. Human hearing: up to 20 kHz, so ≥40 kHz needed — hence CD rate of 44.1 kHz.
Too low a sampling rate → aliasing — the reconstructed sound sounds different from the original
Cambridge 0478: understand how sampling rate and bit depth affect quality and file size
Exam Practice

Have a go at this question

Cambridge IGCSE 0478 style
Explain why increasing the sampling rate improves sound quality but also increases file size.
4 marks
More samples are taken per second [1] so the digital representation more closely matches the original analogue wave [1]. More samples means more data points stored [1] so the file requires more storage space [1].
Key Takeaways

What to Remember

Sound is analogue; it's sampled at regular intervals to create a digital file
Sampling rate (Hz): samples per second; higher = better quality, larger file
Bit depth: bits per sample; higher = more amplitude levels, better quality, larger file
File size = sampling rate × bit depth × duration × channels