Sound Data Representation (OCR GCSE J277) — sampling, sample rate, bit depth

Board-friendly visual: analogue waveformsampling (amplitude measured at regular intervals) → quantisation (bit depth). Includes file size calculation and optional audio playback (original vs quantised).

GCSE controls Simple + clear
Sampling interval
Quantisation levels
Bit rate
File size
Key GCSE sentence (say it like OCR):
Sampling is when the amplitude of the sound wave is measured at regular intervals and stored as binary.
Sample rate = samples per second (Hz). Bit depth = bits per sample.
File size method:
size(bytes) = (sampleRate × bitDepth × channels × duration) ÷ 8
Visual explanation Blue (original) • Green (samples) • Red (quantised)
Waveform view (time window)
Change sample rate (dot spacing) and bit depth (step choices)
Original (analogue idea) Samples (measured amplitudes) Quantised steps (bit depth) Quantisation error (magnified)
Quantisation error (magnified so bit depth is obvious)
Lower bit depth → bigger error “wiggle”
Teacher move: set bit depth = 3 or 4 first, then move to 8 and 16. Use the yellow error trace to make the improvement visible.