Every periodic sound has two complementary representations: a waveform (pressure vs. time) and a spectrum (energy vs. frequency). These are two views of the same physical reality, connected by the Fourier transform. This page lets you see and hear the four fundamental periodic waveforms side by side — comparing their time-domain shapes, their frequency-domain spectra, and how they sound.
🎯 Simple version: Sounds have shapes. A pure tone is a smooth wave. A buzzy tone is a jagged wave. This page shows you four basic wave shapes, what frequencies they contain, and lets you hear the difference. The shape of the wave determines the recipe of frequencies — and that recipe is what your ear actually hears.
These four waveforms are the building blocks of synthesis and appear throughout acoustics. Each has a distinct harmonic recipe that defines its sound.
The simplest possible periodic sound: a single frequency with no harmonics. Its spectrum is a single bar at the fundamental frequency f₁. Sine waves sound thin, pure, and “electronic” because there is no spectral richness. No acoustic instrument produces a perfect sine wave — it is a mathematical idealization, the atom from which all complex sounds are built.
Spectrum: H1 = 1, all others = 0
Sound: Pure, flute-like, featureless
A square wave contains only odd-numbered harmonics (1st, 3rd, 5th, 7th…), each with amplitude proportional to 1/n where n is the harmonic number. The missing even harmonics give it a characteristic “hollow” or “woody” quality — like a clarinet in its lower register, which also emphasizes odd harmonics due to the physics of a cylindrical pipe closed at one end.
Spectrum: H1 = 1, H2 = 0, H3 = 1/3, H4 = 0, H5 = 1/5, ...
Formula: Aₙ = 1/n for odd n, 0 for even n
Sound: Hollow, reedy, clarinet-like
A sawtooth wave contains all harmonics — both odd and even — each with amplitude 1/n. This makes it the richest of the four fundamental shapes: its spectrum is a smoothly descending staircase. The full harmonic complement gives it a bright, buzzy, string-like quality. Bowed string instruments produce waveforms close to sawtooth because the stick-slip motion of the bow creates a nearly linear ramp in string displacement.
Spectrum: H1 = 1, H2 = 1/2, H3 = 1/3, H4 = 1/4, ...
Formula: Aₙ = 1/n for all n
Sound: Bright, buzzy, string-like
A triangle wave, like the square, contains only odd harmonics — but they fall off much faster, at 1/n². The rapid amplitude decay means that harmonics beyond the 5th are barely audible. This produces the softest, most mellow of the four shapes — closer to a sine wave than any of the others, but with just enough harmonic content to avoid sounding completely sterile.
Spectrum: H1 = 1, H2 = 0, H3 = 1/9, H4 = 0, H5 = 1/25, ...
Formula: Aₙ = 1/n² for odd n, 0 for even n
Sound: Soft, mellow, subdued
Explore each waveform visually and aurally. The left canvas shows the waveform in the time domain (pressure vs. time); the right canvas shows its harmonic spectrum (amplitude vs. harmonic number). Select a waveform, adjust the fundamental frequency, and press play to hear it.
These four waveforms are not just textbook abstractions — they map directly to real physical phenomena and practical applications:
Connection to acoustic instruments. The harmonic recipes of these waveforms approximate real instruments. A clarinet’s cylindrical bore emphasizes odd harmonics (square-wave-like). A bowed violin string produces a stick-slip motion close to a sawtooth. A flute’s tone approaches a sine wave in its upper register. Understanding these ideal shapes gives you the vocabulary to describe what makes one instrument’s timbre different from another’s.
Additive synthesis. Fourier analysis tells us that any periodic sound is a sum of sine waves. These four waveforms demonstrate four different “recipes” — four different ways of mixing harmonics. The entire field of additive synthesis builds on this: start with the harmonic recipe you want, and construct any timbre from scratch.
The harmonic series connection. All four waveforms draw their components from the harmonic series — integer multiples of the fundamental (f, 2f, 3f, 4f…). What distinguishes them is which harmonics are present and how quickly their amplitudes decay. This is the physical basis of spectral shape and, ultimately, of timbre perception.
Subtractive synthesis. Conversely, you can start with a harmonically rich waveform (sawtooth or square) and remove frequencies with filters. This is subtractive synthesis — sculpting timbre by carving away harmonics from a spectrally dense source.
| PhizMusic | Western | Other Systems |
|---|---|---|
| Waveform | Waveform, waveshape | Same across systems |
| Spectrum | Harmonic content, spectral content | Same across systems |
| Fundamental frequency | Fundamental, root frequency | Grundton (German), fondamentale (French) |
| Harmonic (nth) | nth partial, (n-1)th overtone | “Partial” counts from 1; “overtone” counts from the one above the fundamental |
| Harmonic amplitude | Partial strength | — |
| Step-interval | Interval | Intervall (German), intervalle (French), antarah (Arabic) |