Piano 04 — Stiffness: sharp partials and stretched tuning
Builds on
01–03. Next: 05 The hammer.
The stiff string
Piano wire is thick, hard steel under high tension. Besides tension, its bending stiffness resists curvature. The restoring force gets a fourth-derivative term (Euler–Bernoulli beam):
Bending matters more for short wavelengths, so high partials travel faster — the string is dispersive. With hinged ends the modes are still sines, but their frequencies are stretched:
is the inharmonicity coefficient. For our C4 numbers ( Pa, mm, N, m) it comes out at , in line with measured values for mid-range notes. How sharp that makes the partials, in cents ():
| Partial | 2 | 5 | 10 | 20 |
|---|---|---|---|---|
| sharp by | ≈ 1.4 ¢ | ≈ 8 ¢ | ≈ 33 ¢ | ≈ 125 ¢ |
So the 20th “harmonic” of C4 is more than a semitone above . This is a large part of what makes a piano sound like a piano and not like an organ or a plucked nylon string.
Across the keyboard
: thick, short strings are the most inharmonic.
- Treble: very short strings → rises steeply (to around at the top). The few partials that matter there are strongly stretched.
- Bass: wound strings add mass (copper winding) without adding much stiffness (the core stays thin), which keeps low. Short bass strings on small pianos can’t do this well — part of why the bass of a baby grand or a spinet sounds “tubby” or “clangy” next to a concert grand.
Stretched tuning
Tuners tune by listening for beats between partials of different notes. An octave sounds clean when the 2nd partial of the lower note matches the fundamental of the upper note — but that 2nd partial is sharp. So octaves end up slightly wider than 2:1, increasingly so towards the extremes: the stretch (the “Railsback curve”), tens of cents at the top and bottom of the keyboard. Our model needs a tuning table per key that includes this stretch, and the tuning must be computed from the model’s own values, otherwise octaves will beat.
In a waveguide: dispersion filters
A plain delay line delays every frequency equally, so it can’t produce stretched partials. Inserting allpass filters into the loop makes the delay frequency-dependent: high frequencies come round sooner, so they sound higher. Matching the curve in the bass needs a cascade of several allpass sections (e.g. Rauhala & Välimäki’s tunable dispersion filter); it is the fiddliest part of a waveguide piano.
In a modal model: just set the frequencies
With one oscillator per partial, inharmonicity costs nothing: set from the formula above, or from measured partial frequencies directly (page 12), which also captures deviations from the ideal formula (end conditions, winding, bridge coupling).