Docs

Dampers

How notes end — damper felt, its grip and timing, the two-stage release, the undamped top strings, and the halo of sympathetic resonance with the pedal down.

A damper is a felt pad resting on the strings near the keyboard end. Pressing a key lifts it; releasing the key lets it fall back and stop the sound. The sustain pedal lifts all of them at once. In the model a damper is a dashpot on the string: it adds to partial k a decay rate proportional to how much that partial moves under the pad, sin²(kπx/L) averaged over its width. The felt rests on top of the strings, so it brakes their up-and-down motion fully and their sideways motion only a little.

Dampers over time

keypedaldamperon stringlevel0 dB−60tail
First note: released without pedal, its damper falls back on the string (fall_time = 15 ms, drawn slower here) and the sound dies in two stages, as on a real piano. The felt stops the strings' up-and-down motion within a fraction of a second, but only rubs against their sideways motion (horizontal = 0.03 of the rate), which leaves a quiet tail 25–40 dB down. Second note: the pedal was down, so releasing the key changes nothing until the pedal comes up. How firmly the felt grips (strength = 0.1) and how the damping grows as it settles (contact_exponent = 1.5) shape the first stage. Schematic levels.

Grip

strength is how firmly the felt stops the string, against the string’s own impedance √(T·μ). At 1 the felt’s resistance matches it: the most absorbing damper there can be. Much harder, and the felt starts to reflect the vibration back instead of absorbing it. Real dampers are far softer than that match. The default, 0.1, was set on the releases of a Disklavier grand: a released note loses 15–30 dB in its first quarter of a second. At 1 the model stopped notes two to four times too fast, and left holes in pedalled passages (docs/release.md).

contact_exponent (1.5) shapes how the damping grows as the felt settles: with a high exponent, a damper that only brushes the string barely stops it — which makes the half pedal usable and note endings softer. node_floor catches the partials that have a still point right under the pad and would otherwise escape it.

horizontal is the grip on the strings’ sideways motion: the felt only rubs against it, so that motion gets 0.03 of the damping rate. This is what makes a released note die in two stages, as on a real piano: a fast first drop, then a faint tail 25–40 dB down, still heard a second later. Before 0.2.0 the dampers took everything down at one rate, and releases sounded cut.

Which keys have dampers

Dampers across the keyboard

damped keysno damperD6A0B0C1D1E1F1G1A1B1C2D2E2F2G2A2B2C3D3E3F3G3A3B3C4D4E4F4G4A4B4C5D5E5F5G5A5B5C6D6E6F6G6A6B6C7D7E7F7G7A7B7C8A♯0C♯1D♯1F♯1G♯1A♯1C♯2D♯2F♯2G♯2A♯2C♯3D♯3F♯3G♯3A♯3C♯4D♯4F♯4G♯4A♯4C♯5D♯5F♯5G♯5A♯5C♯6D♯6F♯6G♯6A♯6C♯7D♯7F♯7G♯7A♯7A0C1C2C3C4C5C6C7C8
The short strings of the top 22 keys, D♯6 to C8, have no dampers (above highest_note, D6 by default): they ring until they die on their own, and they answer every note played sympathetically. In the sustain of their top notes, eight real grands have lines at 0.7–1.4 kHz, the undamped strings ringing along; with F♯6, the figure first taken from a commercial modelled piano, the model had nothing there (docs/top_treble.md).

Sympathetic resonance

With the dampers lifted, every string is free to answer the ones being played: a C3 struck with the pedal down sets ringing the strings whose partials coincide with its own — C4, G4, C5, E5… and C2 or F1 below, whose upper partials meet its fundamental. That is the halo of a pedalled piano. The undamped top strings answer always, pedal or not.

Sympathetic resonance · C3 with the pedal down

struck: C3A0B0C1D1E1F1G1A1B1C2D2E2F2G2A2B2C3D3E3F3G3A3B3C4D4E4F4G4A4B4C5D5E5F5G5A5B5C6D6E6F6G6A6B6C7D7E7F7G7A7B7C8A♯0C♯1D♯1F♯1G♯1A♯1C♯2D♯2F♯2G♯2A♯2C♯3D♯3F♯3G♯3A♯3C♯4D♯4F♯4G♯4A♯4C♯5D♯5F♯5G♯5A♯5C♯6D♯6F♯6G♯6A♯6C♯7D♯7F♯7G♯7A♯7A0C1C2C3C4C5C6C7C8
The struck key, then the strings that answer it, brighter the closer their partials match. The model computes this one way (Bank, Zambon and Fontana 2010): each undamped key gets listening strings driven by the bridge motion of the others, which do not drive the bridge back — stable for any gain. gain = 1 is that one-way physical value: on pedalled chords it matches a Disklavier grand's halo within 0.5–2.5 dB.

In the application

The Dampers page of the Unsampled Piano interface
The Dampers page of the interface, default instrument. Its sketch is drawn from the current settings; hover a parameter to light up the part it acts on, click its name for the help shown below.

Parameters

Dampers

Damper felt exponent

live
damper.contact_exponent
15default 1.5

How the damping grows as the felt settles on the strings. Higher: lightly touching dampers barely stop the sound, which gives a usable half pedal and softer note endings.

in the model

The dashpot grows as contact^exponent (felt compression). With 1, half contact already gave 89 % of the full rate.

Damper fall time

live
damper.fall_time
0.0010.2default 0.015 slog

How quickly a damper falls back on the strings when a key is released.

in the model

Time constant (s) of the contact moving towards 1.

Highest note

rebuild
damper.highest_note
A0C8default 86 (D6)range ≈

Highest key with a damper. The short top strings have none and ring until they die.

in the model

MIDI note: D6 by default, from the top notes' sustain on eight real grands (docs/top_treble.md); F#6 was taken from a commercial modelled piano.

Damper grip on sideways motion

rebuild
damper.horizontal
01default 0.03

The felt rests on top of the strings: it stops their up-and-down motion but only rubs against the sideways one, which leaves a faint tail after the release.

in the model

Share of the damper rate the horizontal polarisation gets (first order in each coupled mode: Σ_j w_j·V_jm²).

Damper lift time

live
damper.lift_time
0.0010.1default 0.005 slog

How quickly a damper lifts off when a key is pressed or the pedal goes down.

in the model

Time constant (s) of the contact moving towards 0.

Node floor

rebuild
damper.node_floor
0.0151.5default 0.15logrange ≈

Some overtones have a still point right under the damper and would escape it; the crushed felt still catches them. Higher: cleaner note endings.

in the model

Share of the full rate every partial gets at least. Set on the release of the bass (docs/release_ring.md).

Position

rebuild
damper.position
0.0141.4default 0.14logrange ≈

Where the felt dampers rest on the strings, near the keyboard end. They silence a note when its key is released.

in the model

Fraction of the string length from the agraffe. A damper is a dashpot adding to partial k a decay rate proportional to sin²(kπx/L) averaged over the pad (S_k).

Damper strength

live
damper.strength
0.014default 0.1log

How firmly the dampers stop the strings. Too soft and notes linger after release; too hard and the felt bounces the vibration back instead of absorbing it.

in the model

c/(2·Z0), Z0 = √(T·μ): σ_k = c/(μL)·S_k·(2Z0/(c + 2Z0))². 1 matches the string's impedance (most absorbing). S_k: mean of sin²(kπx/L) over the pad. 0.1 set on the release of a Disklavier grand's notes (docs/release.md).

Width

rebuild
damper.width
0.0020.2default 0.02logrange ≈

Length of string the felt pad covers.

in the model

Pad width (m) in the average of sin² (partials with a node under the pad are still damped by the rest of it).

Sympathetic resonance

Enabled

rebuild
sympathetic.enabled
default on

With the dampers lifted, the other strings vibrate in sympathy with the notes played: the halo of a pedalled piano.

in the model

One-way (Bank, Zambon & Fontana 2010): each undamped key gets listening strings driven by the bridge motion that the other keys cause; they do not move the bridge back, so it is stable for any gain.

Self cancel

rebuild
sympathetic.self_cancel
default on

Keeps a key from resonating with its own vibration through the bridge.

in the model

Cancels each key's own contribution to its bridge input (already in its coupled modes).

Gain

rebuild
sympathetic.gain
0.110default 1logrange ≈

Strength of the sympathetic resonance.

in the model

Scale on the bridge-to-string gain. 1 is the one-way physical value: on pedalled chords it matches a Disklavier grand's halo within 0.5–2.5 dB (tools/pedal_bench.py).

Max freq

rebuild
sympathetic.max_freq
50050000default 5000 Hzlogrange ≈

Highest overtone of the sympathetic strings (lower: less CPU).

in the model

Listening strings run their partials below this frequency (Hz).