Aliasing is one of those failure modes that looks mysterious on the bench but has a very simple root cause: once a signal has been sampled, there is no way to tell the difference between a genuine low-frequency component and a high-frequency one that folded down into the audio band. Understanding why this happens is the first step; the second is designing the analog front end so that aliasing never gets the chance to occur.
The Nyquist–Shannon sampling theorem states that a signal can only be reconstructed faithfully if the sampling rate is more than twice the highest frequency present in the input. For a typical audio converter running at 48 kHz, that theoretical ceiling sits at 24 kHz. Any energy above that limit does not simply disappear — it folds back. A 40 kHz interference tone sampled at 48 kHz appears in the digital output as an 8 kHz whistle. Because the folded component lands inside the legitimate audio band, the converter treats it as real content, and no downstream processing can separate it from the genuine signal.
A common misconception is that a good digital filter after the ADC can clean up aliasing. It cannot. Digital filters operate on samples that have already been taken, and the folding happens at the instant of sampling. Once a 40 kHz tone has been recast as an 8 kHz tone, the digital domain simply sees an 8 kHz tone. The only effective defense is an analog anti-aliasing filter placed before the sampler, attenuating everything above the Nyquist frequency down to below the converter's noise floor. This makes the anti-aliasing filter the last line of defense in the analog domain.
The core trade-off in anti-aliasing filter design is filter order versus cutoff placement. The passband must preserve the useful audio bandwidth — typically up to 20 kHz — while the response must roll off fast enough within the transition band, say 20 kHz to 24 kHz for a 48 kHz system. A simple first-order RC network only provides 6 dB per octave, which quickly demands impractically high orders. In practice, engineers use second- or third-order active Sallen-Key topologies, or select sigma-delta audio converters, where oversampling pushes the Nyquist frequency far above the audio band and dramatically relaxes the analog filter requirements. Passband ripple and phase response also need attention, since aggressive filtering can color the signal.
On a real PCBA, the anti-aliasing stage is one link in a chain that includes EMI filtering, coupling, biasing and gain staging. A typical microphone or line-input path runs through EMI suppression and a DC-blocking capacitor, into a programmable gain amplifier, and then through the anti-aliasing network into the converter. Three checks matter most: verify that attenuation above the Nyquist frequency is sufficient (60 dB or better is a common target), confirm the passband cutoff is not eating into the usable bandwidth, and account for component tolerance and temperature drift that can shift the cutoff point over production runs. Getting these right at the design stage is far cheaper than discovering aliasing artifacts during mass production.
Q: What does aliasing sound like, and how can I confirm it on a product?
A: It typically appears as whistles or metallic artifacts that do not correspond to any input content, and their pitch shifts with high-frequency input. A quick test is to sweep a sine tone from above the Nyquist frequency: if the output tone moves downward as the input moves upward, aliasing is present.
Q: Why does oversampling relax the anti-aliasing filter requirements?
A: Oversampling raises the sampling rate several times, pushing the Nyquist frequency well beyond the audio band. A simple low-order RC filter is then enough to suppress energy in the folding region, while the converter's internal digital decimation filter handles the rest of the attenuation.
Q: Where should the anti-aliasing cutoff frequency be placed?
A: The passband edge is usually set at the top of the useful audio band, around 20 kHz, with the goal of suppressing out-of-band energy near the Nyquist frequency below the ADC's dynamic range. The exact point should be calculated against the sampling rate, front-end gain and interference environment rather than copied blindly from a reference design.
Shenzhen Liwei Electronic Technology Co., Ltd has over 10 years of experience in audio solution design, delivering complete chip and PCBA solutions for 15+ well-known brands and 300+ customers. Contact us for custom audio capture and wireless audio solutions.
Keywords: anti-aliasing filter, audio ADC, Nyquist frequency, oversampling, audio capture