piano
Tap to play.
An offline piano across two octaves. Click the keys, use your physical keyboard, or trigger one of the songs below. The bottom row Z–M plays C4–B4, the top row Q–U plays C5–B5.
keyboard
Twenty-four keys.
Web Audio API, no samples — pure additive synthesis with a piano-shaped envelope. Volume and sustain live in the toolbar.
piano · 12 oct—
sustain
vol
// click keys or use your keyboard · press space to stop a song
songs
Six classics, one tap.
Tap any title to auto-play. The piano lights up note by note. Tap again, press space, or hit any key to stop.
key mapping
Where every note lives.
Two QWERTY rows, one per octave. Black keys sit above their white-key neighbours, exactly like a real piano.
octave 4 · white
ZC4 · do
XD4 · re
CE4 · mi
VF4 · fa
BG4 · sol
NA4 · la · 440 hz
MB4 · si
octave 4 · black
SC#4
DD#4
GF#4
HG#4
JA#4
octave 5 · white
QC5 · middle-C +1
WD5
EE5
RF5
TG5
YA5
UB5
octave 5 · black
2C#5
3D#5
5F#5
6G#5
7A#5
// triangle fundamental + additive harmonics · adsr envelope · sustain extends release from 1.2s to 3.4s