Audio Science

Sampling is taking photos of air

Digital audio is not a stair-stepped representation of sound. Discover how the Nyquist-Shannon theorem reconstructs smooth waveforms and how sample rates affect processing.

8 min read

The stair-step myth

We have all seen the diagrams in old audio textbooks. A smooth analog wave is drawn next to a blocky digital approximation that looks like a staircase. This image is responsible for decades of bad advice. It makes producers believe that digital audio is inherently jagged, or that it lacks the sound between samples. That visual is wrong. The computer does not output staircases. It measures pressure points, and your digital-to-analog converter draws a perfectly smooth curve through those points.

When you capture audio, you are taking static photos of moving air. If you take enough photos fast enough, you capture the entire motion. If you take too few, the movement becomes a blur or disappears entirely.

Why it matters in the mix

Understanding how sampling works dictates how you set up your session. If you believe the stair-step myth, you might record at 192 kHz because you think it makes the curve smoother. This wastes disk space and strains your CPU.

The real consequence of sampling limits appears when you process audio. Pitch-shifting a sample down by an octave stretches the space between your snapshots. If you do not have enough snapshots to begin with, the high frequencies become grainy. Knowing how the DAC reconstructs the wave helps you avoid digital clipping. It allows you to anticipate inter-sample peaks that slip past your meters but distort on consumer systems.

The mathematics of reconstruction

The foundation of digital audio is the Nyquist-Shannon sampling theorem. It states that to reconstruct a continuous wave, you must sample at a rate greater than twice the highest frequency present in the signal.

$$f_s > 2 \cdot f_{max}$$

In this formula, $f_s$ is the sample rate and $f_max$ is the highest audio frequency. For human hearing, which tops out around 20 kHz, a sample rate of 40 kHz is the mathematical minimum. We use 44.1 kHz or 48 kHz to give the anti-aliasing filter a small buffer zone to roll off before reaching the limit. The math proves that any wave below half the sample rate is reconstructed with absolute accuracy. No stair-steps exist.

DAW experiment: testing pitch shift quality

You can hear the limits of sampling by forcing a file to reveal its gaps. This test takes five minutes and requires a basic audio clip and a pitch-shifter.

1 Import a bright acoustic guitar loop or a cymbal recording into a 48 kHz session.
2 Duplicate the track. On the second track, apply a pitch-shifter and drop the pitch down by 24 semitones (two octaves).
3 Listen to the high-frequency transients. The stretched samples may sound dull or display strange, metallic artifacts.
4 Now, bounce the original loop at 96 kHz. Open a 96 kHz session and repeat the same two-octave pitch drop.
5 Compare the two shifted files. The 96 kHz version retains more high-end clarity because it has double the snapshots to stretch across the timeline.

The oversampling misconception

The most common mistake is tracking every session at 96 kHz or 192 kHz because you think it improves general sound quality. Unless you are doing extreme pitch-shifting or heavy sound design, higher sample rates offer no audible benefit to human ears. They do not increase the resolution of the frequencies you can hear. They only capture ultrasonic frequencies that you cannot hear, which can actually cause intermodulation distortion in analog amplifiers.

Another error is ignoring inter-sample peaks. Your DAW meter measures the level of individual samples. If two consecutive samples are at 0 dBFS, the reconstructed wave between them can rise above 0 dBFS, causing the analog output stage of your converter to clip.

Producer takeaway

Match your sample rate to your task. Work at 48 kHz for standard video and streaming releases. This keeps your CPU load light and your file sizes manageable. Switch your session to 96 kHz only when you are recording sound design elements or warping vocals. Check your true peak meters to catch inter-sample clipping before you export your master.

References

Smith, J.O. Spectral Audio Signal Processing. CCRMA, Stanford. https://ccrma.stanford.edu/~jos/sasp/ (accessed 2026).
Smith, J.O. Introduction to Digital Filters with Audio Applications. CCRMA, Stanford. https://ccrma.stanford.edu/~jos/filters/ (accessed 2026).
Signals and Systems. MIT OpenCourseWare. https://ocw.mit.edu/courses/6-003-signals-and-systems-fall-2011/ (accessed 2026).
Vibrations and Waves. MIT OpenCourseWare. https://ocw.mit.edu/courses/8-03sc-physics-iii-vibrations-and-waves-fall-2016/ (accessed 2026).
VGP

VGP StudioVERIFIED

Premium beat production & music education resources.

Browse Beats

RELATED TOPICS

sampling audionyquist shannon theoremsample ratestair step mythdigital audio basicsinter-sample peaks

READY TO CREATE?

Put Your Knowledge Into Practice

Browse our catalog of premium instrumentals.

Browse Beats
Home
Studio
CADENZ
Lab
Blog