levo

Fundamentals of Data Representation

Digital representation of sound

  • 2 things to know
  • Paper 2

Overview

Recall questions on sampling rate and sample resolution, the Nyquist theorem and the CD sampling rate, and calculating the size of a sound file.

What you need to know

Answer each one before you reveal it.

Your recallNot started
Numbers

What is sample resolution, and what effect does it have?

Key term

Explain why a digital recording can never be a perfect copy of the original sound.

Questions from this subtopic

Each one with the model answer underneath.

  1. 1

    Describe how a sound is represented digitally.

    Model answer

    Sound is a continuously varying pressure wave, which a microphone turns into a continuously varying voltage. That analogue signal is sampled at regular intervals: at each interval the amplitude is measured and rounded to the nearest of the levels available, and the result is stored as a binary number. The sound file is therefore a long sequence of sample values, and playing it back means feeding those values to a digital to analogue converter.

  2. 2

    What is sample resolution, and what effect does it have?

    Model answer

    Sample resolution is the number of bits used to store each individual sample, so it fixes how many amplitude levels are available — n bits give 2ⁿ levels. A higher resolution means the levels are more finely spaced, so each measurement is rounded less and the recording reproduces the original amplitudes more accurately, at the cost of proportionally more storage.

  3. 3

    What is the sampling rate, and what effect does it have?

    Model answer

    The sampling rate is the number of samples taken per second, measured in hertz. A higher rate captures the shape of the waveform more often, so rapid changes and higher frequencies are reproduced faithfully, giving better quality — again at the cost of proportionally more storage.

  4. 4

    State the Nyquist theorem.

    Model answer

    To reconstruct a signal accurately, the sampling rate must be at least twice the highest frequency present in that signal. Sampling any slower loses information that cannot be recovered.

  5. 5

    Apply the Nyquist theorem to explain the sampling rate used for audio CDs.

    Model answer

    Human hearing extends to roughly 20 kHz, so the highest frequency to be captured is about 20 000 Hz. Nyquist requires at least twice that, which is 40 000 samples per second. The CD rate of 44 100 Hz is a little above that minimum, leaving margin for the filters used to remove frequencies above the audible range.

  6. 6

    What happens if a signal is sampled below the Nyquist rate?

    Model answer

    Aliasing occurs. Frequencies above half the sampling rate are not simply lost — the samples taken from them fit a lower frequency just as well, so they are reconstructed as spurious lower-frequency tones that were never in the original. The result is audible distortion, and it cannot be corrected afterwards because the samples are genuinely ambiguous.

Other ways to work this

The same content, four other ways.

What is inside Levo

Six ways to work the same material.

1Closed book
2Open book
3Closed book

The 3-step method, run for you

Answer cold, learn it, then prove it stuck. Levo tracks the jump between your first attempt and your last.

Fundamentals of Programming
Fundamentals of Data Structures
Fundamentals of Algorithms
Theory of Computation

Cram a whole paper in one sitting

Sort every topic into what you know and what you do not, then drill only the weak ones.

A driver is .
softwarehardwarestorage

Blank Blitz makes facts automatic

Rapid timed gap-fills on the terms and numbers you need to recall without thinking.

AThe integer 5 is 0101.
B0.75 is 1/2 + 1/4.
CThe fraction bits are 1100.

Build It gets the exam shape right

Assemble a full-mark answer from its marking points, in the order an examiner wants them.

Head means the first single element of a non-empty list.
TrueFalse

Test It catches misconceptions

Spot the fault in a statement. The traps are the mistakes students actually make.

721941163128510

Brain Breaks between sessions

Short focus games to reset attention, so the next set lands better than the last.

Every question in Fundamentals of Data Representation, on a schedule.

Attempt a question from memory, write the correct version, then attempt it again. Levo records the jump between your first attempt and your last, and brings each question back on the day you are due to forget it.

Or £46 a year, about £3.83 a month. Cancel anytime.