Piano 01 — The ideal string: where pitch and harmonics come from

Simplest model

A perfectly flexible string, no losses, fixed at both ends, struck at one point. Wrong in many details, but it already explains pitch, the harmonic series and why the strike point matters. Next: 02 Digital waveguide.

The wave equation

Take a small piece of string of length . Its mass is . If the string is curved, the tension pulls the two ends of the piece in slightly different directions; the net vertical force is . Newton’s law gives the wave equation for the displacement :

Any shape travels along the string at speed without changing. d’Alembert’s solution says the motion is always the sum of a right-going and a left-going wave:

Fixed ends give modes

The string is held at the agraffe or capo bar () and at the bridge (): there (for now; the bridge actually moves — page 06). Only standing waves that fit these boundaries survive. They are the modes:

  • The pitch is : longer, heavier or slacker strings sound lower. A piano can’t make bass strings long enough for this formula alone (A0 at 27.5 Hz with the C4 wire would need ~6 m), so bass strings are wound with copper to add mass () without adding stiffness.
  • The overtones are exact integer multiples — the harmonic series. A real piano string is stiff and its overtones are sharp; that comes on page 04.

Striking the string

A piano hammer gives the string a short push at the strike point , roughly at (between about and across the keyboard). Idealise it as an impulse of momentum at : the string starts flat with a velocity concentrated at . Projecting that onto the modes gives

Two consequences:

  1. The strike point carves notches. Mode is not excited if sits on one of its nodes, i.e. if is an integer. Striking at removes partials 8, 16, 24, … and weakens their neighbours — a comb-filter pattern in the spectrum. Striking near a node of the 7th–9th partials suppresses partials that would otherwise sound harsh; that is one reason piano makers chose this position.
  2. What we hear is the force on the bridge, not the displacement. That force is , and the slope brings a factor that cancels the : for an ideal impulse, every mode pushes the bridge with equal strength apart from the notches. The real spectrum falls off at high frequencies only because the hammer is not an impulse — it stays on the string for 1–4 ms and is soft (page 05).

What this model gets right and wrong

RightWrong (and which page fixes it)
pitch from , , the tone never decays → 03
harmonic series, strike-point notchespartials are slightly sharp in a real piano → 04
spectrum is too bright and doesn’t depend on loudness → 05
a string alone is almost inaudible → 06

Computing it

Two equivalent ways, both used later:

  • Travelling waves: simulate and directly with delay lines → digital waveguide.
  • Modes: simulate each term as an oscillator with its own frequency (and later its own decay) → modal synthesis, compared on page 13.