Sound is a continuous analogue signal — a pressure wave that varies smoothly over time. Computers, however, can only store discrete digital values. To store sound digitally, the analogue signal must be converted to digital form using an Analogue-to-Digital Converter (ADC).
Sampling is the process of measuring the amplitude (volume) of an analogue sound signal at regular time intervals and storing each measurement as a binary number.
Sample rate is the number of samples taken per second, measured in Hertz (Hz) or kHz.
According to the Nyquist theorem, the sample rate must be at least twice the highest frequency in the sound to reconstruct it accurately. For human hearing (up to ~20 kHz), a sample rate of ≥40 kHz is needed.
Bit depth is the number of bits used to store each sample. It determines how many different amplitude levels can be represented:
Number of amplitude levels = 2bit depth
File size (bits) = Sample rate × Bit depth × Duration (seconds)
For stereo (two channels), multiply by 2.
Calculate the file size of 3 minutes of stereo audio at 44,100 Hz sample rate and 16-bit depth:
Because amplitude values are rounded to the nearest digital level, there is always a small difference between the true analogue value and the stored digital value. This is called quantisation error or quantisation noise. Higher bit depth reduces quantisation error.
When playing back audio, the stored digital values are converted back to an analogue signal by a Digital-to-Analogue Converter (DAC). This signal is then amplified and sent to speakers or headphones.
| Factor | Effect of increasing | Trade-off |
|---|---|---|
| Sample rate | Better frequency response — captures higher-frequency sounds | Larger file size |
| Bit depth | More amplitude levels — less quantisation noise, better dynamic range | Larger file size |
8 questions · instantly marked · Cambridge 9618 standard
| Term | Definition |
|---|
10 questions · 10 marks · 10 minutes