Adventures In Audio

What is harmonic distortion?

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

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.

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...

Hi-Fi comfort OVER your ears? TRUEFREE O1 detailed review

Get the tube sound in your system with the Fosi Audio P3

Any studio you like, any listening room you like - For producers and audiophiles

Hidden Hi-Fi - The equipment you never knew you *didn't* need - Fosi Audio N3

Adding tubes to a jazz mix with Freqport Freqtube

Adding tubes to a rock master with Freqport Freqtube

Adding tubes to female vocals with Freqport Freqtube

Adding tubes to male vocals with Freqport Freqtube

Adding tubes to real drums with Freqport Freqtube

Adding tubes to a bass guitar with Freqport Freqtube

Adding tubes to speech with Freqport Freqtube

Adding tubes to an acoustic guitar with Freqport Freqtube

Parabolic reflector microphone - Sound On Sound latest issue

Your power amp is average - Here's why

MANCAVE REVIEW: In-ear monitors - Better than earbuds?

Can this tiny amp really produce 600 watts? - Fosi Audio V3

MANCAVE - Recreating Olivia Rodrigo's 'Vampire' vocal

Why does this song sound so bad?

Audiophiles - You're all wrong!

MANCAVE RE-REVIEW: OpenRock Pro earbuds in language Audiophiles can understand

MANCAVE REVIEW: OpenRock Open-Ear Air Conduction Sport Earbuds

Can lossy digital audio be better than lossless?

Man-Cave: Microphone mysteries revealed

How I improved my audio - From the Mancave