Touch temperament
A keyboard has a temperament: the tuning that decides how every key relates to every other. Steel is tempered: treated until it has the hardness you want. An interface has one too. It is the mass, stiffness, damping and hardness behind every part, and most interfaces never tune it. Tuning it is tempering.
Four numbers, everything else follows
| Spring | Mass and stiffness set the speed, damping sets the overshoot. | |
|---|---|---|
| Contact | Hertz theory: harder and faster means a shorter hit, which reaches higher modes. | |
| Modes | Decaying sines at the material's frequency ratios. Stiffness over mass moves them all. | |
| Friction | How far the puck slides and how the dial coasts. Hardness sets the bounce. | |
| Light | The material sets the reflection and the height of each bevel. The pointer moves the lamp. |
Take the temper with you
This is the code for what is tuned above, and it updates as you move the faders. The page runs the same module: nothing is a sample.
What it is not
The modes are a model of each material, not measurements of real ones, and contact size is fixed. Loudness is mapped to stay comfortable rather than to match the physics. Moduli are close to real ones for glass, walnut, steel and ceramic; felt and rubber are set firmer so that speed changes their tone. The numbers show what the model does. Whether it sounds right is for your ear. Headphones or small speakers will change it. Vibration only works where the browser allows it, which today means Android, not iPhone.