Pocket Piano

Play piano with your computer keyboard. No piano needed.

Press A That’s middle C. Or click any key.
Octave4

Learn a song

Pick one, then press Learn it. The key to press next lights up, and the song waits for you.

    About the sound

    How it works

    Every note is a recording of a real acoustic grand piano, not a synthesized tone. The piano was sampled at 17 pitches across the keyboard; when you press a key in between, Pocket Piano speeds up or slows down the nearest recording by the right amount to reach the exact pitch — the same trick a hardware sampler uses. Pressing the same key again damps the previous note quickly, like a real piano's hammers.

    While the recordings are loading, or if they fail to load, a simple built-in tone fills in instead, so the piano stays playable either way.

    Credit

    Piano sound: Salamander Grand Piano, recorded and released by Alexander Holm under CC BY 3.0.

    Original recordings: archive.org/details/SalamanderGrandPianoV3. Pocket Piano uses the MP3 set mirrored by the Tone.js audio project.