Aliasing is a type of digital distortion that occurs when a signal contains frequencies above the Nyquist frequency, half the sample rate. Those frequencies can’t be represented, so they fold back and reappear as false tones at lower frequencies: the “aliases.”
Aliases are usually unrelated to the musical pitch, which makes them sound harsh, metallic or grainy rather than warm. Converters stop aliasing at the input with filters, but plugins that distort, clip or synthesize sharp waveforms can create it inside the computer. Knowing where it comes from is the key to hearing it, avoiding it, or occasionally using it on purpose.
Table of Contents
What is aliasing?
A digital system takes snapshots of a waveform at regular intervals. The sampling theorem says a band-limited signal can be reconstructed perfectly as long as every frequency in it is below half the sample rate. Above that limit, the samples become ambiguous: a 28 kHz tone sampled at 44.1 kHz produces exactly the same sample values as a 16.1 kHz tone. Once sampled, there’s no way to tell them apart, and the system plays back the lower one.
The same thing happens in film when a spinning wheel seems to turn slowly or backward: the camera’s frame rate is too low for the motion, so it records a slower false motion instead. In audio, the false motion is a false frequency.
Why aliasing sounds bad
Normal distortion from analog gear adds harmonics at whole-number multiples of the original frequency, which tend to blend with the note. Aliased frequencies land wherever the folding puts them, usually at frequencies that have no harmonic relationship to the note. They also move in the opposite direction: when a note bends up, its aliases can bend down. The result sounds dissonant, brittle and “digital,” even at fairly low levels.
How aliasing works
The folding formula
A frequency f sampled at a rate fs appears at |f − k × fs|, where k is the whole number that brings the result into the range from 0 to fs/2. For a frequency between fs/2 and fs, that simplifies to fs − f: the frequency is mirrored around Nyquist.
| Sample rate | Input frequency | Heard as |
|---|---|---|
| 44.1 kHz | 25 kHz | 19.1 kHz |
| 44.1 kHz | 28 kHz | 16.1 kHz |
| 44.1 kHz | 30 kHz | 14.1 kHz |
| 48 kHz | 30 kHz | 18 kHz |
| 48 kHz | 45 kHz | 3 kHz |
The higher the original frequency goes above Nyquist, the lower its alias lands, until at the sample rate itself it folds all the way down to 0 Hz and starts climbing again.
A worked example: clipping a 5 kHz tone
Hard clipping a 5 kHz sine turns it into something close to a square wave, which contains odd harmonics at 15, 25, 35, 45 kHz and beyond. At 48 kHz only the 15 kHz harmonic is below Nyquist. The others fold: 25 kHz to 23 kHz, 35 kHz to 13 kHz and 45 kHz to 3 kHz. At 44.1 kHz they land at 19.1, 9.1 and 0.9 kHz. A tone at 3 kHz or 900 Hz under a 5 kHz note is clearly not a harmonic of it, and it’s exactly the kind of component that makes digital clipping sound harsh.
Aliasing at the input
When an analog signal is converted, any content above Nyquist would alias straight into the recording. Converters prevent this with an anti-aliasing filter. Modern delta-sigma converters sample far above the final rate, so a gentle analog filter handles the very high frequencies, and a steep digital filter removes everything near and above Nyquist before the rate is reduced. As a result, aliasing at the A/D stage is essentially a solved problem in current gear.
Aliasing inside the computer
The more common problem today is aliasing created by processing. Any nonlinear process generates new frequencies, and in a digital system those new frequencies are subject to the same Nyquist limit. Common culprits:
- Saturation, distortion and amp simulation: harmonics extend well above 20 kHz, especially with high drive.
- Clipping and hard limiting: sharp corners in the waveform contain very high harmonics.
- Fast compressors and limiters: very fast gain changes modulate the signal and create sidebands.
- Bitcrushers and sample-rate reducers: deliberately crude processing that produces aliasing as part of the effect.
- Pitch shifting and resampling without proper filtering.
- Naive synthesizer oscillators: a sawtooth or square wave drawn as a perfectly sharp shape has harmonics that never stop, so many of them exceed Nyquist.
Aliasing in synthesizers
A mathematically ideal sawtooth contains every harmonic, forever. A digital oscillator that simply computes a sharp ramp sample by sample produces all those harmonics above Nyquist, and they fold back as a haze of inharmonic tones that gets worse as the pitch rises. Synth designers use band-limited methods instead: band-limited impulse trains (BLIT), described by Tim Stilson and Julius Smith in 1996, BLEP and polynomial PolyBLEP corrections that smooth the discontinuities, and, in wavetable synths, several versions of each table with fewer harmonics for higher notes (often called mipmapping). Oversampling the oscillator also helps.
Imaging: the output counterpart
On the way out, a D/A converter produces images of the audio spectrum around multiples of the sample rate. A 10 kHz tone at 44.1 kHz also appears at 34.1 kHz, 54.1 kHz and so on unless a reconstruction (anti-imaging) filter removes them. Aliasing folds content down into the band; imaging copies content up out of it.
Aliasing in practice
How to hear and see it
- Put a spectrum analyzer after a saturation or distortion plugin.
- Feed it a pure sine wave and sweep the frequency slowly upward from about 1 kHz.
- The real harmonics move up with the sweep. Aliases appear as extra lines that move down, or zigzag, as the sweep rises.
- Turn on the plugin’s oversampling and watch most of those lines drop or disappear.
Plugin analysis tools such as DDMF’s Plugin Doctor show the same thing with a few clicks. By ear, aliasing is easiest to hear on high notes, on bright sources such as cymbals and synth leads, and on pitch bends, where the inharmonic components move the wrong way.
Oversampling
The main cure inside plugins is oversampling: the plugin upsamples the audio (for example 4×, from 48 to 192 kHz), runs the nonlinear process at that higher rate so the new harmonics have room above the audio band, filters them out, and then downsamples. Most good saturation, distortion, amp-sim and limiter plugins offer oversampling settings, often labeled HQ, 2×, 4×, 8× or higher.
- Use it on heavy saturation, distortion and clipping, especially on bright material, the mix bus and the master.
- Watch CPU and latency: oversampling costs processing power, and the filters can add latency (which the DAW’s delay compensation usually handles).
- Use higher settings for rendering: some plugins let you choose a lower oversampling setting for real-time playback and a higher one for offline export.
- Not every plugin needs it: clean EQs, gentle compressors and linear processes don’t generate new frequencies to alias.
Higher session sample rates
Running a project at 88.2 or 96 kHz gives every plugin more room above the audio band, which reduces aliasing from plugins that don’t oversample. It also doubles the CPU load and file sizes. Oversampling inside the plugins that need it is usually the more efficient way to get the same benefit.
Aliasing as an effect
Aliasing isn’t always a fault. Early samplers and drum machines, video game sound chips and lo-fi plugins owe part of their character to it. Bitcrushers and sample-rate reducers create it on purpose: lowering the sample rate without filtering produces the metallic, ringing grit associated with old hardware. When you’re using it deliberately, the same knowledge applies in reverse: high, bright sources alias most dramatically.
Plugins with oversampling
Some links in this section go to Thomann and are affiliate links: if you buy through them, musicproductionglossary.com may earn a small commission at no extra cost to you. Learn more.
- FabFilter Saturn 2: a multiband saturation and distortion plugin whose High Quality button sets the oversampling of the distortion (8× at Good, 32× at Superb).
- Soundtoys Decapitator: an analog-modeled saturator with five distortion styles based on classic hardware, a common choice for drive on individual tracks.
- FabFilter Pro-L 2: a mastering limiter with selectable oversampling for cleaner peaks and true-peak control.
Most DAWs’ own saturation and amp devices also include high-quality or oversampling options. The settings names vary, so check the plugin’s manual.
Common mistakes and myths
“Aliasing only happens at the converter”
Converters are very good at preventing it. Today, most audible aliasing is created by plugins and synthesizers inside the computer.
“Aliasing is just more distortion”
Harmonic distortion follows the music; aliasing doesn’t. That’s why a saturator can sound warm when oversampled and gritty without it.
“If I can’t hear frequencies above 20 kHz, aliasing doesn’t matter”
The problem isn’t the ultrasonic content itself; it’s that the content folds down into the range you can hear.
Maxing out oversampling everywhere
Oversampling costs CPU and can add latency and filter effects. Use it where nonlinear processing actually generates high frequencies.
Confusing aliasing with jitter or clipping
Jitter is a timing error and clipping is a level error. Aliasing is a frequency-folding error, though clipping in the digital domain is a common cause of it.
Aliasing vs related terms
| Term | Cause | Where it appears | Spectrum | Cure |
|---|---|---|---|---|
| Aliasing | Content above Nyquist being sampled or generated | Converters (rarely), plugins and synths | Inharmonic tones folded below Nyquist | Anti-aliasing filters, oversampling, band-limited synthesis |
| Imaging | Sampled spectrum repeating around multiples of fs | D/A conversion and upsampling | Copies of the spectrum above Nyquist | Reconstruction (anti-imaging) filter |
| Harmonic distortion | Nonlinear processing | Analog and digital gear | Harmonics at multiples of the input | Lower drive, cleaner gear (or use it creatively) |
| Intermodulation distortion | Nonlinear processing of several frequencies at once | Analog and digital gear | Sum and difference tones | Lower drive, more linear processing |
Standards and references
The underlying theory is the Nyquist-Shannon sampling theorem, set out by Harry Nyquist in 1928 and Claude Shannon in 1949. For synthesis, Stilson and Smith’s 1996 paper “Alias-Free Digital Synthesis of Classic Analog Waveforms” is a widely cited starting point. Converter performance, including filtering of out-of-band signals, is measured according to AES17.
Related terms
- Nyquist frequency: the folding point.
- Anti-aliasing filter: what prevents aliasing at the converter input.
- Oversampling: the standard cure inside plugins.
- Sample rate: sets where Nyquist sits.
- Sample rate conversion: needs proper filtering to avoid aliasing and imaging.
- Distortion and clipping: the most common sources of digital aliasing.
- Oscillator: where aliasing appears in synthesis.
FAQ
What is aliasing in audio?
Distortion caused by frequencies above the Nyquist frequency folding back into the audible range as false, usually inharmonic tones.
What does aliasing sound like?
Harsh, metallic, grainy or ringing tones that don’t fit the music, most obvious on high notes, bright sounds and pitch bends.
How do I calculate an alias frequency?
For a frequency between fs/2 and fs, the alias is fs − f. For example, 28 kHz sampled at 44.1 kHz appears at 16.1 kHz.
Why do plugins cause aliasing?
Nonlinear processing such as saturation and clipping creates new high harmonics. Those above Nyquist fold back into the audible band.
How do I reduce aliasing?
Turn on oversampling in saturation, distortion and limiting plugins, use band-limited synths, or run the project at a higher sample rate.
Does recording at 96 kHz prevent aliasing?
It gives plugins more room above the audible band, which helps with plugins that don’t oversample. Converters already prevent input aliasing at any rate.
What is the difference between aliasing and imaging?
Aliasing folds content from above Nyquist down into the band. Imaging creates copies of the band above Nyquist during D/A conversion or upsampling.
Is aliasing ever used on purpose?
Yes. Bitcrushers, sample-rate reducers and lo-fi effects rely on it, and it’s part of the sound of early samplers and game consoles.
Why does my synth sound harsh on high notes?
Its oscillators may be aliasing. Higher notes push more harmonics above Nyquist. Try a high-quality or oversampling mode if the synth has one.
Does oversampling add latency?
Often a little, because of the filters. DAWs compensate for it automatically during mixing.