education lab

education lab · 02

Aliasing

Why digital distortion can create frequencies that were never in the original signal — and how sample rate, Nyquist frequency and oversampling keep them under control.

3live panels
8sample rates
11 minread

What is aliasing?

Aliasing is a digital audio artifact that occurs when a signal contains frequency components above the Nyquist frequency — half of the sampling rate. Instead of disappearing, those frequencies are represented as lower frequencies inside the available spectrum. The result is called frequency folding or aliasing.

At a 48 kHz sample rate, the Nyquist frequency is 24 kHz. A clean 1 kHz sine wave is no problem: it is far below the 24 kHz limit. But if a process creates a new component at 30 kHz, the digital system cannot represent 30 kHz directly. That component folds back and appears at 18 kHz. Your DAW now contains an 18 kHz tone that was not present in the original signal.

This distinction is important: aliasing is not simply “too much high end.” It is a mapping error caused by sampling. The unwanted frequency is effectively given the identity of another, lower frequency. Once aliasing has been created, you cannot remove it perfectly with a normal EQ because the aliased component now lives inside the valid audio band.

Why does aliasing happen?

The most important source in modern music production is nonlinear processing. Saturation, clipping, distortion and waveshaping change the waveform shape. A changed waveform contains additional harmonics. With enough drive, those harmonics can extend far beyond the original audio bandwidth.

For example, a 10 kHz sine wave processed by a nonlinear waveshaper can produce harmonics at 20 kHz, 30 kHz, 40 kHz and beyond. At 44.1 kHz, Nyquist is only 22.05 kHz. Everything above that boundary is at risk of folding back into the audible spectrum.

Linear processors such as a conventional static EQ or gain stage do not create new harmonics by themselves. They can move or attenuate existing frequency components, but they do not normally generate an entirely new harmonic series. This is why aliasing is especially relevant to distortion, saturation, clipping, waveshaping and other nonlinear audio processes.

Linear

EQ, gain, panning. Moves or attenuates what is already there — no new harmonic series, nothing new that could exceed Nyquist.

Nonlinear

Saturation, clipping, distortion, waveshaping. Reshapes the waveform and therefore creates harmonics — the ones that can fold back.

Why should you care?

Aliasing can sound like a subtle increase in high-frequency roughness, metallic texture, digital grit or loss of clarity. In some processors it is barely noticeable; in others it can become a strong part of the sound. The problem is particularly easy to hear on exposed cymbals, bright synths, vocals, distorted guitars and mastering chains.

Not all aliasing is automatically bad. Some classic digital distortion sounds deliberately exploit it, and some producers like the character it adds.

The engineering question is therefore not “How do I eliminate every alias?” but “Is the aliasing part of the sound I want?”

Push the tone past the line and watch it come back

education lab · 02

Aliasing

Play a tone above half the sample rate and watch it come back as a different tone — one you never played.

amplitude 1.03 cycles shownideal reconstruction

What you play

continuous samples

What comes back

reconstructed samples

Spectrum

harmonics aliases Nyquist

The dashed coral line is Nyquist, half the sample rate. Amber stems are the harmonics the waveform actually contains, drawn wherever they fall — including beyond the line.

Everything beyond Nyquist cannot be represented. It folds back at the sample rate and lands somewhere inside the band: those are the coral stems. The two time plots show the same thing without any maths — above the line, the curve that comes back is not the curve you played, even though it passes through every single sample point.

Controls

—
—

Display

-60 dB

Key concepts

Sample rate

The sample rate determines how many samples per second represent the audio signal. Common rates are 44.1 kHz, 48 kHz, 88.2 kHz and 96 kHz. A higher sample rate moves the Nyquist frequency upward, giving nonlinear processors more room to generate harmonics before they fold back.

At 44.1 kHz, Nyquist is 22.05 kHz. At 48 kHz it is 24 kHz. At 96 kHz it is 48 kHz. Higher sample rates therefore reduce the amount of newly generated harmonic content that immediately lands above the Nyquist boundary — but they do not automatically make a nonlinear processor alias-free.

Nyquist frequency

The Nyquist frequency is half the sample rate. It is the highest frequency that can theoretically be represented without aliasing in a sampled system. A 48 kHz system therefore has a Nyquist frequency of 24 kHz.

Think of Nyquist as a ceiling rather than a sonic brick wall. Frequencies above it cannot be represented as their original frequencies. If they enter a sampled system without being filtered first, they can fold into the range below Nyquist.

Frequency folding

When a frequency crosses the Nyquist boundary, it is mirrored back into the digital audio spectrum. The simplest example is a 48 kHz system: a 25 kHz component appears at 23 kHz; 30 kHz appears at 18 kHz; 40 kHz appears at 8 kHz.

Mathematically, the aliased frequency can be described as the distance of the original frequency from the nearest multiple of the sample rate, expressed inside the 0-to-Nyquist range. You do not need the equation to mix music, but understanding the mirror behavior makes the phenomenon much easier to predict.

Harmonics

A nonlinear processor creates harmonics at integer multiples of the input frequency. A 5 kHz sine wave can therefore generate components at 10 kHz, 15 kHz, 20 kHz, 25 kHz and so on. The higher the harmonic order, the more likely it is to cross Nyquist.

This is why aliasing becomes increasingly relevant with aggressive saturation and clipping. A gentle nonlinear curve may generate mostly low-order harmonics that remain safely below Nyquist. A hard clipper can create a much denser spectrum and push substantial energy above it.

Oversampling

Oversampling temporarily increases the internal sample rate of a digital processor. A plugin might run its nonlinear algorithm at 2×, 4×, 8× or higher than the session sample rate. The extra bandwidth gives the processor space to generate harmonics above the original Nyquist frequency without immediately folding them into the audible band.

A proper oversampling stage also uses filtering when returning to the original sample rate. This removes out-of-band content before downsampling. In practical terms: process higher, filter, then return to the session rate. That is the core idea behind anti-aliasing in nonlinear audio plugins.

Common controls

Oversampling / Quality

If a distortion, saturation or waveshaper plugin offers oversampling, higher settings generally reduce aliasing at the cost of additional CPU usage and potentially more latency. 2× can already help; 4× is a useful practical setting for many situations; 8× or higher can be valuable for aggressive nonlinear processing and critical mastering work.

Do not treat the highest setting as automatically “better.” Compare at matched level and listen to the actual material. Some processors change their character slightly when oversampled, and CPU efficiency matters in large sessions.

Pre-filtering

A pre-filter can remove very high-frequency content before a nonlinear stage. This can reduce the amount of energy available to generate high-order harmonics. It is especially useful when a bright signal is about to hit aggressive saturation or clipping.

Filtering before distortion is also a creative decision: whatever you remove before the nonlinear stage cannot be distorted and regenerated in the same way. A low-pass filter before a waveshaper can therefore change both the amount and the character of the resulting harmonics.

Post-filtering

A post-filter can tame excessive high-frequency content after nonlinear processing. It can make a distorted signal smoother, but it cannot reliably undo aliasing that has already folded into the audible range. An EQ cannot tell whether an 18 kHz component came from the original source or was created by a 30 kHz harmonic and folded down.

For that reason, post-filtering is best viewed as tone shaping, while oversampling and anti-aliasing design address the cause of the problem inside the nonlinear processor.

Drive / Amount

More drive usually means more nonlinear behavior, more harmonics and a greater chance of generating content above Nyquist. This does not mean high drive is wrong. It means that aggressive settings make oversampling more important if you want the result to remain clean and controlled.

Sample rate

Working at 96 kHz can reduce aliasing because Nyquist moves to 48 kHz. However, the sample rate of the DAW is only one part of the equation. A well-designed plugin with internal oversampling can perform far better than a poorly designed nonlinear algorithm simply running at a higher session rate.

Quick start recipes

Clean saturation on a mix bus

  • Start: moderate saturation → 4× oversampling if available → level-match the output.
  • Listen for: smoother top end, density and transient control without a brittle or grainy high-frequency texture.
  • Result: harmonic enhancement with significantly less aliasing than an aggressively driven processor running at 1×.

Aggressive drum distortion

  • Start: filter unnecessary sub energy → drive the nonlinear stage hard → use 4× or 8× oversampling → use post-EQ only for final tone shaping.
  • Listen for: cymbals and snare transients becoming metallic or fizzy as drive increases.
  • Result: controlled distortion while retaining the aggressive character.

Bright synth or lead

  • Start: 4× oversampling → moderate drive → compare 1× vs. 4× at matched loudness.
  • Listen for: high-frequency “sand,” unexpected notes or a changing stereo/top-end texture. These can be signs that aliasing is becoming part of the sound.
  • Result: a cleaner, more stable distorted tone.

Mastering

  • Start: use the least nonlinear processing that achieves the goal → enable high-quality oversampling → level-match carefully → check the result at low monitoring volume.
  • Result: fewer unwanted high-frequency artifacts and a more predictable tonal balance. In mastering, small amounts of aliasing can become surprisingly audible because the processed signal is already exposed and highly refined.

What to listen for

  1. The “digital sand” test. Take a bright signal and increase the drive while switching oversampling on and off. Level-match the two versions. If the 1× version develops a rough, grainy or metallic high-frequency layer that becomes smoother at 4× or 8×, you are hearing the practical consequences of aliasing and/or other artifacts introduced by the nonlinear algorithm.
  2. Sweep a sine wave. A sine-wave test makes aliasing much easier to understand than a complex mix. Push the oscillator toward and beyond Nyquist while watching a spectrum analyzer. Once the tone crosses Nyquist, the apparent frequency mirrors back downward. With a waveshaper engaged, the same effect happens to the newly generated harmonics — often creating a much denser set of folded components.
  3. Watch high harmonics. If the input is 1 kHz, the harmonics are 2, 3, 4, 5 kHz and so on. Most remain safely below Nyquist. If the input is 10 kHz, the third harmonic is already 30 kHz at a 48 kHz sample rate and therefore cannot be represented directly. This is why the same amount of saturation can behave very differently depending on the source frequency.
  4. Remember that aliasing is not the same as clipping. Clipping is a nonlinear operation that can cause aliasing in a digital system because it generates harmonics. Aliasing itself is the frequency-folding consequence of sampling. Keeping those concepts separate makes troubleshooting much easier: the nonlinear stage creates the extra spectrum; insufficient bandwidth causes some of it to fold.

A practical mental model

Think of the nonlinear processor as a harmonic generator. Every time you bend, clip, saturate or otherwise reshape a waveform, you are asking the processor to create additional frequency content. At 1× sample rate, the available frequency space ends at Nyquist. Oversampling moves that temporary ceiling upward, gives the harmonics room to exist, and filters them before the signal is returned to the original sample rate.

This is also why simply placing an EQ after a distorted plugin is not equivalent to oversampling. By the time the EQ sees the signal, the aliasing has already happened.

When to use it

Aliasing matters whenever a process is nonlinear: saturation, distortion, clipping, waveshaping, bit crushing, some compressors with nonlinear stages, analog-modeling plugins and other processors that intentionally reshape the waveform. It is particularly worth checking when processing bright material, high-frequency instruments, aggressive distortion or a final mix/master.

For transparent processing, choose a plugin with a well-designed anti-aliasing strategy and use oversampling where appropriate. For creative distortion, decide whether aliasing is part of the sound rather than assuming it is automatically a defect.

The most important practical rule is simple: do not judge aliasing by the amount of processing alone. A subtle saturation stage can alias significantly if it generates high-order harmonics without adequate bandwidth, while a carefully designed nonlinear processor can remain remarkably clean even when driven hard.

And remember: higher sample rate is not a magic fix. Good nonlinear DSP uses a combination of oversampling, proper filtering, careful nonlinear modeling and thoughtful signal design to control aliasing.

The short version

Aliasing is frequency folding. Nonlinear processing creates new harmonics. The Nyquist frequency defines the upper limit of what a digital system can represent. Harmonics that exceed that limit can fold back into the audible spectrum. Oversampling raises the internal Nyquist limit and allows those harmonics to be filtered before they become audible aliases.

Once you understand that chain, aliasing stops being a mysterious “digital problem” and becomes a predictable part of digital audio engineering.

education lab Next: Saturation & Transients — using non-linearity on purpose, without losing the attack.
audio aliasingNyquist frequencyfrequency folding sample rateoversamplinganti-aliasing filter nonlinear processingharmonicswaveshaper digital clippingsaturationmixing & mastering