Piano 00 — How a piano makes sound, and the order in which we model it

What this series is for

The first instrument is a piano made purely by physical modelling: no samples, only equations whose parameters are measured or fitted. Each page explains one mechanism — the physics, what it does to the sound, and how to compute it — starting with the simplest model that makes a tone and adding one effect at a time. The pages build on each other; read them in order.

The chain from finger to ear

key ──▶ action ──▶ hammer ──▶ string(s) ──▶ bridge ──▶ soundboard ──▶ air ──▶ room ──▶ ear / mic
         levers     felt,     1–3 per note,   couples    radiates                reverb
         escapement nonlinear  stiff, lossy    strings    nearly all the sound
                       ▲                         │
            dampers ───┘ (stop the string        └──▶ other strings (sympathetic resonance, pedal)
                          when the key is released)
  1. The key lifts the action, a lever system that throws the hammer freely at the string (the escapement lets it fly the last few millimetres; the pianist controls only the hammer’s speed).
  2. The felt hammer hits one, two or three strings (a unison) and bounces off after a few milliseconds. How hard it hits sets not only the loudness but the brightness.
  3. The strings vibrate. They are stiff steel, so their overtones are slightly sharp; they lose energy to air, to their own material, and above all to the bridge.
  4. The bridge passes the strings’ force into the soundboard, a large thin spruce plate. The strings themselves are far too thin to push air; almost everything you hear is radiated by the soundboard.
  5. The dampers rest on the strings while the key is up and stop them when it is released; the pedals lift or shift them.
  6. The room (and the microphone, in a recording) shapes what reaches the ear.

The series

PageAddsWhy it matters
01 The ideal stringwave equation, harmonics, strike positionwhere pitch and the basic spectrum come from
02 Digital waveguidecomputing the string with two delay linesthe cheapest exact simulation of 01
03 Lossesfrequency-dependent dampingwhy high partials die first
04 Stiffnessinharmonicity, stretched tuningthe “piano-ness” of the tone
05 The hammernonlinear felt, contact timewhy loud notes are brighter
06 Bridge and soundboardcoupling, radiation, body resonancewhat you actually hear
07 Unisons and coupled strings2–3 strings per note, polarisationsbeating and the two-stage decay
08 The nonlinear stringtension modulation, longitudinal wavesphantom partials, the bass “growl”
09 Dampers, pedals, sympathetic resonancenote-off, sustain, una cordathe piano as one resonating body
10 Mechanical noiseskey, action, hammer knockrealism of the attack and release
11 Radiation and roomdirectivity, microphones, reverbwhat belongs to the instrument and what doesn’t
12 Fitting to recordingsdatasets, analysis, differentiable fittingturning recordings into parameters
13 Real-time implementationchoice of numerical method, CPU budgetfrom equations to a CLAP plugin
14 Computational costwhere the effort lies, savings, quality levelshigh quality on a desktop, a usable piano on a Raspberry Pi

Units and symbols used throughout

SymbolMeaningTypical value (middle C, C4)
speaking length of the string≈ 0.62 m
tension≈ 650 N
wire diameter≈ 1.0 mm
mass per length, for steel ()≈ 6.2 g/m
transverse wave speed ≈ 325 m/s
fundamental261.6 Hz
Young’s modulus of steel≈ 2·10¹¹ Pa
sample rate48 kHz

The C4 values are a consistent textbook-style set (they satisfy ), not the measurements of one particular piano; page 12 replaces them with fitted ones.

Literature

  • N. H. Fletcher, T. D. Rossing, The Physics of Musical Instruments, ch. 2, 12 (strings and piano).
  • J. O. Smith, Physical Audio Signal Processing (online, CCRMA) — waveguides, commuted synthesis.
  • A. Chaigne, A. Askenfelt, “Numerical simulations of piano strings”, JASA 95 (1994).
  • J. Chabassier, A. Chaigne, P. Joly, “Modeling and simulation of a grand piano”, JASA 134 (2013).
  • B. Bank, S. Zambon, F. Fontana, “A modal-based real-time piano synthesizer”, IEEE TASLP 18 (2010).
  • S. Bilbao, Numerical Sound Synthesis (2009) — finite-difference schemes, stability.
  • H. A. Conklin, “Design and tone in the mechanoacoustic piano”, JASA 99–100 (1996), and “Generation of partials due to nonlinear mixing in a stringed instrument”, JASA 105 (1999).
  • G. Weinreich, “Coupled piano strings”, JASA 62 (1977).