07Music

Strings and notes

Every note from a guitar or a harp starts as a string that shakes. Five strings stretched across this page show why a short string sounds high, how tension and thickness change the note, why some notes sound good together, and what makes one instrument sound different from another.

In the workshop

Tuning up

A guitar, a piano and a harp all make sound the same way: something stretched tight is set shaking, and the shaking makes the air shake. This page has five strings. Each one is stretched across the screen so that you can pluck it and change one thing.

Sound is on by default, with a switch at the top right. Your browser keeps sound locked until your first click or key press. Every number on the page can be read without sound.

String one

Shorter is higher

This string, plucked whole, makes a low note: 110 vibrations a second, which is the note A2. Pluck it, then drag the orange bridge to the right to shorten the part that can shake.

The shorter the string, the faster it shakes and the higher the note. Half the length gives twice the vibrations: 220 a second, a note exactly one octave higher. A quarter of the length gives 440, two octaves up.

220 Hz closest note A3

Half the string shakes: 220 vibrations a second, one octave above the whole string.

String two

Seeing the shake

A string moves far too fast to see. Here two strings are shown in slow motion: the long one and a string half as long. Drag the time slider, or press play, and count how often each one swings.

The short string swings twice for every swing of the long one. Pitch is nothing more than how many swings there are in a second. The note you hear is a number of vibrations a second, which is called its frequency, and it is counted in hertz (Hz).

Whole string: 110 vibrations a second

Half the length: 220 vibrations a second

The long string has swung 0 times and the short one 0 times. Drag the time slider.

String three

Tight and thick

Length is not the only thing that sets the note. Turning the tuning peg makes the string tighter, and a tighter string shakes faster. A thicker string is heavier, and a heavier string shakes slower.

The rule is the same for every string: the frequency goes with the square root of the tension, and falls with the thickness. To go up one octave by tightening alone you need four times the tension. Try it with the sliders.

110 Hz closest note A2

Tension 1×, thickness 1×

Same tension and thickness as the start: 110 vibrations a second.

String four

Friends and strangers

Pythagoras and his followers, about 2,500 years ago, are said to have tried this on an instrument with a single string and a movable bridge. They found that string lengths in simple ratios gave notes that sound good together. Half the length (2 to 1) is the octave. Two thirds (3 to 2) is a fifth. Three quarters (4 to 3) is a fourth.

Here is one way to see why. Add the two vibrations together. With a simple ratio the sum repeats after a short time and looks tidy. With a complicated ratio it takes a long time to repeat, and looks ragged. Pick an interval, look at the sum, and listen.

Lower note: 220 vibrations a second

Higher note: 330 vibrations a second

The two vibrations added together, over 60 thousandths of a second

Fifth, 3 to 2: 330 against 220 vibrations a second. The sum repeats every 9.1 thousandths of a second.

String five

Building a sound

A real string does not shake in only one way. It also shakes in halves, in thirds and in quarters, all at once. These extra shakes are called harmonics. They have 2, 3, 4 and more times the frequency of the note.

The mix of harmonics gives an instrument its character. A flute and a guitar can play the same note and still sound different, because they have different mixes. Move the sliders to mix your own sound, then press play. The line shows the shape of your mix.

The shape of your sound, over two vibrations

Only harmonic 1: a pure tone, the plainest sound there is. Raise another slider to add a harmonic.

Key takeaways

  1. A string that is half as long vibrates twice as fast and sounds one octave higher.
  2. Pitch is a count: the number of vibrations in a second, measured in hertz.
  3. Tighter makes higher, thicker makes lower. Four times the tension is one octave up.
  4. Notes whose frequencies are in simple ratios, such as 2 to 1 or 3 to 2, add up to a pattern that repeats quickly. Many people find them smooth.
  5. A real note is a mix of harmonics. The mix is what makes a guitar sound different from a flute.

Sources

Most of these sites could not be opened while this page was written, so the facts were checked through search results that quote them. The formula for a vibrating string, the ratios 2 to 1, 3 to 2 and 4 to 3, and the standard A of 440 Hz each appeared in at least two places. The strings on this page are drawn and played by simple models made for this page. Real strings also stiffen, lose energy and vibrate in more ways than shown. The made-up numbers are the starting note (110 Hz for the whole string) and the scale of the tension and thickness sliders.