Enchant.
Tools / Audio Concepts / 4. Digital Audio Theory
4. Digital Audio Theory · Concept 1 of 8

Nyquist–Shannon Sampling Theorem

It is the rule that says how often a computer must take snapshots of a sound to capture it perfectly.

Nyquist-Shannon Sampling Theorem A sound wave being sampled at twice its frequency, captured correctly, versus too-slow sampling that aliases into a fake lower wave. Nyquist-Shannon Sampling Theorem sample rate (fs) must be at least 2 x highest frequency (fmax) GOOD: fs = 2 x freq -> wave captured perfectly red dots = samples BAD: fs too low -> high tone ALIASES into a fake low tone real signal: 30 kHz computer hears a FAKE 18 kHz whine fold-back: fs - f = 48 - 30 = 18 kHz time ->

Sample at 2x the top frequency and the wave is captured (top); sample too slowly and a 30 kHz tone folds into a fake 18 kHz whine (bottom).

What it is

The rule that says you must sample a sound at least twice its highest frequency to capture it perfectly.

Key facts

How it works

  1. Decide the highest frequency you need to keep (for full-range audio, ~20 kHz).
  2. Double it to get the minimum sample rate (20 kHz x 2 = 40 kHz).
  3. Add headroom for the filter, landing on a real standard (44.1 or 48 kHz).
  4. Run the incoming signal through an anti-alias low-pass filter first.
  5. The converter takes that many snapshots per second, each frozen as a number.
  6. Playback joins the dots back into a smooth wave; nothing above Nyquist survives.

Real examples

How it helps in live sound

Everyday analogy

It is like filming a spinning wheel: snap photos fast enough and it looks smooth, but too slow and the wheel appears to spin backwards (a fake, wrong motion) which is exactly aliasing.

Watch out

Myth: 44.1 kHz only captures up to 22 kHz so it must sound worse; truth: humans cap at ~20 kHz, so 44.1 kHz already captures everything you can hear, and going below the 2x rule (not above it) is what loses the top.

Fun fact

The "wagon wheel" effect in old Westerns, where spoked wheels appear to spin backwards, is visual aliasing: the film's 24 frames/sec is sampling the wheel too slowly, the exact same theorem at work in your eyes.

Key takeaways

  • Sample at least twice the highest frequency, full stop.
  • Nyquist frequency = sample rate divided by 2.
  • 44.1 kHz and 48 kHz exist because hearing stops near 20 kHz.
  • Break the rule and high tones alias into fake low tones.
  • An anti-alias filter before the converter prevents the fold-back.
← Previous
Uncertainty Principle
☰ All 123 concepts

Need the gear and a crew who know this stuff?

Enchant Entertainment hires and operates sound, lighting and staging across Perth and regional WA.

Get a quoteAll concepts