GCSE Computer Science · public explanation

Digital Sound Representation

Follow how sound is sampled and stored digitally. Use worked GCSE calculations to connect sample rate, sample resolution, file size and sound quality.

Read the explanation and worked examples, then choose your exam board to continue with activities and practice in your account.

OCR J277On the specificationOCR J277 1.2.3–1.2.4

Sampling, sample rate and duration; size calculations and effects of sampling settings.

AQA 8525 (2027+)On the specificationAQA 8525 3.3.7

Sampling, sample rate, sample resolution, quality and sound-file size.

Turn a continuous wave into stored measurements

An analogue sound signal varies continuously. Sampling measures its amplitude at regular time intervals. Each measurement is represented by a binary number; playback uses these values to reconstruct an approximation of the original wave.

Sample rate is the number of samples taken each second, measured in hertz. Sample resolution (also called bit depth) is the number of bits used for each sample.

MeasurementWhat changesWhat it does not mean
Higher sample rateMore measurement times each secondNot more bits per measurement
Higher sample resolutionMore possible amplitude valuesNot more samples each second

The sample values follow the wave

A sample is the amplitude at one sampling instant, not a whole section of the wave. More closely spaced instants record changes over time in finer detail. More possible amplitude levels allow closer approximations of the measured amplitudes.

A simplified four-sample signal

  1. At times 0, 0.25, 0.50 and 0.75 seconds, the encoded amplitude levels are 1, 3, 2 and 0.
  2. Using two bits per sample, store 01 11 10 00.
  3. There are four samples in one second: the sample rate is 4 Hz. Two bits allow four amplitude levels.

Real audio uses far higher rates and resolutions; these small values make the two quantities visible.

Count samples, then count bits

For uncompressed mono audio, size in bits = sample rate × duration in seconds × sample resolution in bits. Divide by 8 to convert bits to bytes. If the question gives multiple channels, also multiply by their number.

Ten seconds of mono audio

  1. Sample rate = 8,000 Hz; sample resolution = 8 bits; duration = 10 seconds.
  2. Samples: 8,000 × 10 = 80,000.
  3. Bits: 80,000 × 8 = 640,000.
  4. Bytes: 640,000 ÷ 8 = 80,000 bytes, or 80 kB in decimal units.

Do not multiply by 8 again when converting bits to bytes.

Trade storage against a closer representation

Increasing sample rate or sample resolution increases uncompressed size when the other factors are fixed. It can improve fidelity by recording more time detail or finer amplitude detail respectively. It does not make an already clipped or noisy recording automatically perfect.

Twice the duration requires twice as many samples at the same rate. Doubling both rate and resolution gives four times the data.

Continue with your exam board

The course combines lesson videos, interactive activities, topic questions and original exam mocks. Sign in to use the learning tools and save your progress; your account’s course access applies.

Independent learning resources. Not endorsed by AQA or OCR. These public introductions complement the full course and the official specification.