What is harmonic distortion?

David Mellor

David Mellor is CEO and Course Director of Audio Masterclass. David has designed courses in audio education and training since 1986 and is the publisher and principal writer of Record-Producer.com.

Sunday December 22, 2019
FREE EBOOK DOWNLOAD ►

Harmonic distortion changes the shape of the audio waveform and creates additional frequencies that were not originally present. Often it sounds bad if there's too much of it. But electric guitarists love it!

For this demonstration we'll start off with a sine wave of 100 Hz at -20 dBFS. It looks like this in the edit screen of the digital audio workstation...

Sine wave in DAW

It sounds like this (you'll need to listen on loudspeakers or studio-quality headphones)...

A sine wave consists of only one frequency component, in this case - obviously - 100 Hz.

We can visualize this sine wave more flexibly using an oscilloscope plug-in.

Sine wave in oscilloscope
We can also view the frequency content using a spectrograph, which will create a spectrogram showing the frequency components. In this case there is only one, at 100 Hz.

Sine wave spectrogram

The spreading out at the bottom of the plot is due to spectral leakage, which can be ignored for most purposes. The pointy tip of the plot shows us that only 100 Hz is present.

To create distortion intentionally, we will insert the Soundtoys Decapitator plug-in, initially with default settings.

It looks like this...

Soundtoys Decapitator

And it sounds like this...

We can look at the waveform...

Decapitated waveform

As you can see, there is hardly any visual difference. But if we look at the spectrogram...

Decapitated spectrogram

Now we can see that there is a strong component at 100 Hz, which we expect, and also components at 200 Hz and 300 Hz. So the plug-in has created additional frequencies that were not originally present.

200 Hz and 300 Hz are whole-number multiples of the original 100 Hz frequency. This is usual in string and wind musical instruments, and also the human voice. We call it the 'harmonic series'. In this case 100 Hz is the 'fundamental' and also the 'first harmonic'. 200 Hz and 300 Hz are the second and third harmonics respectively.

Because of the similar pattern of frequencies to the harmonic series, we call this type of distortion 'harmonic distortion'.

At present the distortion is fairly mild. But we can easily increase it using the Drive control of the Decapitator.

Increased drive
It sounds like this...

The waveform looks like this...

Increased drive waveform

And the spectrogram looks like this...

Increased drive spectrogram

We can see changes in the waveform clearly. The tops and bottoms of the waveform have been squared off (the tilt is due to the low-cut filter which is set to 20 Hz). Also, the positive-going and negative-going halves of the waveform are slightly asymmetric. Every change from the shape of the sine wave contributes to the sound texture.

In the spectrogram we now see a mass of harmonics, all at whole-number multiples of the original 100 Hz fundamental. Some are missing, and we attribute this to quirks in the Decapitator plug-in.

All of this is interesting, but how does it apply to a real-world instrument? Well here's an electric guitar. It's a software instrument guitar and it sounds really quite weak.

But if we add the same distortion as we did to the sine wave, it sounds like this...

And with a little echo and reverb...

At this point, it sounds perfectly usable musically. And of course this is just one distortion plug-in and setting. There is an almost infinite variety of distortion effects and settings from which to choose.

Distortion is an amazingly useful audio process and in this brief tutorial we have only just scratched the surface of its possibilities.

Like, follow, and comment on this article at Facebook, Twitter, Reddit, Instagram or the social network of your choice.

Come on the Audio Masterclass Pro Home Studio MiniCourse - 60 great hints and tips to get your home recording studio MOVING

It's FREE!

Get It Now >>

An interesting microphone setup for violinist Nigel Kennedy

Are you compressing too much? Here's how to tell...

If setting the gain correctly is so important, why don't mic preamplifiers have meters?

The Internet goes analogue!

How to choose an audio interface

Audio left-right test. Does it matter?

Electric guitar - compress before the amp, or after?

What is comb filtering? What does it sound like?

NEW: Audio crossfades come to Final Cut Pro X 10.4.9!

What is the difference between EQ and filters? *With Audio*

What difference will a preamp make to your recording?

Watch our video on linear phase filters and frequency response with the FabFilter Pro Q 2

Read our post on linear phase filters and frequency response with the Fabfilter Pro Q 2

Harmonic distortion with the Soundtoys Decapitator

What's the best height for studio monitors? Answer - Not too low!

What is the Red Book standard? Do I need to use it? Why?

Will floating point change the way we record?

Mixing: What is the 'Pedalboard Exception'?

The difference between mic level and line level

The problem with parallel compression that you didn't know you had. What it sounds like and how to fix it.

Compressing a snare drum to even out the level

What does parallel compression on vocals sound like?

How to automate tracks that have parallel compression

Why mono is better than stereo for recording vocals and dialogue