Tuning approaches
What does “in tune” mean here?
Listen to three precise ways of placing a major third, perfect fifth or octave above a fixed root.
Enable JavaScript for interactive controls and synthesized sound. Default model: equal · ratio 1.259921 · upper tone 277.18 Hz · 400.00 cents. Root 220 Hz. A fixed-root interval comparison, not a complete adaptive tuning system. Original teaching tone. The original five-component tone, including the fifth harmonic that can meet the upper note’s fourth harmonic in a 5:4 third. Frequencies and note timing follow the controls; only the source recipe changes. Normalization uses the same bounded nominal RMS policy, not a perceptual loudness match.
Default model values
| Component | Frequency | Peak amplitude | Phase |
|---|---|---|---|
| 1 | 220.00 Hz | 0.1494 | 0° |
| 2 | 440.00 Hz | 0.0448 | 0° |
| 3 | 660.00 Hz | 0.0299 | 0° |
| 4 | 880.00 Hz | 0.0149 | 0° |
| 5 | 1100.00 Hz | 0.0120 | 0° |
| 6 | 277.18 Hz | 0.1494 | 0° |
| 7 | 554.37 Hz | 0.0448 | 0° |
| 8 | 831.55 Hz | 0.0299 | 0° |
| 9 | 1108.73 Hz | 0.0149 | 0° |
| 10 | 1385.91 Hz | 0.0120 | 0° |
Listen with a purpose
Try this.
With the root at 220 Hz, save the equal-tempered major third as A. Choose Just third as B. Compare the upper frequency and listen for changes between nearby partials.
What is happening?
Equal temperament places an interval of n semitones at 2^(n/12). The selected just major third is 5/4; the Pythagorean major third is 81/64. Both selected alternatives use 3/2 for the fifth and 2/1 for the octave. Cents provide a logarithmic comparison of these ratios.
The model & its limits
These are selected fixed-root intervals, not a complete account of tuning traditions or adaptive harmony. Simple ratios are acoustical relationships, not universal prescriptions for pleasantness. Each pair uses the same selected partial recipe and nominal RMS policy. Source choice affects the tuning cues: the flute-like source has weak upper harmonics, and the clarinet-like source reduces the fourth harmonic that meets the lower note’s fifth in a 5:4 third. Hold the source choice fixed when comparing tunings.
The interactive model synthesizes sound locally. Audio begins only after you press a listening button. Stop ends every scheduled voice; leaving or hiding the page stops audio. The numerical table remains useful without listening.
Static waveforms and component spectra are calculated from the current model. During playback, the waveform (except calculated swell, envelope and sampling illustrations) and spectrum come from the same browser audio signal. FFT bins have finite resolution; bars in the static view represent exact model components. A/B uses the same master volume; perceptual loudness is not calibrated.
How real instruments use this
Piano
Learn why stiff strings complicate practical piano tuning. The lab compares harmonic tones at selected ratios, so it does not predict stretched piano octaves.
Trombone
Explore an acoustic path that a player adjusts continuously. The tuning lab isolates interval ratios without modelling the slide, lips or bore resonances.
Sources & further reading
These sources support the explanations and model assumptions. Recording credits are listed in the listening panels and the source register.
- Web Audio API 1.1 — Editor’s Draft ↗W3C Web Audio Working Group · 2026-11-06 (work in progress)
- Web Audio API best practices ↗MDN contributors / Mozilla · Undated
- Note names, MIDI numbers and frequencies ↗Joe Wolfe / UNSW Music Acoustics · Undated
- Tartini tones and temperament ↗Joe Wolfe / UNSW Music Acoustics · Undated
- How harmonic are harmonics? ↗Joe Wolfe / UNSW Music Acoustics · Undated
- Interference beats and Tartini tones ↗Joe Wolfe / UNSW Physclips · Undated
- Harpsichord and Clavichord ↗Neville H. Fletcher / UNSW hosted research chapter · Undated
- Indifference to dissonance in native Amazonians reveals cultural variation in music perception ↗Josh H. McDermott, Alan F. Schultz, Eduardo A. Undurraga and Ricardo A. Godoy / Nature · 2016-07-28