Skip to content
Cambridge AS & A Level9618

Sound

Computer Science 9618 Chapter Notes

Last updated November 2026

ShareWhatsAppPost

Sound notes as a printable PDF.

Read online free. Download a watermarked copy with a free account.

Read the notes

The full Sound notes as text: skim, search, and jump between subtopics.

~10 min read

1. Analogue data and the three terms

Analogue data is data values that are continuously changing. A sound wave is analogue.

Sound is recorded by sampling: taking measurements at regular intervals and storing the values.

The sampling rate is the number of samples taken per second. The sampling resolution is the number of bits used to store each sample.

Examiner insight

“Answers such as ‘data that is not digital’ were too vague at this level of study.”

Worked example 13 marks

A teacher records an audio file of the student playing the piano during a music lesson. Complete the table by giving the term for each description about sound representation on a computer.

DescriptionTerm
the number of times the amplitude is measured per time interval
the number of bits used to store each amplitude measurement
the type of sound wave before it is recorded by a computer
  1. 1

    sampling rate [1]

  2. 2

    sampling resolution [1]

  3. 3

    analogue [1]

2. How sound is encoded

The amplitude of the sound wave is recorded a set number of times a second. Each of these measurements is a sample.

Each sample is given a corresponding binary number. The number of bits available is the sampling resolution.

The binary numbers are saved in sequence.

Examiner insight

“Candidates found it more challenging to describe how the samples were converted to a limited number of binary values, given by the sampling resolution, and then stored sequentially.”

Worked example 13 marks

The video includes a sound recording. Describe how sound is represented in a computer.

  1. 1

    The amplitude is recorded a set number of times a second [1]

  2. 2

    Each amplitude is given a corresponding binary number [1]

  3. 3

    The binary numbers are saved in sequence [1]

3. Changing the sampling rate

A sampling rate of 44.1 kHz means the sound wave is measured 44 100 times each second.

A higher rate gives smaller time gaps between samples. The digital wave is closer to the analogue wave and the quantisation errors are smaller.

More samples are taken, so more bits are stored altogether. The file is larger.

Examiner insight

“Some candidates need to understand that imprecise statements such as the sampling rate is the rate of taking samples are not enough at this level of study.”

Worked example 12 marks

Bobby is recording a sound file for his school project. He repeats the recording of the sound several times, with a different sample rate each time. Describe the reasons why the sound is closer to the original when a higher sample rate is used.

  1. 1

    Smaller time gaps between the samples [1]

  2. 2

    This makes the digital sound wave more accurate, with smaller quantisation errors [1]

4. Changing the sampling resolution

A higher resolution means more bits per sample. A wider range of amplitudes can be stored.

Each stored value is closer to the analogue amplitude, so the quantisation errors are reduced. The digital wave is closer to the original.

A lower resolution does the opposite: fewer values, larger errors. Say whether it is increased or decreased.

Examiner insight

“Many responses included statements about file size, which did not answer the question.” “Some candidates need to understand that it needs to be made clear in their answers whether the sample resolution is being increased or decreased.”

Worked example 13 marks

Explain the impact of changing the sampling resolution on the accuracy of a sound recording.

  1. 1

    Increasing the resolution: the number of bits used for each sample is increased [1]

  2. 2

    so there are more values available to represent each sample [1]

  3. 3

    Each binary amplitude is closer to the analogue amplitude, so quantisation errors are reduced [1]

5. File size and the trade-off

File size depends on the sampling rate, the sampling resolution and the duration of the recording. A larger rate or resolution stores more bits, so the file grows. A longer recording also grows the file.

Better accuracy therefore costs a larger file. Work in seconds and in bits, then divide by 8 for bytes.

size (bits) = sampling rate × sampling resolution × time (s)

size (bytes) = (size in bits)/8

Examiner insight

“A common error was multiplication by 50 for the sampling rate rather than 50 000.”

Worked example 12 marks

The audio message is recorded with a sampling rate of 50 kHz and a sampling resolution of 16 bits. The recording is 20 minutes in length. Calculate the file size of the recording. Give your answer in megabytes and show your working.

  1. 1

    size = 50 000 × (20 × 60) × 16 = 960 000 000 bits [1]

  2. 2

    960 000 000 ÷ 8 = 120 000 000 bytes = 120 megabytes [1]

Recap

  • Analogue data is data values that are continuously changing.
  • Sampling: measure the amplitude at regular intervals, give each a binary number, save them in sequence.
  • Sampling rate = samples per second. Sampling resolution = bits per sample.
  • Higher rate or resolution: smaller quantisation errors, closer to the original, larger file.
  • Size in bits = rate × resolution × time in seconds. Divide by 8 for bytes.
  • Say whether a rate or a resolution is increased or decreased, and answer the quantity asked.

End-of-chapter exercise

Test yourself on the whole chapter. Work through these before moving on.

  1. State what is meant by analogue data.1 mark
    Answer
    1. Data values that are continuously changing.

    Trap: ‘Data that is not digital’ is too vague to earn the mark.

  2. A sound recording uses a sampling rate of 8 kHz. State what this means.1 mark
    Answer
    1. The sound wave is measured 8000 times each second.

    Trap: ‘The rate of taking samples’ does not say how many per second.

  3. Describe how an analogue sound wave is converted into digital data.3 marks
    Answer
    1. The amplitude of the wave is measured a set number of times each second.
    2. Each measurement is given a binary number.
    3. The binary numbers are stored in sequence.

    Trap: Leaving out the binary numbers or the sequence, so describing only the measuring.

  4. A recording lasts 5 seconds. It has a sampling rate of 10 kHz and a sampling resolution of 8 bits. Calculate its file size in bytes.2 marks
    Answer
    1. Bits = 10 000 × 8 × 5 = 400 000, so bytes = 400 000 ÷ 8 = 50 000.

    Trap: Stopping at 400 000, which is bits, not bytes.

  5. The sampling rate of a recording is lowered from 44.1 kHz to 22.05 kHz. Explain the effect on the recording and on the file.3 marks
    Answer
    1. Fewer samples are taken each second, so the time gaps are larger and quantisation errors are larger.
    2. The digital wave is further from the analogue wave. Fewer bits are stored, so the file size is smaller.

    Trap: Writing ‘the quality is worse’ with no reason. Say gaps, errors and bits.

  6. A second recording of the same sound uses 16 bits for each sample instead of 8 bits. Explain the effect of the increase in sampling resolution on the recording and on the file.3 marks
    Answer
    1. More bits per sample, so more amplitude values are available and quantisation errors are smaller.
    2. Each stored value is closer to the analogue amplitude. More bits are stored, so the file is larger.

    Trap: Describing the sampling rate. Resolution is bits per sample, not samples per second.

  7. A recording of 1.5 minutes has a sampling rate of 22 050 Hz and a sampling resolution of 16 bits. Calculate its file size in megabytes, where 1 megabyte is 1 000 000 bytes.3 marks
    Answer
    1. Bits = 22 050 × 16 × (1.5 × 60) = 31 752 000; ÷ 8 = 3 969 000 bytes = 3.969 megabytes.

    Trap: Using 1.5 as the time instead of 90 seconds.

  8. File A is 30 seconds long with a sampling rate of 40 kHz and a sampling resolution of 16 bits. File B is 60 seconds long with a sampling rate of 20 kHz and a sampling resolution of 32 bits. Without converting to bytes, compare the two file sizes.3 marks
    Answer
    1. In thousands of bits, A = 40 × 16 × 30 = 19 200 and B = 20 × 32 × 60 = 38 400.
    2. File B is twice the size of file A.

    Trap: Assuming that halving the rate cancels doubling the resolution and ignoring the duration.

  9. A wildlife researcher's recorder stores a 15-minute recording with a sampling rate of 32 kHz and a sampling resolution of 16 bits. (a) Calculate the file size in megabytes, where 1 megabyte is 1 000 000 bytes. (b) The researcher decreases the sampling resolution to 12 bits, with the same rate and duration. Calculate the new file size in megabytes and explain the effect of this change on the file size.5 marks
    Answer
    1. Bits = 32 000 × 16 × (15 × 60) = 460 800 000; ÷ 8 = 57 600 000 bytes = 57.6 megabytes.
    2. New size = 32 000 × 12 × 900 ÷ 8 = 43 200 000 bytes = 43.2 megabytes.
    3. Fewer bits are used to store each sample, so the file size decreases.

    Trap: Part (b) asks about file size, not accuracy; and the rate is 32 000, not 32.

  10. A museum audio guide must store each spoken description in at most 10 megabytes (1 megabyte is 1 000 000 bytes). Each description lasts 2.5 minutes and uses a sampling resolution of 24 bits. (a) Calculate the highest whole-number sampling rate, in hertz, that keeps a description within the limit. (b) The designer instead uses a sampling rate of 16 kHz with the same resolution. Calculate how many whole seconds longer a description could be.5 marks
    Answer
    1. Limit = 10 000 000 × 8 = 80 000 000 bits; time = 2.5 × 60 = 150 s.
    2. Rate ≤ 80 000 000 ÷ (24 × 150) = 22 222.2, so the highest rate is 22 222 Hz (round down).
    3. At 16 kHz: 80 000 000 ÷ (16 000 × 24) = 208.3 s, so 208 - 150 = 58 s longer.

    Trap: Leaving megabytes unconverted, using 16 for 16 000, or rounding up to 22 223 Hz.

Say this, not that

Wording that loses the mark, against the wording the mark scheme credits.

Loses the markGets the mark
Analogue data is data that is not digital.Analogue data is data values that are continuously changing.
Sampling rate is the rate of taking samples.Sampling rate is the number of samples taken per second.
Increasing the sampling resolution improves the accuracy of the recording.More bits per sample, so more values available, so each value is closer to the analogue amplitude and quantisation errors are reduced.
Increasing the sampling resolution means more samples are taken, so the file size increases.Increasing the sampling resolution increases the number of bits per sample, which means that the file size increases.

Frequently asked questions

What is analogue data and how is sound sampled?
Analogue data is data values that are continuously changing, and a sound wave is analogue. Sound is recorded by sampling: the amplitude of the sound wave is recorded a set number of times a second. Each sample is given a corresponding binary number, and the binary numbers are saved in sequence.
What is the difference between sampling rate and sampling resolution?
The sampling rate is the number of samples taken per second. The sampling resolution is the number of bits used to store each sample. A higher sampling rate gives smaller time gaps between samples, while a higher sampling resolution gives more values available for each sample.
How do I calculate the file size of a sound recording?
Multiply the sampling rate, the sampling resolution and the time in seconds to give the size in bits, then divide by 8 to give bytes. Convert minutes to seconds first by multiplying by 60. Work in seconds and in bits before you convert to bytes.
What does a higher sampling rate do to a sound recording?
A higher sampling rate gives smaller time gaps between the samples. The digital wave is closer to the analogue wave, and the quantisation errors are smaller. More samples are taken, so more bits are stored altogether and the file is larger.
How does increasing the sampling resolution change a sound recording?
Increasing the sampling resolution increases the number of bits used for each sample, so there are more values available to represent each sample. Each binary amplitude is closer to the analogue amplitude, so the quantisation errors are reduced. The file size also grows, because more bits are stored.
Why do I lose marks when I describe the sampling rate in an answer about sampling resolution?
A popular incorrect answer explained the effect of increasing the sampling rate on the sound file rather than the sampling resolution. Sampling resolution is the number of bits used for each sample, not the number of samples taken per second. Read the question to see which term it asks about.

Free notes are just the start.

Unlock every Workbook and Chapter at a Glance, and generate your own worksheets and predicted papers.

Explore plans

Related chapters