Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Learning Objectives

By the end of this chapter, you should be able to:

Introduction

This chapter asks two questions that look simple and are not.

What determines the pitch of a sound? The obvious answer, its frequency, is wrong often enough to be interesting. A sound can have a clear pitch at a frequency that is entirely absent from it. Two sounds of the same frequency can have different pitches, depending on how loud they are. And above about 5 kHz, pitch perception degrades badly even though hearing continues for another two octaves.

Why do some pairs of notes sound good together? This is the older question. Pythagoras is supposed to have noticed, two and a half millennia ago, that strings whose lengths are in simple whole-number ratios sound well together, and that observation has been the foundation of Western music theory ever since. But why should the ratio 3:23:2 be pleasant and the ratio 45:3245:32 not? The numbers themselves cannot be doing anything. Something about the ear must be.

The two questions turn out to have a common answer, and it is the one Chapter 7 supplied: the critical band. Both pitch and consonance are consequences of the ear resolving frequencies with a limited but definite sharpness, and of what happens when two components fall inside one resolution element.

This chapter is also where the book stops being purely deductive. The results here are experimental facts about listeners, and the theories that explain them are good but incomplete. Where a theory fails, the text says so.

8.1Pitch and Frequency

The Pitch of a Pure Tone

For a pure tone in the middle of the audible range, pitch tracks frequency closely and monotonically. Double the frequency and listeners agree the pitch has risen by an octave. That much is uncontroversial.

But pitch depends slightly on level as well. A pure tone below about 1 kHz is heard as slightly flatter when played louder; one above about 2 kHz slightly sharper. The effect is small, a few percent at extreme levels, and it does not arise for complex tones, so it never troubles musicians. It remains decisive evidence that pitch is computed rather than measured.

Just-Noticeable Differences

How finely can the ear tell two frequencies apart? The answer depends on where you ask.

Left, a log-log plot of the just-noticeable frequency difference in hertz rising from about 2 Hz at 100 Hz to over 100 Hz at 8 kHz. Right, the same data expressed in cents, nearly flat at 3 to 6 cents below 2 kHz and rising steeply above it.

Figure 8.1:The just-noticeable difference in frequency. Expressed in hertz it grows steeply with frequency; expressed in cents, hundredths of a semitone, it is nearly constant at about 3–6 cents across the whole musically useful range, and only deteriorates above about 2 kHz.

That flatness in cents is the important result, and it reflects the logarithmic layout of the cochlea from Chapter 6. The ear’s pitch resolution is proportional, not absolute, which is exactly why music is built on ratios.

Three to six cents is extraordinarily fine. A semitone is 100 cents, so the ear resolves about one thirtieth of a semitone, far finer than any performer needs, and far finer than the differences between tuning systems that Chapter 9 will agonize over. When that chapter says a tuning system is 14 cents out, it means an error two to four times the threshold of detection.

Where Pitch and Frequency Part Company

Three situations break the simple correspondence, and each is instructive.

Above about 5 kHz, pitch perception deteriorates sharply. Listeners cannot reliably recognize melodies played in pure tones above this, and cannot tune intervals there. Chapter 6 gave the mechanism: phase locking in the auditory nerve fails above 4–5 kHz, so the timing information disappears and only place is left. The top note of a piano is 4186 Hz, and that is very likely not a coincidence.

Very short tones have no definite pitch. A tone must last several cycles before a pitch can be assigned, and below about 10 ms it is heard as a click. This matters for percussion and for the very lowest notes, where ten cycles of a 30 Hz tone takes a third of a second.

A complex tone can have a pitch at a frequency it does not contain. This is the big one, and §8.3 is about it.

8.2Beats

Two Nearby Frequencies

Play two tones of nearly equal frequency together. The result is a single tone, at roughly the average frequency, whose loudness rises and falls at a slow, steady rate.

Three stacked panels showing a 220 Hz sine, a 223 Hz sine, and their sum, whose envelope rises and falls three times per second with the envelope drawn in red.

Figure 8.2:Two nearby tones, and their sum, slowed down here so the beat is visible — real musical beats like 220 and 223 Hz oscillate too fast to watch directly. The two drift in and out of step, reinforcing when they are aligned and canceling when they are opposed. In the original, the envelope completes three cycles per second, the difference between the two frequencies.

The reason is superposition (Chapter 3) in time rather than in space. Two tones at 220 and 223 Hz start in step, but the second completes three more cycles per second, so after a sixth of a second it is half a cycle ahead and they cancel; after a third of a second it is a full cycle ahead and they reinforce again.

The Beat Equation

The trigonometry is one line:

sin⁡(2πf1t)+sin⁡(2πf2t)=2 cos⁡ ⁣(2πf2−f12t)sin⁡ ⁣(2πf1+f22t).\sin(2\pi f_1 t) + \sin(2\pi f_2 t) = 2\,\cos\!\left(2\pi \frac{f_2 - f_1}{2}t\right)\sin\!\left(2\pi\frac{f_1 + f_2}{2}t\right).

This is a tone at the average frequency, multiplied by a slowly varying envelope at half the difference frequency. The envelope goes through zero twice per cycle of that cosine, so the loudness peaks

fbeat=∣f2−f1∣f_{\text{beat}} = |f_2 - f_1|

times per second.

What is heard as the rate changes is not one phenomenon but a sequence of them:

DifferenceWhat is heard
0–6 HzA single tone, throbbing. Beats can be counted.
6–20 HzToo fast to count. A rough, fluttering quality.
20 Hz to a critical bandRoughness, harsh, unpleasant, unmistakable.
Beyond a critical bandTwo separate smooth tones. The roughness vanishes.
Waveform and spectrum of Beat Rates

Figure 8.3:A 220 Hz tone against neighbors 1, 4, 12, and 40 Hz away. Listen for the transition between the third and fourth: the roughness does not fade gradually, it stops once the two tones are far enough apart to fall in different critical bands. That transition is the whole mechanism of §8.4.

What you hear: Four pairs of tones in succession. The first throbs about once a second; the second beats clearly; the third is rough and buzzy; the fourth has separated into two distinct smooth tones.

Listen: Beat Rates

Screenshot of the Wave Composer simulation

Figure 8.4:Add two sinusoids and vary the gap between them. Watch the envelope of the sum while counting the beats, and confirm that the rate is the difference of the two frequencies and not half of it, the factor of two of Exercise 8.9, visible rather than derived.

Interactive simulation: Wave Composer

Tuning by Beats

Beats are how instruments are actually tuned, and the method is far more precise than listening for “sameness”.

When two strings are close, the ear cannot tell which is higher. But it can count beats, and the beat rate goes to zero at the exact match. A tuner tightens one string until the beats slow, slows further, and stop. Since the ear can detect a beat rate down to a fraction of a hertz, this places the unison within a small fraction of a cent, far better than the 3–6 cent discrimination of §8.1.

The method extends to other intervals, and this is what makes Chapter 9 practical. Tune a fifth: the third harmonic of the lower note and the second harmonic of the upper should coincide at a perfect 3:23:2. If the fifth is slightly narrow, those two harmonics differ slightly and beat. A piano tuner setting equal temperament is counting a specified number of beats per second on each interval, for a tempered fifth near middle C, about one beat every two seconds.

A piano technician adjusts the strings of one piano note while listening for beats.

Figure 8.5:Piano technician Dan Levitan demonstrates the audible beats in an imperfect unison and the clean result as its strings converge on the same frequency. The changing beat rate turns the equation above into a practical tuning method.

Watch on YouTube: Unison Tuning

8.3The Pitch of a Complex Tone

The Missing Fundamental

Take a tone with harmonics at 200, 300, 400, 500, and 600 Hz. It has a pitch of 100 Hz, even though there is no 100 Hz component in it at all, and even if the sound is played through a system that cannot reproduce 100 Hz.

A two-by-two grid. Left column, a waveform with all harmonics present and its spectrum. Right column, the waveform and spectrum with the fundamental and second harmonic removed and marked with crosses. Both waveforms repeat with the same five-millisecond period.

Figure 8.6:The missing fundamental. Removing the lowest partials changes the waveform’s shape but not its period, and the pitch follows the period. The dotted lines mark 5 ms intervals; both waveforms repeat on them.

Waveform and spectrum of All harmonics, Fundamental and 2nd removed

Figure 8.7:A 150 Hz tone, complete and with its two lowest partials removed. The timbre changes considerably; the pitch does not move at all. If pitch were simply the lowest frequency present, the second clip would sound an octave and a fifth higher.

What you hear: Two tones. The second is thinner and less full-bodied than the first, but both are unmistakably the same note, the pitch does not jump up when the lowest partials are removed.

Listen: All harmonics, Fundamental and 2nd removed

This is not a laboratory curiosity. It is happening constantly:

Virtual Pitch and Pattern Matching

The explanation now generally accepted is that the auditory system finds the fundamental that best explains the partials it is receiving.

Given components at 200, 300, 400, 500 Hz, the system searches for a fundamental of which all are harmonics. 100 Hz works, they are its 2nd, 3rd, 4th, and 5th harmonics, and nothing higher does. So 100 Hz is reported.

This is a pattern-matching operation, and it is doing a genuinely useful job. In a room full of sound, the ear receives dozens of frequency components at once, from several sources. Grouping them into harmonic families is how it decides which components belong to which source, the classic “cocktail party” problem, and the perceived pitch is a by-product of that grouping.

Two pieces of evidence make it clear the mechanism is not merely arithmetic on the lowest partial:

Mistuning one harmonic shifts the pitch. Take harmonics at 200, 300, 400 Hz and move the 400 to 420. The perceived pitch rises slightly, to about 103 Hz, as though the system had compromised among competing candidates. A rule that merely computed the difference between adjacent partials would not do this.

The partials can be split between the ears. Present odd harmonics to one ear and even harmonics to the other and a single pitch is still heard at the fundamental. Whatever is doing the computation is in the brain, downstream of both cochleas.

Place Theory, Temporal Theory, and the Evidence

Two mechanisms have long competed to explain pitch, and the honest summary is that the auditory system uses both.

Place theory says pitch is read off where on the basilar membrane the excitation peaks. It explains why pitch perception survives at high frequencies, it explains masking, and it is undeniably part of the story because the tonotopic map exists.

Its problems are serious. It cannot easily account for the missing fundamental, since there is no excitation at the missing place. And it predicts far worse frequency resolution than listeners achieve: Chapter 6 put a critical band at about four semitones, while the ear resolves four cents.

Temporal theory says pitch is read off the timing of nerve firings, which phase-lock to the waveform. It explains the missing fundamental immediately, the waveform’s period is unchanged by removing the fundamental, and it explains the fine resolution, since timing can be measured very precisely.

Its problem is equally serious: phase locking fails above 4–5 kHz, and pitch perception, while degraded, does not vanish.

The evidence points to a division of labor. Below about 5 kHz, where music lives, timing dominates and gives fine resolution and the missing fundamental. Above it, only place is available, and performance degrades accordingly, which is exactly the pattern observed.

8.4Consonance and Dissonance

Roughness and the Critical Band

Now Pythagoras’s question. The modern answer, due in its quantitative form to Plomp and Levelt in 1965, is this:

Two partials sound rough when they are close enough to fall within one critical band, but not so close that they merely beat slowly.

A curve of roughness against the separation of two pure tones near 440 Hz, starting at zero at unison, rising steeply to a peak at about 70 cents, and falling away to nothing by about 300 cents.

Figure 8.8:Roughness between two pure tones. At unison there is none; it rises to a maximum when the two are separated by roughly a quarter of a critical band, here about 70 cents, less than a semitone, and dies away once they are more than a critical band apart.

That figure is easily misread, so be explicit: for two pure tones, the most dissonant interval is a small one, around a semitone, and everything wider is progressively smoother. There is nothing special about a fifth, nothing special about an octave, and no preference for simple ratios anywhere in it.

Which raises the obvious objection. Music is not made of pure tones.

Why Simple Ratios Sound Smooth

Real musical tones have many partials, and the roughness of two complex tones is the sum of the roughnesses of every pair of partials.

Now the simple ratios earn their reputation. Two tones a perfect fifth apart, with harmonic partials, have partials at

lower: f, 2f, 3f, 4f, 5f, 6f,…\text{lower: } f,\ 2f,\ 3f,\ 4f,\ 5f,\ 6f, \ldots
upper: 1.5f, 3f, 4.5f, 6f,…\text{upper: } 1.5f,\ 3f,\ 4.5f,\ 6f, \ldots

The upper tone’s 2nd partial coincides exactly with the lower tone’s 3rd. Its 4th coincides with the lower’s 6th. Coinciding partials contribute no roughness at all, and every coincidence is one fewer clashing pair.

Detune the fifth slightly and those coincidences become near-misses, pairs of partials a few hertz apart, which is exactly the recipe for beating and roughness.

A curve of total dissonance against interval in cents from unison to the octave, computed for two six-partial tones, showing deep minima at the unison, minor third, major third, perfect fourth, perfect fifth, major sixth and octave.

Figure 8.9:Total dissonance between two six-partial harmonic tones, computed by summing the roughness of every pair of partials as the upper note sweeps up an octave. The minima fall on the simple ratios, and nobody put them there. The curve was computed from a model of the ear’s critical bands, with no musical knowledge in it at all.

That figure is, to my mind, the most satisfying result in the book. The consonant intervals of Western music emerge from a model containing nothing but the ear’s frequency resolution and the fact that instruments produce harmonic partials.

Waveform and spectrum of Interval Sweep

Figure 8.10:The same sweep, heard rather than computed. Follow it against the figure. The smooth points are not marked by anything in the sound generator, it simply glides, and yet they arrive on the fourth, the fifth, and the octave.

What you hear: Two tones, the upper gliding slowly up an octave over sixteen seconds. The sound roughens and smooths repeatedly; the smooth points arrive at the familiar consonant intervals, and the roughest region is just above the unison.

Listen: Interval Sweep

Animated circles and number patterns connect rational ratios with musical intervals.

Figure 8.11:3Blue1Brown approaches consonance through rational numbers and measure theory. It complements the chapter’s physical account of beating and roughness by showing why simple frequency ratios occupy a mathematically special place.

Watch on YouTube: Music and Measure Theory

Dissonance Curves

The curve above is specific to six harmonic partials falling as 0.88n0.88^n. Change the timbre and the curve changes.

Consonance Depends on the Instrument

That last point deserves its own demonstration, because it overturns something most musicians assume.

Waveform and spectrum of Harmonic fifth, Stretched-partial fifth

Figure 8.12:A perfect fifth, an exact 3:23:2, played on harmonic partials and on stretched ones. The ratio is identical in both. What changes is whether the partials of the two tones coincide, and with the stretched timbre they no longer do.

What you hear: The same interval twice. On the first timbre it is clean and settled; on the second, whose partials have been stretched, the same 3:2 ratio sounds distinctly rough and unresolved.

Listen: Harmonic fifth, Stretched-partial fifth

The conclusion, which is William Sethares’s, is worth stating plainly: consonance is not a property of a frequency ratio. It is a relationship between a ratio and a timbre. Simple ratios sound consonant on instruments with harmonic partials, and instruments with harmonic partials are what strings and air columns produce (Chapter 3). The Western scale and the Western orchestra fit each other because they grew up together.

This also explains, without any appeal to cultural relativism or its opposite, why the gamelan sounds out of tune to a Western ear and perfectly in tune to a Javanese one. Gamelan instruments are metallophones and gongs, whose partials are inharmonic (Chapter 12). Their dissonance curve has minima in different places, and the slendro and pelog scales sit on those minima. Both traditions are doing the same thing, choosing intervals that minimize roughness for their instruments, and arriving at different answers because their instruments are different.

8.5Combination Tones and the Limits of the Theory

Combination Tones

Play two loud tones and a listener may hear additional tones that are not present in the signal at all. The most prominent is the difference tone at f2−f1f_2 - f_1; others appear at 2f1−f22f_1 - f_2 and elsewhere.

These are not beats. Beats are a variation in the loudness of a tone at the average frequency; combination tones are heard as separate tones at genuinely different pitches.

The cause is nonlinearity in the ear. The cochlear amplifier of Chapter 6 is not a linear device, and any nonlinearity applied to a sum of two sinusoids generates components at sums and differences of their frequencies. Violinists use the effect to check double stops: play two notes, listen for the difference tone, and its being in tune confirms the interval is.

What Roughness Does Not Explain

The roughness account is good. It is not complete, and three gaps are worth naming.

Roughness does not explain the pull of a resolution. A dominant seventh chord in tonal music demands to resolve, and the demand is far stronger than its modest roughness would justify. Musical expectation is learned, and it is doing work that acoustics does not describe.

Roughness is not the same as unpleasantness. Plenty of music is deliberately rough, and it is not thereby bad. Distorted guitar is almost pure roughness, and it is one of the most popular sounds of the last seventy years.

Roughness does not explain the octave. The octave has a special status, notes an octave apart are heard as “the same note”, named with the same letter in essentially every musical culture, that goes well beyond its being smooth. A major sixth is nearly as smooth, and nobody calls it the same note.

The honest position is that the roughness model explains the sensory component of consonance well, and that musical consonance has a learned component on top of it that physics does not reach. This book will not pretend otherwise.

8.6Summary

8.7Check Your Understanding

Five short, auto-graded questions cycle within one compact activity, using five different response styles.

  1. Multiple choice. Pure tones at 440 Hz and 446 Hz sound together. Is the beat rate 3, 6, 443, or 886 beats per second?

  2. True or false. A missing-fundamental pitch can be heard only when there is physical energy at the fundamental frequency.

  3. Drag the words. Match beats, roughness, a combination tone, and a missing fundamental to their physical or perceptual origins.

  4. Fill in the blank. Partials at 300, 400, and 500 Hz imply a missing fundamental of ___ Hz.

  5. Mark the words. Identify intervals where harmonic complex tones tend to produce strong roughness minima: “Strong minima occur near the unison, octave, fifth, and fourth because many partials coincide; a semitone usually remains rough.”

8.8Conceptual Questions

  1. Explain why the just-noticeable difference in pitch is nearly constant in cents but grows steeply in hertz, and relate this to the cochlea.

  2. A piano tuner tunes a unison by listening for beats rather than by listening for sameness. Explain why this is more precise.

  3. Explain how a telephone that transmits nothing below 300 Hz can convey a male voice whose fundamental is 110 Hz without the pitch sounding wrong.

  4. State one piece of evidence that the missing fundamental is not computed simply as the difference between adjacent partials.

  5. Explain why place theory struggles with the ear’s pitch resolution, and why temporal theory struggles above 5 kHz.

  6. Two pure tones a perfect fifth apart sound smooth, but so do two pure tones a tritone apart. Explain why simple ratios acquire their special status only for complex tones.

  7. Explain why an interval that is consonant on a violin can be dissonant on a gamelan instrument, without appealing to cultural preference.

  8. Give one musical phenomenon the roughness model does not explain, and say what kind of explanation it would need instead.

8.9Problems