Representing sound — AQA GCSE Computer Science
Analogue sound waves must be converted into digital data using an Analogue-to-Digital Converter (ADC) through a regular measurement process called sampling. An audio recording file size and playback fidelity depend directly on the sample rate (Hz), sample resolution (bit depth), and duration.
Representing sound explained
Sound is a continuously varying pressure wave, but a computer stores it as a sequence of numbers.
Read the full explanation
To digitise sound, an analogue-to-digital converter measures the wave's amplitude at regular time intervals; each measurement is a sample. The number of samples taken per second is the sampling rate, measured in hertz, where 1 hertz means one sample per second. Each sample is then stored using a fixed number of bits, the bit depth, which sets how many distinct amplitude values can be recorded: n bits give 2ⁿ levels. A higher sampling rate captures rapid changes more faithfully, and a greater bit depth reduces the rounding error between the true wave and the stored value, so both raise file size. For example, a rate of 44 100 Hz with 16-bit depth stores 44 100 samples each second, each as one of 65 536 levels.
Your focus
- Explain how a continuous sound wave is converted into a series of stored samples.
- Define sampling rate in hertz and bit depth in bits, and relate each to accuracy and file size.
- Apply the relationship that n bits give 2ⁿ amplitude levels to a given example.
Which command word is this?
Perform mathematical operations using the sound formula. Show intermediate steps and state the correct units in the final answer.
Representing sound exam tips
Topic Overview
Sound exists in the real world as continuous analogue waves with varying frequencies and amplitudes. Because computers are digital systems that process discrete binary values (1s and 0s), analogue audio signals must be converted to digital form through a process called sampling, handled by an Analogue-to-Digital Converter (ADC).
Understanding how sample rate and sample resolution govern digital sound representation is fundamental in Computer Science. It allows developers and engineers to calculate data storage needs, manage network bandwidth, and balance audio fidelity against resource constraints.
Key Concepts
- →Analogue-to-Digital Conversion (ADC): The hardware process that measures continuous analogue sound waves at regular intervals and converts the amplitude into binary values.
- →Sample Rate: The frequency with which samples are recorded per second, measured in Hertz (Hz).
- →Sample Resolution (Bit Depth): The number of bits allocated to represent the amplitude of each individual sample.
- →File Size Calculation: Audio file size (in bits) = Sample rate (Hz) * Sample resolution (bits) * Duration (seconds).
- →Quality vs Storage Trade-off: Increasing sample rate or sample resolution produces audio closer to the original waveform but increases storage requirements and transmission times.
Marking Points
- States that sound is sampled at regular time intervals, converting a continuous analogue wave into discrete measurements.
- Defines sampling rate as the number of samples per second, measured in hertz, with 1 hertz equal to one sample per second.
- Explains that bit depth is the number of bits used to store each sample, giving 2ⁿ possible amplitude levels for n bits.
- Links a higher sampling rate to more accurate capture of rapid changes in the wave and to larger file size.
- Links a greater bit depth to finer amplitude resolution, less rounding error and larger file size.
- Describes playback as converting stored sample values back into an output signal that drives a speaker.
- Uses a correct worked example, such as 44 100 Hz at 16-bit giving 44 100 samples per second from 65 536 levels.
Examiner Tips
- 💡Define each term precisely before explaining its effect, so sampling rate and bit depth are clearly distinguished.
- 💡Always pair each factor with its consequence for accuracy and for file size, since both are usually wanted.
- 💡Include a short numerical example to show the relationship between bits and levels, for example 16 bits giving 65 536 levels.
- 💡Always convert duration given in minutes into seconds before carrying out any file size calculations.
- 💡When explaining changes to sample rate or bit depth, discuss both fidelity (audio quality) and practical constraints (file size or transmission speed).
- 💡Use accurate terminology such as 'amplitude', 'quantization error', and 'reconstructed wave' instead of vague phrases like 'cleaner sound'.
Common Mistakes
- Confusing sampling rate with bit depth: the rate is how often samples are taken per second, while bit depth is how many bits describe each sample.
- Thinking a higher sampling rate alone gives more amplitude levels; amplitude resolution is set by bit depth, not by the rate.
- Writing that 1 hertz means 1000 samples per second; 1 hertz is exactly one sample per second.
- Treating the stored file as a continuous wave rather than a sequence of discrete numeric samples.
- Believing that increasing the sample rate makes the sound louder: Volume is determined by amplitude values, not by how often samples are recorded.
- Assuming higher sample rates make the audio track play faster: Playback speed remains constant; sample rate only alters the frequency range and accuracy of the reproduced sound wave.
- Forgetting to divide by 8 when an exam question asks for file size in bytes: The primary formula produces an answer strictly in bits.
Revision Plan
- 1Day 1: Learn definitions and units for analogue sound, sampling, sample rate (Hz), and sample resolution (bits).
- 2Day 2: Practice using the file size formula with varying units (converting minutes to seconds, bits to bytes and kilobytes).
- 3Day 3: Write comparative paragraphs evaluating real-world scenarios, such as telephony voice calls versus studio music production.
- 4Day 4: Test active recall with past exam questions and check mark scheme criteria for the calculate and explain command words.
Exam Question Types
- 📋Direct Calculation: Multi-step mathematical questions calculating audio file size from given parameters, often requiring unit conversions.
- 📋Explain Trade-offs: Questions asking how altering sample rate or bit depth affects both output quality and data storage.
- 📋Conceptual Definitions: Short-answer questions testing precise definitions of sample rate, sample resolution, or the role of an ADC.
Command Word Expectations (AQA)
Perform mathematical operations using the sound formula. Show intermediate steps and state the correct units in the final answer.
Identify a specific cause and provide an analytical chain of reasoning showing its effect (e.g., higher sample rate captures more wave fluctuations, resulting in higher fidelity but larger storage footprint).
Provide a single concise fact, unit, or definition with no elaboration required (e.g., stating 'Hertz' as the unit for sample rate).
How Students Lose Marks (Examiner Pitfalls)
Step-by-Step Worked Solutions
Question: A voice note lasts for 40 seconds. It is recorded with a sample rate of 8,000 Hz and a sample resolution of 8 bits. Calculate the total file size in kilobytes (KB).
- 1.Step 1: Identify all given variables: Sample rate = 8,000 Hz, Sample resolution = 8 bits, Duration = 40 seconds.
- 2.Step 2: Apply the file size formula: File size (in bits) = Sample rate * Sample resolution * Duration.
- 3.Step 3: Calculate the size in bits: 8,000 * 8 * 40 = 2,560,000 bits.
- 4.Step 4: Convert bits to bytes by dividing by 8: 2,560,000 / 8 = 320,000 bytes.
- 5.Step 5: Convert bytes to kilobytes by dividing by 1,000 (standard metric prefix used by AQA): 320,000 / 1,000 = 320 KB.
Question: Explain two consequences of reducing the sample rate of an audio recording from 44.1 kHz to 11 kHz.
- 1.Step 1: Analyse what reducing the sample rate means mechanically: fewer samples are taken per second, reducing the upper frequency limit captured.
- 2.Step 2: Explain the consequence on audio quality: the recorded sound will lose high-frequency detail and sound muffled or distorted because the analogue curve is represented with less precision.
- 3.Step 3: Explain the consequence on file storage/transmission: fewer samples require fewer total bits, resulting in a substantially smaller file size that uses less secondary storage and downloads faster.