How to play
- Click or tap the keys. On a phone or tablet you can play chords with several fingers and slide along the keys for a glissando.
- On a computer, the bottom letter row plays the lower octave (Z X C V B N M , are the white keys, S D G H J the black keys) and the top row the octave above (Q W E R T Y U I white, 2 3 5 6 7 black). The keys are matched by position, so this works on any keyboard layout. The arrow keys move the keyboard an octave down or up.
- Hold Space (or tap Sustain) for the sustain pedal, which keeps notes ringing after you let go. Switch between piano, electric piano and organ sounds, and show or hide the note names.
How it is tuned and how it sounds
Every key uses twelve-tone equal temperament with A above middle C at 440 Hz, the standard concert pitch set by ISO 16: each semitone is the twelfth root of two higher than the one below, so middle C is 261.63 Hz and the top C of a full piano 4,186.01 Hz. The sounds are made in your browser by Web Audio rather than played from recordings. The piano voice adds eight overtones that fade faster the higher they are, and stretches them very slightly sharp, as the stiffness of real piano strings does; the electric piano has a bell-like overtone and the organ holds steady while the key is down. Notes start as soon as the browser hears the key or touch, so how quickly you hear them also depends on your device’s audio output; wired headphones are usually quicker than Bluetooth.
What we tested
On October 15, 2026, in Chromium: the frequency of all 88 piano keys matched the equal-temperament formula computed in high precision. We recorded 19 notes from C1 to C7 in each of the three sounds and measured the strongest low peak of each recording: it was always the note’s fundamental, within 0.175 cents (a hundredth of a semitone is one cent). Pressing the 26 letter and number keys played the two octaves in order; sliding the mouse from C4 to D4 played both; three fingers touching C, E and G at once on a 390 px phone screen played all three.
Sources
- ISO 16:1975, Acoustics: standard tuning frequency (A4 = 440 Hz).
- W3C, Web Audio API.
Frequently Asked Questions
Built by Derek Giordano · Part of Ultimate Design Tools