Wave Room

What is sound made of?

Sound is a pressure wave: tiny, fast changes in air pressure. Electronically it becomes a voltage that rises and falls. Start with two pure tones and see what happens when they meet.

How deep do you want to go?
Try this
Wave A
Wave B

The sum is played at a fixed scale (never re-normalised), so cancellation really sounds quieter. Sound starts quiet. Keep your system volume at a comfortable level and take breaks.

Wave AWave BA + B
|f₁ − f₂|
4.0 Hz
A + B
1.600
Peak of the sum: 1.600 (of a possible 1.60)
f₂/f₁
1.0091

When two tones are close in frequency they drift in and out of step, and the loudness swells and fades: that is beating. When they are equal and opposite, they cancel. Try both and listen.

How long is a sound wave?

In air at 20 °C, sound travels at about 343 m/s. The wavelength is that speed divided by the frequency, so low notes are metres long and high notes are centimetres.

  • At 440 Hz: λ = 343 m/s ÷ 440 Hz ≈ 78.0 cm
  • At 444 Hz: λ = 343 m/s ÷ 444 Hz ≈ 77.3 cm
  • At 20 Hz: λ = 343 m/s ÷ 20 Hz ≈ 17.15 m
  • At 1,000 Hz: λ = 343 m/s ÷ 1,000 Hz ≈ 34.3 cm
  • At 20,000 Hz: λ = 343 m/s ÷ 20,000 Hz ≈ 1.7 cm

Illustrative simulation Illustration: assumes air at 20 °C (c ≈ 343 m/s). The speed changes with temperature and medium; the electrical signal in a cable has no acoustic wavelength.

What this shows

Simple waves add sample by sample, which explains beats, reinforcement and cancellation.

What this does not show

How a room changes these effects. Real cancellation in air depends on position, reflections and both sources; this room shows the electrical sum.

Sources

  1. D. E. Hall, Musical Acoustics, 3rd ed., Brooks/Cole, 2002 (superposition, beats).
  2. ISO 9613-1:1993, Acoustics — Attenuation of sound during propagation outdoors, Part 1 (speed of sound in air vs temperature).
  3. Xiph.Org, “Digital Show & Tell”.