In the 1630s the French philosopher and priest Pierre Gassendi set out to time sound. He stood far from a gun, started counting when he saw the flash and stopped when he heard the bang. His figure for the speed was well off, but he noticed something more lasting: the deep boom of a cannon and the sharp crack of a musket took the same time to reach him. High and low sounds travel at the same speed.
His friend Marin Mersenne made his own measurements around the same time. In 1687 Isaac Newton worked out the speed of sound from first principles, from how springy and how heavy air is. His answer came out too low by about a sixth, and the gap stayed unexplained for more than a century. In 1816 Pierre-Simon Laplace found the missing piece: air warms slightly as a sound wave squeezes it and cools as it expands, far too quickly for the heat to escape, and that makes air springier than Newton had assumed.
Sound is invisible, and most pictures of it either show a wiggly line that looks like a transverse wave, or a cloud of dots that's hard to read. I wanted a tool where you can follow every layer of air, see that each one only goes back and forth, and see the wavelength change with pitch while the speed of sound stays the same.
Daniel Fox is a record producer, engineer and educator based in Massachusetts, USA.
Questions, ideas, or bugs? edulab@wondersmithaudio.com
Try the other Wondersmith EduLab apps, or bring a hands-on workshop to your school or team.
Visit the Edu Lab ↗The top picture, Longitudinal wave, is a stretch of air seen from the side. A speaker at the left end (its cone seen side-on, as a flat plate) moves back and forth, squeezing and stretching the air next to it. The wave it makes travels to the right and carries on past the right-hand edge without bouncing back. The scale underneath has evenly spaced marks for comparing distances; it has no units, because nothing here is drawn to scale.
Slices draws the air as thin layers that start out evenly spaced, so you can see each one move and see where they bunch up. Dots draws the same air as a scattering of particles. Both move in exactly the same way. Highlight shades the air by its pressure: where it's squeezed (a compression) the air glows a little brighter, and where it's stretched (a rarefaction) it fades a little. It also shows the pink marked layer described below.
With Highlight on, one layer of air is marked in pink. The pink handle on the scale between the two pictures, and the small mark above the air, show where that layer sits when the air is still; they never move on their own. To mark a different layer, drag the handle along the scale (or press [ and ]). In Dots, the marked layer is shown as one pink dot.
The graph under the scale is a snapshot of the pressure at this moment. The air and the graph share the scale between them: it measures distance from the speaker, not time, so each point on the graph sits directly under the same spot in the air. The curve goes up (+) where the air is squeezed above normal air pressure and down (−) where it's stretched below it; 0 is normal air pressure.
With Highlight on, a pink dot rides the curve at the marked layer's home spot, right under the pink handle. It shows the pressure that layer feels right now.
Frequency sets how fast the speaker goes back and forth, from low to high. A change only affects the air the speaker pushes from then on; the wave already on its way carries on as it was.
Amplitude sets how hard the air is squeezed, from small to large. For the same amplitude, a low note moves the air further than a high one.
Real sound is far too fast to see, so everything here runs in slow motion, always at the same slowed speed. That's why the wave always crosses the picture at the same pace.
Pause (Space) freezes the air. Restart (R) stills the air and starts the speaker again, so you can watch the first push travel across the air.
This is an ideal plane wave with no losses. Nothing is to scale: sizes, speeds and the amount of squeezing are all made up so you can see what's happening. The air is squeezed by up to 60 percent here; in a loud sound, the pressure changes by about one hundred-thousandth of the air's pressure, and each layer of air moves less than a thousandth of a millimetre. The layers and dots aren't molecules. Each one stands for a thin sheet of air, which really contains countless molecules racing around in all directions; the wave is a tiny shift in where they are on average.
Space pause or play · R restart · ← → frequency down or up a step · [ ] mark the next layer left or right
Several of these use the pink marked slice. Turn on Highlight to see it.