Most pianos in the world work the same way. You press a key, a hammer strikes a string, and you hear a note. Silence is usually treated as the space between sounds. Reverse Piano inverts that logic.
On the Reverse Piano, pressing a key produces nothing. You build up pressure, tension, anticipation — and the sound only arrives when you let go. The instrument rewards release instead of attack. Meaning comes from letting go.
why
The best moments at the piano are often the ones you do not fully control: the resonance that lingers after a chord, the decay into silence, the breath between movements. The note ends, but the feeling does not.
I wanted to build an instrument that makes those moments the primary event rather than the remainder.
how to play
Use your laptop keyboard. The bottom row (a s d f g h j k l ; ' \) maps to white keys. The row above (w e t y u o p ]) maps to black keys, following the layout of a real piano. Hold a key, then release. The longer you hold, the fuller the note.
how it works
The browser listens for keydown and keyup events. On keydown, it makes no sound — it only records the start time. On keyup, it calculates how long the key was held, and that duration shapes the envelope of the note that finally plays.
The synthesis engine is simple: a few oscillators routed through an ADSR envelope and a gentle reverb. The complexity is not in the sound. The complexity is in the inversion.
what I learned
The hardest part was not the code. It was learning how to play it.
The first time I sat down with the finished version, I had to unlearn my instinct to press and sustain. I kept waiting for something to happen while I held the key. Nothing did. Then I let go, and the sound arrived — delayed, soft, and slightly surprising.
It taught me that absence can hold as much attention as presence.
I think about this project often when I'm writing code. The best architectures are the ones where you notice what isn't there — the absent coupling, the missing abstraction layer, the unnecessary state that was never introduced. Systems, like music, are mostly about what you choose to leave out.