Adventures In Audio

What is harmonic distortion?

LEARN AUDIO ONLINE ► FREE TRIAL ►

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.

Sunday December 22, 2019

The Audio Masterclass Music Production and Sound Engineering Course

FREE TRIAL

Ready to take your recording to the next level? Take a 30-day FREE TRIAL of the Audio Masterclass Music Production and Sound Engineering Course - Our most popular course.

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

David Mellor

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 Adventures In Audio.

Audio Masterclass gives you all the technical knowledge and skills to bring your musical dreams to life

The Audio Masterclass Music Production and Sound Engineering Course

Get the most from your studio with the Audio Masterclass Music Production and Sound Engineering Course.

Learn more...

Learn Pro Tools with our amazing range of video courses

Pro Tools video course catalog

Browse Pro Tools courses...

Learn Logic Pro with our amazing range of video courses

Logic Pro video course catalog

Browse Logic Pro courses...

Learn Cubase with our amazing range of video courses

Cubase video course catalog

Browse Cubase courses...

Audio Masterclass gives you all the technical knowledge and skills to bring your musical dreams to life

The Audio Masterclass Music Production and Sound Engineering Course

Get the most from your studio with the Audio Masterclass Music Production and Sound Engineering Course.

Learn more...

More from Adventures In Audio...

Making a perfect sine wave and animating it

Graphic equalizer demonstration using the Waves GEQ Classic

Harmonic enhancement: In the master or individual tracks? (Can you hear the difference?)

What will happen if your snare drum clips?

EQ demonstration HF bell boost

How much bass can a Bluetooth speaker produce?

One weird trick for monitoring your mix on a Bluetooth speaker

Can a preamp's pad work as a pop filter

Get the sound you want from the tools you have

What is the phase button for on a microphone preamplifier?

Choosing studio monitors - Is it your most important buying decision?

What is a channel strip? Why should you use one?

Audio effects explained - A quick guide for beginners

How to choose the best key for your song

The amazing stereo effect that no-one can hear

What is the best studio microphone?

Bad Audio Diary BAD 9: What's wrong with this picture?

Weird and wonderful sounds using the Air Music Tech Chorus plug-in

The end of latency?

An investigation of the pre-delay parameter of the Lexicon 480L reverb plug-in

Add reverb to your recordings using the natural echo chamber technique

Why you should ventilate your home recording studio

Q: What is your main concern if your interest is voice over?

Why do microphones sound different?