Animations › Superposition and music
Superposition and music
Waves that meet simply add up. Watch two pulses pass through each other on a rope, two notes of nearly the same pitch make the loudness swell and fade, and the harmonics of a string add up to the sound of an instrument. C.3 Superposition C.4 Harmonics
Hear it
These buttons play the sounds in the animation, made by your browser. Start with a low volume, especially on headphones. Turn the animation's ♪ Music off first to hear the beats clearly. On an iPhone, turn off silent mode.
Two notes: 440 Hz, then 444 Hz. They sound almost the same. Beats: both together, so the loudness swells and fades 4 times a second. First harmonic only: a pure 220 Hz note. Add harmonics: the same note with its 2nd, 3rd and 4th harmonics added (amplitudes 1, 0.50, 0.33 and 0.25). A different mix: the same four harmonics with amplitudes 1, 0.15, 0.45 and 0.10. The pitch is the same; the sound is different.
What the animation shows
- Two pulses travel along a rope towards each other, one from each end. Thin coloured lines show each pulse on its own; the bright line is the rope itself.
- Where they overlap, the displacement of the rope at every point is the sum of the two displacements: the principle of superposition. When the two crests are exactly on top of each other, the rope is twice as high (constructive interference).
- Then each pulse carries on unchanged, as if the other had never been there.
- Predict: what happens when a crest meets an equal trough?
- For an instant the two cancel and the rope is completely flat (destructive interference). The energy hasn't gone: the rope is still moving at that instant (the small arrows), up on one side and down on the other, and both pulses reappear.
- Two continuous waves: notes of $f_1 = 440$ Hz and $f_2 = 444$ Hz, as a microphone would record them. They are drawn slowed down and with far fewer waves (20 and 21 across the picture, really 110 and 111 cycles in each quarter-second beat) so that you can see each one.
- Adding them point by point: where the two waves are in step, the sum is large; where they are out of step, it almost vanishes. So the loudness swells and fades. These are beats (beyond the IB syllabus). The number of beats each second is $f_2 - f_1 = 444 - 440 = 4$.
- A musician tuning a string listens to it with a reference note and adjusts the string until the beats slow down and stop. When both are exactly 440 Hz, the sum is one steady wave.
- A plucked string vibrates in its first harmonic and in higher harmonics at the same time. The animation shows the first four, at $f_n = n \times 220$ Hz: 220, 440, 660 and 880 Hz, with example amplitudes 1, 0.50, 0.33 and 0.25. They are drawn slowed down.
- The string's real shape is the sum of the four at every point. It keeps changing shape, but the whole pattern repeats 220 times a second, the frequency of the first harmonic.
- So the sound wave also repeats every $\frac{1}{220}$ s $= 4.5$ ms, and we hear the pitch of the first harmonic. Its shape is not a simple sine curve: the shape comes from the mix of harmonics. (The harmonics' starting points, their phases, are chosen to make a clear drawing. Changing the phases would change the drawn shape, but the ear hardly notices: what you hear depends mainly on the amplitudes of the harmonics.)
- Another instrument playing the same note has a different mix of harmonics (here 1, 0.15, 0.45 and 0.10), so its waveform has a different shape and it sounds different. This quality is called timbre (beyond the IB syllabus). Both waveforms repeat 220 times a second, so both play the same note.
Read more in C.3 section 6: superposition, C.4 section 1: how standing waves form, C.4 section 3: standing waves on strings and C.4 section 4: standing waves in pipes, where closing one end of a pipe also changes a note's character.