Ask the view the right question
Imagine watching one pressure value repeatedly rise and fall. A waveform puts those values along a time axis. It is useful for locating an onset, a pause, a repeating cycle or a clipped peak. A spectrum instead separates a selected stretch of signal into frequency components. It is useful for finding a fundamental, identifying harmonic spacing or comparing brightness.
Neither picture is the sound itself. Both depend on a chosen scale and time window. A waveform that looks dense may simply show too many cycles at once. A tall spectral peak may mean strong energy in a narrow band rather than a louder whole sound.
Evidence: 1
Build a sound you can account for
Start with an original teaching tone made from 200 Hz and 600 Hz sine waves. Give the second component half the first component’s amplitude. Its waveform is no longer a sine curve, yet the pattern still repeats every 5 milliseconds. The corresponding ideal line spectrum has components at 200 and 600 Hz, with no component at 400 Hz.
Turn down the 600 Hz component. One spectral line shrinks and the waveform moves toward a sine shape. This is an especially useful test because you know the ingredients. In a measured spectrum, finite observation time spreads energy around bins, so the graph will not always consist of perfectly thin lines.
What one picture leaves out
A magnitude spectrum discards phase. Two signals can therefore have the same component magnitudes and different waveform shapes. A single spectrum also hides how an attack turns into a sustain. For changing sounds, compare multiple windows or a spectrogram. Before inferring a musical difference from a picture, check whether its axes and window are the same as in the comparison.
Evidence: 1
| Feature | Waveform | Magnitude spectrum |
|---|---|---|
| Horizontal axis | Time, usually milliseconds | Frequency, in Hz |
| Vertical axis | Instantaneous signal amplitude | Component magnitude or level |
| Reveals directly | Cycles, transients, silence | Partial spacing and relative strengths |
| Does not show directly | Separate component strengths | Phase and the full time evolution |
Use the waveform for timing and shape; use the spectrum for frequency ingredients.
Make the connection
Build a sound
Keep harmonic 1 and harmonic 3, then lower harmonic 3. Connect the changing shape to the changing spectral component.
Open the experiment ↗Sources & further reading
These sources support the explanations and model assumptions. Recording credits are listed in the listening panels and the source register.
- What is a Sound Spectrum? ↗Joe Wolfe / UNSW Sydney · Undated
- Sound Synthesis — Handbook for Acoustic Ecology ↗Barry Truax, editor / Simon Fraser University · Undated
- Basic concepts behind Web Audio API ↗MDN contributors / Mozilla · 2026-11-11