# The Harmonic Series & Additive Synthesis

April 20, 2020

Let's understand the harmonic series by looking at a monochord:

You can play it by hovering over it with the mouse. The length / pitch can be adjusted by dragging the right circle.

## Overtones of the Harmonic Series

Generally, frequencies that are higher than a certain fundamental frequency are called overtones. Strings that are fixed on both ends will produce a set of sine wave overtones that are whole number multiples of the fundamental frequency. This subset of overtones is called the harmonic series:

Those are the first 8 harmonics of a fundamental frequency of 220Hz. The first string vibrates 220 times per second while the strings below vibrate with 2, 3, 4, 5, 6, 7 and 8 times 220Hz. We could of course use any other fundamental frequency or add more overtones. The fundamental frequency and its multiples are also called partials.

you can see harmonics on ropes here:

### Timbre

When a physical object vibrates, its harmonic overtones will all sound at once, at different amplitudes. Generally, the higher the frequency, the quieter the amplitude will be. The relation of the different harmonics is called timbre. It gives any instrument its unique character. Depending on the shape and material of the instrument, some partials will be amplified, while some will be dampened. The sum of all sinewave partials will produce a more complex waveform.

## Additive Synthesis of Common Waveforms

Let's look at the harmonics of some common waveforms. Each waveform is represented with a bar chart of the partial amplitudes and a graphical plot of all partials + their sum (green). The waves are made audible by using additive synthesis, which means playing all sine wave partials at the same time. You can change the number of partials by dragging the slider.

### Sawtooth

Sawtooth waves have a really sharp timbre. For example, all bowed instruments produce sawtooth waves. The friction between the bow and the string will move the string in the direction of the bow. At some point, the force of the string will be larger than the friction, which will all of a sudden pull the string back again. This back and fourth ends up looking like a sawtooth motion:

We can recreate this waveform by adding harmonic partials with amplitudes of:

$A = \frac{1}{n*\pi}$where n is the partial number

### Triangle

Triangle waves can be produced by plucking a string exactly at the center:

It contains only odd partials, with an amplitude of

$A = \frac{4}{(n*\pi)^2}$where n is the partial number

### Square

A perfect square wave cannot be produced in an analog way, thus they have a digital and unnatural hard feel. With less harmonics, they are similar to reed instruments, as they only have odd partials. You can imagine a reed bouncing back and forth, closing and opening the air canal:

So every even number of bounces, the canal is closed, which leads to no overtone being generated. The square wave amplitudes are defined by

$A = \frac{2}{n*\pi}$where n is the partial number

### Observations

- If we add new harmonics, we first hear them as seperate pitches, but soon they blend into the overall sound. This happens because our ears are so used to the harmonic series that we perceive multiple harmonics as a single pitch.
- Reducing the number of harmonics is like applying a low pass filter, without using one.
- The waveforms all have an "organ-like" quality, as they do not morph over time. In the real world, harmonics will move independently, creating a more organic feel.
- In addition to the timbre morphing, the overall envelope of the sound is another important characteristic that is not contained in the timbre, for example the harsh hitting of a mallet vs the soft bowing of a string.