Pro Audio Files

Digital Audio 101: Aliasing Explained

Aliasing is one of the more complex concepts of digital audio.

Luckily, most audio engineers can spend their days being creative rather than having to worry about it.

Nonetheless, understanding aliasing actually helps explain a lot about how digital works.

Aliasing 101

When a signal is sampled, it is inherently band-limited in frequency.

In other words, when a signal is sampled by a finite number of points, it cannot represent an infinite range of frequencies.

A conventional D-to-A converter for audio will only create signals within a specific frequency range that is determined by the sampling rate.

If there are any recorded frequencies outside of this range, they are interpreted by the converter and mapped to frequencies within this range. This is aliasing — when one frequency is coded as a different frequency.

Nyquist Frequency

The sampling rate determines this frequency range because it sets the Nyquist frequency.

The Nyquist frequency is the maximum frequency that can be recorded by a specific sampling rate. The Nyquist frequency is half of the sampling rate.

When it comes to audio recording, if the sampling rate is 48,000 samples per second, the Nyquist frequency is 24,000 Hz. If the sampling rate is 44,100 samples per second, the Nyquist frequency is 22,050 Hz.

If a signal contains any frequencies greater than the Nyquist frequency, they are interpreted by the converter and mapped to frequencies less than the Nyquist frequency.

Anti-Aliasing Filter

Aliasing would be a big problem for digital audio, because it is usually not desired for frequencies to change in a signal. The good thing is that there is a dedicated component to prevent aliasing as part of the analog-to-digital and digital-to-analog conversion process. This component is called an anti-aliasing filter.

Conceptually, the anti-aliasing filter blocks frequencies above the Nyquist frequency from being converted. This is going to prevent any signals from changing frequency during the conversion process.

Visual Example

Many people have observed aliasing without even realizing it.

A common example of aliasing is in the visual domain, rather than the auditory domain.

In many car commercials, it appears as though the wheels on the car are rotating backwards while the car is traveling forwards. In reality, the car and the wheels are both traveling (or rotating) forwards.

The “camera trick” in the video that causes this illusion has a conceptual similarity with aliasing.

The “snapshots” of the wheel’s position are not sufficiently fast to capture wheel’s true rotation. If the camera captures one frame while the wheel rotates 359°, the video will appear as though the wheel has traveled 1° in the opposite direction. Notice that a very fast rotation would actually be captured as a very slow rotation by the camera.

Therefore, in order for the camera to capture the actual rotational direction of the wheel, it must take a “snapshot” before the wheel reaches 180°.

A similar concept occurs in digital audio.

Many audio signals are oscillatory in nature, meaning they repeat in cycles. Unless a proper number of samples are recorded per cycle, the signal that represents with path of vibrating air molecules is not sufficiently represented.

Aliasing in Audio

Check out the video below to learn more about aliasing as it pertains to audio signals:

Missing our best stuff?

Sign up to be the first to learn about new tutorials, sales, giveaways and more.

We will never spam you. Unsubscribe at any time. Powered by ConvertKit
Eric Tarr

Eric Tarr

Eric Tarr is a musician, audio engineer, and producer based in Columbus, Ohio. Currently a Professor of Audio Engineering Technology at Belmont University in Nashville, TN.

Free Video on Mixing Low End

Download a FREE 40-minute tutorial from Matthew Weiss on mixing low end.

Powered by ConvertKit
  • Gimblator

    Hi Eric, great and informative article.
    I have a question that mostly concerns my personal experience with aliasing in music.
    The encoder I mostly use to export my random mp3s for tests (Lame in FL studio) keeps on being quite unpredictable about the results of any interpolation it makes. The fact is, when I want to experiment something and throw myself in some kind of electronic music, I often play around and come up with high pitched ringing sounds which have a rich top end content. As I try to export the audio, the encoder completely modifies those particular sounds and “clean” them, removing what I think it considers “alias” and improving the “quality” of the overall audio. This usually happens every time i choose an interpolation method that’s higher in quality than the “linear” (no changes) one. It is quite annoying as I would like to let him clean the rest of the audio as it usually makes a good job, while preserving those high pitched sounds.
    My question is: have you ever experienced similar problems with encoders and what in particular are they “considering” alias?
    I always work with a 44.1khz sample rate
    Thanks in advance and sorry for this walltext X)

    • Eric Tarr

      That’s a great question. There shouldn’t be any problems if you are increasing the quality. However, if you are encoding the audio to a lower quality, then it is probable that high frequency information is being changed/lost. You may just want to stick with wav files.

    • Gimblator

      Yeah I guess that’s the evergreen solution 🙂 Thanks for the reply!

  • Nice work Eric.
    This is probably the easiest explanation I have read.
    I especially like the backwards spinning tyre reference.

    • Eric Tarr

      Thanks for your feedback! I am glad you for this helpful.

  • Britny Lockridge

    Preparing to take my Digital Signal Processing final, and haven’t understood aliasing all semester, despite reading my text book’s explanation over and over. This explanation was 100.

    • Eric Tarr

      Thanks, Britny! I hope you aced the final exam.

/> /> /> /> /> /> /> /> /> />