Beyond Discovery

Physics

The Science of Sound and Music

How vibrations become sound, why a guitar and a flute sound different, and the simple ratios behind musical notes, with homemade instruments to build and test.

By Beyond Discovery 8 min read

Close-up of vibrating guitar strings over the sound hole of an acoustic guitar
Image: WolfBlur, Pixabay Content License

Pluck a stretched rubber band and you hear a twang. Press your fingertips lightly against your throat while you hum, and you feel a buzz. Rest your palm on a speaker playing loud music and the cabinet trembles. In every case, the sound you hear begins with something moving back and forth very quickly.

Sound is one of the most familiar parts of daily life, yet the physics behind it is surprisingly elegant. A few simple ideas explain why thunder rumbles after lightning, why your voice sounds odd after breathing helium, and why some combinations of notes feel restful while others feel tense.

In this article you will find out what a sound wave actually is, how pitch, loudness and tone work, why music is built on simple number ratios, and how to make three homemade instruments that demonstrate it all.

Sound is a traveling squeeze

When a guitar string vibrates, it shoves the air molecules next to it. Those molecules bump into their neighbors, which bump into theirs, and a pattern of tiny pressure changes ripples outward. Regions where air is squeezed together are called compressions; regions where it is spread out are rarefactions.

The air itself does not rush from the guitar to your ear. Each molecule just jostles back and forth around roughly the same spot, passing the disturbance along, much as a "wave" travels around a stadium while every spectator stays in their seat. Because the molecules move back and forth in the same direction the wave travels, sound is called a longitudinal wave.

This explains a classic fact: sound cannot travel through a vacuum. With no molecules to push, there is nothing to carry the wave. Space is silent, no matter what science-fiction films suggest.

How fast does sound travel?

The speed depends on what the sound is moving through. In general, sound travels faster in liquids than in gases, and faster still in many solids, because the particles are more tightly linked.

MediumApproximate speed of sound
Air at 20 °CAbout 343 meters per second
Fresh waterAbout 1,480 meters per second
SteelRoughly 5,000–6,000 meters per second

Temperature matters too: sound moves a little faster in warm air than in cold air.

Light, by comparison, is almost a million times faster than sound in air. That is why you see lightning before you hear thunder. Sound covers about a kilometer in three seconds (or a mile in about five), so counting the seconds between flash and rumble gives a rough idea of how far away a storm is. Underwater, where sound travels so well, it can cross entire ocean basins; our archive stories on underwater acoustics and the SOFAR channel explore how.

Pitch, loudness and tone

Every sound you hear can be described by three qualities, and each one matches a physical property of the wave.

Pitch is frequency

Frequency is the number of vibrations per second, measured in hertz (Hz). A string that vibrates 440 times a second produces the note A above middle C, which is widely used as the standard tuning pitch for orchestras. Faster vibrations sound higher; slower vibrations sound lower.

Young people with healthy hearing can typically hear from about 20 Hz to 20,000 Hz. The upper limit drops with age, which is why some high-pitched electronic whines are audible to children but not to their grandparents. Sounds above our range are called ultrasound (bats and dolphins use it to navigate), and sounds below it are infrasound (elephants communicate partly using very low rumbles).

Three things control the pitch of a vibrating string, and every stringed instrument exploits them:

  • Length: shorter strings vibrate faster. Pressing a guitar string against a fret shortens the vibrating part and raises the note.
  • Tension: tighter strings vibrate faster. Turning a tuning peg raises the pitch.
  • Mass: heavier strings vibrate more slowly, which is why the bass strings are thicker.

Loudness is amplitude

A harder pluck makes the string swing farther, producing bigger pressure changes in the air. The size of those changes is the wave's amplitude, and we hear larger amplitudes as louder sounds.

Loudness is usually measured in decibels (dB), a logarithmic scale. Each increase of 10 dB means the sound carries ten times as much energy, and most listeners judge it as roughly twice as loud. Normal conversation is around 60 dB; a lawnmower or busy city traffic can reach 80–85 dB.

That scale has real consequences for health. The US National Institute on Deafness and Other Communication Disorders says sounds at or below 70 A-weighted decibels are unlikely to damage hearing, even after long exposure, while long or repeated exposure at 85 dBA or above can cause permanent hearing loss. Damage happens to delicate hair cells in the inner ear, which do not grow back.

Tone is the mix of overtones

A violin and a flute can play exactly the same note at the same loudness and still sound completely different. That quality is called timbre (pronounced "TAM-ber"), or tone color.

The reason is that real instruments never vibrate at just one frequency. A plucked string vibrates as a whole, producing the fundamental frequency, but it also vibrates in halves, thirds, quarters and so on at the same time. These extra vibrations, called harmonics or overtones, have frequencies that are whole-number multiples of the fundamental. For a 110 Hz note, the harmonics are 220 Hz, 330 Hz, 440 Hz and upward.

1st 2nd 3rd
A string fixed at both ends can vibrate as one loop (the fundamental), two loops (twice the frequency) or three loops (three times the frequency). Real strings do all of these at once.

Each instrument emphasizes a different blend of harmonics. A clarinet's sound is rich in odd-numbered harmonics, which gives it a hollow, woody quality. A flute's sound is closer to a pure tone. Your brain recognizes these blends instantly, which is how you can tell a friend's voice from a stranger's on the phone.

Why music is built on ratios

Long before anyone knew about sound waves, musicians noticed that some pairs of notes blend beautifully. Ancient Greek tradition credits the followers of Pythagoras with discovering that these pleasing intervals come from strings whose lengths form simple ratios.

We now understand this in terms of frequency:

IntervalFrequency ratioExample starting from A (440 Hz)
Octave2 : 1A at 880 Hz
Perfect fifth3 : 2E at about 660 Hz
Perfect fourth4 : 3D at about 587 Hz
Major third5 : 4C-sharp at about 550 Hz

When two notes have a simple frequency ratio, many of their harmonics line up exactly. Notes an octave apart share every second harmonic of the lower note, which is why they sound like "the same note, higher". When harmonics nearly match but not quite, they interfere and produce a fluttering effect called beating, which many listeners hear as roughness.

There is a catch. If you tune every interval to a perfect ratio, the system does not quite close up: stacking perfect fifths never lands exactly on an octave. Modern Western instruments like the piano use equal temperament, which splits the octave into 12 equal steps, each raising the frequency by a factor of about 1.0595 (the twelfth root of two). Most intervals are then very slightly "out" from the perfect ratios, but every key sounds equally good, and musicians can change key freely.

How your ears turn waves into music

Sound waves funnel into the ear canal and make the eardrum vibrate. Three tiny bones in the middle ear pass those vibrations to the cochlea, a fluid-filled spiral in the inner ear. Along the cochlea, thousands of hair cells respond to different frequencies: high pitches near the entrance, low pitches deeper inside. The cochlea effectively splits each sound into its component frequencies, much as a prism splits light, and the brain reassembles them into the experience of a melody or a voice. When hair cells are damaged, devices such as cochlear implants can stimulate the hearing nerve directly; our archive tells the story of the long road to the cochlear implant.

Try this: three homemade instruments

You will need: rubber bands of different thicknesses, an open shoebox or plastic tub, a pencil, four or five identical glass jars or tumblers, water, a metal spoon, two paper cups and a long piece of string.

1. Shoebox guitar. Stretch several rubber bands around an open box. Slide a pencil under them near one end to act as a bridge. Pluck each band and compare thick with thin, and loose with tight. Then press a band down partway along its length while plucking. Which changes make the pitch rise?

2. Water-glass scale. Fill the jars with different amounts of water. Tap each gently with a spoon and arrange them from lowest to highest note. Now blow across the tops of narrow bottles instead. You may find the pattern reverses: when you tap, the glass and water vibrate, and more water makes a lower note; when you blow, the air column vibrates, and more water means a shorter air column and a higher note.

3. String telephone. Make a small hole in the base of each cup, thread the string through and knot it inside. Pull the string tight and talk into one cup while a partner listens at the other. The vibrations travel along the taut string far better than through the air. Let the string go slack, or pinch it, and the sound disappears.

Safety: Use thick glass or plastic tumblers and tap gently; an adult should check glasses for chips. An adult should make the holes in the cups with a pencil point or skewer. Keep rubber bands away from faces and eyes, and never put them around fingers or necks.

Listening like a physicist

The big ideas are simple enough to carry around in your head:

  • Sound is a pressure wave carried by vibrating particles, so it needs a medium and cannot cross empty space.
  • Frequency sets pitch, amplitude sets loudness, and the blend of harmonics sets an instrument's tone.
  • Pleasing musical intervals come from simple frequency ratios, and equal temperament is a clever compromise that makes every key usable.
  • Hearing is precious: keep everyday listening below about 85 dB, and turn headphones down.

For more hands-on investigations, try our collection of simple physics experiments to try at home, or browse the rest of our physics coverage.

Sources and further reading