Docs

Noises

The mechanics you hear between the notes — the action's clack, keybed thumps, damper thuds and pedal knocks, driven into the same strings and soundboard as the notes or heard through the air.

A piano is a machine, and you hear it working: the action clacking as a key goes down, the key bottoming on the keybed, a damper landing on a ringing string, the pedal mechanism. Sample libraries record those noises separately and mix them in; here they come from the instrument itself. The thumps and knocks are impulses into the strings and the soundboard, so they ring through the same board, reach the same microphones and fill the same room as the notes — and they change with the instrument. The action’s clack is heard directly through the air, as on a real piano, where the keyframe and the action’s wooden parts radiate it near the microphones.

Noise Where it goes When
Action clack through the air to the microphones, louder on the side where the key’s strings are heard 8 ms after the hammer meets the string; grows with its speed
Keybed knock into the soundboard, at the key’s bridge region when the hammer strikes; grows with its speed
Damper landing into the string modes, at the damper when a damper falls on a ringing string; scaled by release velocity
Pedal knock into the soundboard, two regions near the middle when the sustain pedal moves; grows with its speed

The action’s clack is what eight real grands have below the fundamental of their top notes: a knock at about the same level on every key, some 20–30 dB under a middle note’s attack, that gives the treble’s attack its percussive edge. The model makes it with a bank of 24 damped resonances from 80 Hz to 2.6 kHz, the keyframe and the action, shared by all the keys; each key strikes them with its own pattern of amplitudes (docs/action_noise.md).

Knocks · shape and spectrum

force over time02468msspectrum0-20-40-60202002k20kHzkeybed & pedal knock · 3 msdamper landing · 4 msaction clack · through the air, T60 200 ms
Left: the force of each knock over time. Right: what it contains — flat up to about 1/duration, then falling at 12 dB per octave with notches. The knocks' strengths scale with how hard the key is struck or the pedal moved; the damper's thud with the release velocity. The action's clack (dashed) is not a push but 24 resonances from 80 Hz to 2.6 kHz, struck 8 ms after the hammer meets the string and ringing for about 200 ms (T60 at 500 Hz): flat to 500 Hz, 6 dB up at 1–1.5 kHz, then falling at 36 dB per octave. Its level, too, grows with the hammer's speed.

All of them are live: set any to 0 to remove it. action_delay is how long after the strike the clack comes, action_time how long it rings. damper_mass and damper_speed together make the momentum kick a landing damper gives the string; damper_landing and knock_time are how long the pushes last, so how dull they sound.

In the application

The Noises page of the Unsampled Piano interface
The Noises 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

Mechanical noises

Action knock

live
noise.action
00.2default 0.05 Pa·s/m

The clack of the action itself, heard directly: the key hitting the keybed, the hammer shank and the keyframe. It gives the attack its percussive edge, most audible in the treble.

in the model

Peak pressure (Pa) at the microphones per m/s of hammer speed, from a bank of 24 damped resonances (80 Hz–2.6 kHz) shared by all keys, each key with its own amplitudes. Set on the knock below the top keys' fundamentals on eight real grands (docs/action_noise.md).

Action knock delay

live
noise.action_delay
00.03default 0.008 s

How long after the hammer meets the string the action's clack comes.

in the model

Delay (s) of the knock after the strike: the key bottoms just after the hammer reaches the string.

Action knock T60

live
noise.action_time
0.021default 0.2 slog

How long the action's clack rings.

in the model

Decay time T60 (s) of the resonances at 500 Hz, shorter above as (500/f)^0.3.

Damper landing time

live
noise.damper_landing
5·10⁻⁴0.02default 0.004 slog

How soft the damper landing is: longer is a duller thud.

in the model

Duration (s) of the half-sine impulse; its spectrum falls above 1/duration.

Damper felt mass

live
noise.damper_mass
00.05default 0.007 kg

The soft thud of a damper landing on a ringing string. Heavier: a more audible thud.

in the model

Effective felt mass (kg): a momentum kick mass·speed into the string modes at the damper point, spread over damper_landing.

Damper fall speed

live
noise.damper_speed
01default 0.1 m/s

How fast the dampers fall on the strings (scaled by the release velocity of the key).

in the model

Fall speed (m/s) at release velocity 64; the pedal's dampers fall slower.

Keybed knock

live
noise.keybed
02default 0.25 N·s/m

The thump of the key hitting the keybed, heard through the case. Grows with how hard the key is struck.

in the model

Peak force (N per m/s of hammer speed) of a half-sine knock into the board at the key's bridge region, when the hammer strikes.

Knock duration

live
noise.knock_time
5·10⁻⁴0.02default 0.003 slog

Duration of the keybed and pedal knocks: longer is duller.

in the model

Length (s) of the half-sine knock.

Pedal knock

live
noise.pedal
03default 0.35 N

The knock of the sustain pedal mechanism, heard through the case.

in the model

Peak force (N) into the board for a full-speed pedal move, split between two regions near the middle of the keyboard.