A harmonic oscillator stacks frequency multiples of one fundamental. Push upper partials to add brightness and edge.
Every musical note you have ever heard is a stack of frequencies, not one. When a guitar string vibrates at 220 Hz, it also vibrates at 440, 660, 880, 1100 Hz and beyond - all at the same time. These are its harmonics: integer multiples of the fundamental frequency. The first harmonic is the note itself. The second is double that frequency. The third is triple. The pattern continues upward in a neat, predictable ladder called the harmonic series.
This is why a piano and a clarinet playing the same note sound completely different. They produce the same fundamental pitch, but each instrument has its own recipe of harmonic strengths. That recipe is called timbre. The machine below lets you write your own recipe from scratch.
Each card below shows a different combination of harmonics summed together. Watch how the wave shape grows more complex as overtones are added.
H1 is the fundamental - the root pitch your ear locks onto. It is the note itself. Every other harmonic is measured relative to this one.
H2 vibrates at double the frequency. It adds warmth and body without changing which note you hear. Think of it as reinforcing the fundamental from one octave above.
H3 (triple the frequency) introduces a slightly hollow, reedy quality. Clarinets are dominated by odd harmonics, which is partly why they have that distinctive woody tone.
H4 through H8 add increasingly fine detail and brightness. Pull H1 down and push the upper harmonics up - the timbre becomes strange and bell-like. Bells are one of the few acoustic objects where higher partials can be louder than the fundamental.
Certain patterns recur everywhere in nature and in synthesis.
A square wave contains only odd-numbered harmonics (H1, H3, H5, H7). Set the even sliders to zero and listen to the hollow, woody result.
A sawtooth wave contains all harmonics in a steadily falling slope. These are not arbitrary shapes. They emerge directly from the physics of vibrating strings, air columns, and electrical circuits.
Brightness tilts the entire harmonic balance without touching individual sliders. Positive values boost upper partials. Negative values muffle the tone - like hearing something through a wall.
Spread gently detunes the upper harmonics against each other. It thickens the sound the way a chorus of slightly out-of-tune voices sounds richer than a single voice.
Real acoustic instruments have harmonics that shift constantly. A bowed cello string produces different harmonic levels depending on bow pressure and speed. A trumpet's upper partials surge forward as the player blows harder.
Static harmonics sound synthetic by comparison. That is exactly why synthesisers sound the way they do - and why that can be a useful quality rather than a limitation.
© ectoplasma.org