AVgecko
HomeLearn AV
Toolssoon
← All chapters

1.How AV systems work

  1. 1Thinking in signal flow
  2. 2Analog vs. digital
  3. 3Decibels, demystified
Chapter0/3
← 1. How AV systems work

Analog vs. digital

Sampling, bit depth and quantization — what actually happens when a signal becomes data.

Chapter 110 minSampling lab

Sound in a room is a continuous wave of air pressure. Light from a scene varies smoothly across space. An analog signal mirrors that continuity directly: a voltage on a wire rises and falls in proportion to the original. A digital signal describes the same thing as a stream of numbers. Almost every AV system you'll work on is digital end to end, except at the very edges — the microphone diaphragm and the loudspeaker cone are still, by nature, analog.

From wave to numbers

Converting analog to digital (an A/D converter) happens in two steps:

  1. Sampling — measure the signal at regular instants. How often you measure is the sample rate, in samples per second (Hz).
  2. Quantization — round each measurement to the nearest available value. How many values are available is set by the bit depth: n bits give 2n levels.

Play with both below. Watch how the green reconstruction drifts from the original as you starve it of either.

Sampling lab
Analog signal Digital reconstruction Quantization error
Samples per cycle

12.0

Comfortably above Nyquist.

Avg. quantization error

4.6%

Each extra bit doubles the number of levels and roughly halves the error.

Lower the sample rate until there are two or fewer samples per cycle and the reconstruction stops resembling the original — that's aliasing. Lower the bit depth and watch the rounding error grow.

The Nyquist limit

To capture a frequency faithfully you must sample at more than twice that frequency. Human hearing tops out around 20 kHz, which is why audio sample rates sit just above 40 kHz: 44.1 kHz for CDs and 48 kHz, the standard across professional AV, broadcast and networked audio. Anything above half the sample rate must be filtered out before sampling, or it folds back as a false, lower frequency — an alias.

Bit depth and dynamic range

Every bit roughly doubles the number of levels, which adds about 6 dB of dynamic range (you'll meet decibels in the next lesson). The rounding error that remains sounds like a low hiss, the noise floor.

Bit depthLevelsTheoretical dynamic rangeWhere you'll see it
8-bit256≈ 48 dBPer color channel in standard video
10-bit1,024≈ 60 dBHDR video, professional cameras
16-bit65,536≈ 96 dBCD audio
24-bit16.7 million≈ 144 dBProfessional and networked audio
8-bit
Levels256
Theoretical dynamic range≈ 48 dB
Where you'll see itPer color channel in standard video
10-bit
Levels1,024
Theoretical dynamic range≈ 60 dB
Where you'll see itHDR video, professional cameras
16-bit
Levels65,536
Theoretical dynamic range≈ 96 dB
Where you'll see itCD audio
24-bit
Levels16.7 million
Theoretical dynamic range≈ 144 dB
Where you'll see itProfessional and networked audio
Key idea

Video is sampled too. Each pixel is a spatial sample of the image, and each color channel in it is quantized to a bit depth. Resolution is video's sample rate; bit depth means the same thing in both worlds.

Why the industry went digital

  • Perfect copies. Numbers can be copied, switched and stored without degrading. A tenth-generation copy is identical to the original.
  • Noise immunity. An analog signal picks up noise along every meter of cable and the noise is now part of the signal. A digital receiver only has to tell a 1 from a 0.
  • Networkable. Once it's data, video and audio can travel over the same IP networks as everything else — the foundation of AV-over-IP.
  • Processable. Scaling, mixing, echo cancellation and compression are all mathematics on numbers.

The digital cliff

Analog degrades gracefully: a long or poor cable gives a softer, noisier picture. Digital behaves differently. It stays perfect until errors exceed what the receiver can correct, then it fails abruptly — sparkles, dropouts, or a black screen. This is the digital cliff.

In the field

An intermittent black screen that comes and goes is a classic sign of a digital link sitting right at the edge of the cliff: a cable that's too long, under-rated for the bandwidth, or damaged. Shortening the path or lowering the resolution often makes it disappear — a strong clue to where the problem is.

Key takeaways

  • 01Digital conversion samples a signal at a fixed rate and rounds each sample to a fixed number of levels.
  • 02Sample rate must exceed twice the highest frequency (Nyquist). Pro AV audio standardises on 48 kHz.
  • 03Each bit of depth adds about 6 dB of dynamic range; pro audio uses 24-bit.
  • 04Digital signals copy perfectly and resist noise, but fail abruptly at the digital cliff.

Check your understanding

Q1What is the minimum sample rate needed to capture a 10 kHz tone?

Q2Moving from 16-bit to 24-bit audio adds approximately how much dynamic range?

Q3A display flickers to black every few minutes on a long HDMI run but works on a short cable. What's the most likely explanation?

← Previous

Thinking in signal flow

Next →

Decibels, demystified