Superpose two slightly detuned acoustic waves to watch constructive and destructive interference sculpt a pulsing beat envelope at f_beat = |f₁ − f₂|, with optional safe Web Audio synthesis.
Because cosine switches sign twice per oscillation, loudness peaks occur at full difference frequency |f₁ − f₂| rather than half. Plot uses a slowed visual carrier to avoid 440 Hz canvas aliasing.
When two close pitches play simultaneously, they repeatedly drift into phase (loud constructive crests) and out of phase (quiet destructive troughs). Musicians tune guitars and pianos by listening to those slow volume wobbles slow down to zero Hz as strings approach exact unison.
Human ears perceive discrete volume beats cleanly up to roughly 15–20 Hz; wider frequency splits blend into vocal roughness or a separate difference chord. Whenever amplitudes differ (A₁ ≠ A₂), waves only partially cancel so the envelope waist never touches zero.
| Detuning |f₁ − f₂| | Beat Rate | Perceptual Effect | Minimum Envelope Waist (A₁=1) |
|---|---|---|---|
| 0 Hz (f₂ = 440 Hz) | 0 beats/s | Smooth steady tone (in tune) | Zero beats (constant amp = 2 with A₂=1) |
| 1–6 Hz | 1–6 beats/s | Clear rhythmic amplitude pulsing | |1 − A₂| (0 if A₂ = 1) |
| 15–20 Hz | 15–20 beats/s | Rapid flutter / roughness limit | |1 − A₂| |
| > 30 Hz | Beyond beat tracking | Heard as two distinct musical pitches | Non-pulsing two-tone timbre |
A 38-second animation: wave superposition, f_beat = |f₁ − f₂| amplitude pulsing, and unequal-amplitude waists.
Start at Slow 1 Hz Tuning Check and slowly drag f₂ from 441.0 down to 440.0 Hz: the wide beat swells vanish into a flat uniform carrier.
Select Unequal Amplitudes (A₁=1, A₂=0.4): the dashed red envelope shrinks down only to waist 0.60 instead of zero.
Although the cosine modulation envelope has frequency |f₁ − f₂|/2, human loudness detects squared amplitude (or absolute pressure), which hits two maxima—both +peak and −trough—every modulation cycle.
Web Audio starts muted by default and resumes safely when toggling the Enable Sound checkbox (subject to device hardware silent switch settings).