Frequency visualizer
Build a tone's harmonics; hear and see how its timbre, waveform and spectrum change together.
Frequency visualizer
01 · FUNDAMENTAL
220 Hz A3
02 · TIMBRE
03 · HARMONIC COMB · DRAG A BAR OR USE THE ARROW KEYS
Amplitude is relative to 100%: 50% is about 6 dB lower, 10% is 20 dB lower. Turning a harmonic on or off restarts the sound with a short crossfade.
How do harmonics change timbre?
The frequency visualizer plays a fundamental tone and its upper harmonics, eight components in all (H1-H8); as you change each harmonic's amplitude, the sound's timbre and spectrum change together. At the same fundamental you can hear and see a sine, square, sawtooth or triangle timbre. The sound is generated in your browser, on your own device.
How to use the frequency visualizer
- Choose a timbre (sine, square, sawtooth, triangle) or set the harmonics' amplitudes yourself.
- Press Play; the WAVE lens shows each active harmonic as a line at its pitch, SPECTRUM shows each harmonic as its own peak.
- Change the fundamental: all harmonics shift together in the same ratio.
- Turn a harmonic down or up and listen to how the timbre changes.
- Your setting lives in the address; share the link and it opens with the same timbre.
What is it used for?
Build timbre from harmonics
Change the amplitudes of the eight harmonics to go from a sine to a square or a sawtooth; you hear and see that timbre comes from how the harmonics are spread.
Show waveforms in a lesson
Play a sine, square, sawtooth and triangle on the same fundamental; the WAVE and SPECTRUM lenses show the difference side by side.
Mute a harmonic
Turn a harmonic down and up again and listen to how the sound changes; switching off the even harmonics brings a sawtooth close to a square.
Share a timbre
The setting lives in the address; share the link and the same timbre opens.
How to read the results
- In the harmonic comb, the number above a bar is that harmonic's level relative to the fundamental (H1): 50% amplitude is about −6 dB, 10% is −20 dB. A dash (—) means the harmonic is off.
- In SOUND STRUCTURE each ring is a harmonic: the radius shows frequency (log), the thickness amplitude. 4 / 8 HARMONICS counts how many are on; SQUARE and TRIANGLE use only the odd harmonics (H1, H3, H5, H7), SAWTOOTH all eight.
- The frequencies under the bars are whole multiples of the fundamental (H3 = 3 × fundamental); move the fundamental and they all shift together. The note name under 01 · FUNDAMENTAL is the nearest note; any offset is shown in cents.
- The WAVE lens shows the recipe's pitches, not the waveform: each active harmonic is a line on a 50 Hz-8 kHz axis, its height the level; a harmonic beyond the axis stops at the edge. In SPECTRUM the lines come from the recipe, the curve from measuring the sound that plays.
Timbres
| Timbre | Harmonics | How it sounds |
|---|---|---|
| Sine | Fundamental only | Pure and round, like a tuning fork. |
| Square timbre | Odd harmonics, 1/n | Hollow and muted; a colour like a clarinet. |
| Sawtooth timbre | All harmonics, 1/n | Bright and full, like strings or brass. |
| Triangle timbre | Odd harmonics, 1/n² | Close to a sine, a little fuller; soft like a flute. |
What is a harmonic?
Most natural sounds are not a single frequency: a fundamental vibrates together with harmonics at its whole-number multiples (2, 3, 4… times). The fundamental sets the pitch; the harmonics' amplitudes set the timbre, the colour that tells two instruments playing the same note apart.
The spectrum shows these amplitudes by frequency; the waveform is the same sound's shape over time. They are two views of one sound: as you change the harmonics, both change together.
Frequently asked questions
- How is this different from the tone generator?
- The tone generator plays a single pure tone and a frequency sweep. The visualizer plays eight harmonics together, fundamental included; the aim is to build a timbre and see its harmonics and spectrum.
- Why isn't the square timbre a perfect square wave?
- For two reasons: there are only eight harmonics (a true square wave needs infinitely many), and the harmonics' phases are not set. Because the ear mostly hears amplitudes, the timbre still sounds square-like.
- What frequency range can I use?
- The fundamental runs from 40 to 2000 Hz; the eighth harmonic reaches at most 16 kHz. High frequencies become harder to hear with age; keep the volume low.
- Where can I explore resonance and intervals?
- The Resonance Lab covers the vibration modes of bells and bowls, and Intervals covers the ratios between two sounds and how they sound together. The harmonics and tuning tool also plays the harmonic series and just chords.
Listen and try
· v1.15 · changelog