A topic in the Open Knowledge Graph — a free, open map of 15,290 topics and the order to learn them in.

Sampling Theory in Audio

Graduate Depth 77 in the knowledge graph ☐ I know this ☆ Set as goal
21topics build on this
342prerequisites beneath it
See this on the map →
Digital Audio Fundamentals→→Analog-to-Digital Conversion in AudioSampling and Drum Machines+1 more
digital-audio sampling nyquist signal-processing

Core Idea

Sampling theory describes the mathematical conditions under which a continuous analog signal can be captured and perfectly reconstructed from discrete samples. The central result — the Nyquist-Shannon sampling theorem — states that a bandlimited signal can be exactly reconstructed if the sample rate exceeds twice the signal's highest frequency component. This upper limit is called the Nyquist frequency.

When audio content exists at frequencies above half the sample rate, aliasing occurs: those high-frequency components "fold back" into the audible spectrum as false, spurious tones. A 20 kHz tone recorded at 32 kHz sample rate would alias to 12 kHz — a clearly audible artifact that wasn't in the original sound. Anti-aliasing filters (low-pass filters applied before the analog-to-digital converter) prevent aliasing by removing content above Nyquist before sampling.

Oversampling — recording at a multiple of the target sample rate — allows more gradual filter slopes, reducing phase distortion and ripple in the audio passband. Many modern converters oversample internally at 8x or 16x the output rate, then use digital filters to downsample to 44.1 or 48 kHz. This produces audibly cleaner results than steep analog anti-aliasing filters.

Sample rate also matters for pitch-shifting and time-stretching algorithms. Time-domain techniques like granular synthesis and phase vocoders operate on the sample-level structure of audio. Higher sample rates provide more samples per period of each frequency, giving these algorithms more data to work with and producing less artifacting at extreme settings.

Explainer

Sampling theory provides the mathematical foundation for all digital audio systems. Claude Shannon and Harry Nyquist formalized the conditions for lossless digital representation of analog signals, and their theorem governs every decision about sample rate in modern audio hardware and software.

The practical implications extend beyond the recording stage. Sample rate affects latency in real-time processing (higher rates mean smaller buffer sizes for equivalent latency), computational load in plugins (more samples per second to process), and the accuracy of time-domain algorithms. Understanding the Nyquist theorem prevents common errors like recording at rates too low for high-frequency content and failing to apply appropriate anti-aliasing when downsampling.

Sampling theory also connects directly to synthesis and audio programming: wavetable synthesis scans through stored single-cycle waveforms at sample-accurate rates, and any synthesis algorithm generating frequencies above Nyquist must include appropriate limiting to prevent aliasing artifacts in the output.

What did you take from this?

Topics in reflective domains aren't scored by quiz answers. Read, reflect, and mark when you've thought it through.

Quiz me anyway →

Prerequisite Chain

Understanding Zero → The Number Zero → Counting to Five → Counting to 10 → Counting to 20 → Counting a Set of Objects Up to 20 → Cardinality: The Last Number Counted → Matching Numerals to Quantities → Subitizing Small Quantities → Addition Within 10 → Number Bonds to 10 → Addition Within 20 → Doubles and Near Doubles → Doubles Facts Within 10 → Near Doubles Facts Within 20 → Mental Math Strategies for Addition → Mental Math: Adding and Subtracting Tens → Addition Within 100 → Repeated Addition as Multiplication → Multiplication as Equal Groups → Multiplication: Arrays → Basic Multiplication Facts (0s, 1s, 2s, 5s, 10s) → Multiplication Facts Within 100 → Division as Equal Sharing → Division as Grouping (Measurement Division) → Division: Grouping (Repeated Subtraction) Model → Division: Fair Sharing Model → Division as Equal Sharing → Division as Grouping → Basic Division Facts → Division Facts Within 100 → Multiplication and Division Fact Families → Relationship Between Multiplication and Division → Division Facts as Inverse of Multiplication → Remainders and Quotients in Division → Division Word Problems → Multi-Step Word Problems → Solving Multi-Step Word Problems → Multiplication Word Problems → Division Word Problems → Introduction to Long Division → Factors and Multiples → Prime and Composite Numbers → Equivalent Fractions → Relating Fractions and Decimals → Decimal Place Value → Integers and the Number Line → Comparing and Ordering Integers → Absolute Value → Adding Integers → Subtracting Integers → Multiplying Integers → Dividing Integers → Unit Rates → Proportions → Percent Concept → Converting Between Fractions, Decimals, and Percents → Operations with Rational Numbers → Two-Step Equations → Solving Multi-Step Equations → Equations with Variables on Both Sides → Literal Equations → Slope-Intercept Form → Point-Slope Form → Writing Linear Equations → Parallel and Perpendicular Line Slopes → Graphing Linear Equations → Piecewise Functions → Step Functions → Composition of Functions → Inverse Functions → Radical Functions and Graphs → Rational Exponents → Exponential Functions and Graphs → Logarithms Introduction → Pitch and Frequency → Digital Audio Fundamentals → Sampling Theory in Audio

Longest path: 78 steps · 342 total prerequisite topics

Prerequisites (1)

Leads To (3)