Simulators

Audio Representation

1 · Analogue Sound Wave

440 Hz

Higher frequency = higher pitch (Hz = cycles per second)

501000
70%

Height of the wave: determines how loud the sound is

0.051

Wave frozen: adjust sliders to explore

Key terms

Frequency: cycles per second (Hz); determines pitch

Amplitude: height of the wave; determines volume

Wavelength: distance of one complete cycle

Continuous analogue wave: this is how sound exists in the real world

2 · Digital Sampling

Bit Depth (sample resolution)

Number of bits used per sample, determines how many quantisation levels exist

Sample Rate

How many samples taken per second, higher rate captures more detail

5 s

Length of the recording in seconds (for file size calculation)

1300

Key terms

Sample rate: samples taken per second

Bit depth: bits used per sample (= quantisation levels = 2ⁿ)

Quantisation: rounding each sample to the nearest level

Blue = original analogue wave · Orange = digital approximation (sampled & quantised)

3 · File Size Calculation

File Size Calculation (mono, uncompressed)

File size (bits) = Sample rate × Bit depth × Duration

File size (bytes) = File size (bits) ÷ 8

Sample rate=22,050 Hz
Bit depth=8 bits
Duration=5 s
Total samples=22,050 × 5 = 110,250
Total bits=110,250 × 8 = 882,000
Total bytes=882,000 ÷ 8 = 110,250
File size107.67 KB(110,250 bytes)