GALAXY OF TOOLS

AUDIO SECTOR

Online Piano

Play 2–7 octaves with mouse, multi-touch, computer keys or a MIDI keyboard; record takes and learn songs.

Press a key — or use your computer keyboard (Z S X D C… and Q 2 W 3 E…)

Learn a song

Hits 0 · Misses 0 · Wrong keys 0

Record

No take recorded yet.

MIDI keyboard

Plug in a USB or Bluetooth MIDI keyboard, then connect.

Runs entirely in your browser. Nothing you enter or upload is sent to a server.

A free online piano you can play with mouse, touch or keyboard

This online piano gives you a full-size, playable keyboard in your browser. Show anything from two to seven octaves, play with the mouse, with several fingers at once on a touch screen, with your computer keyboard, or with a real MIDI keyboard plugged into your computer. Hold notes with the sustain pedal, record what you play and hear it back, or download it as a standard MIDI file for a music app.

Beginners can learn simple tunes with falling notes: pick a song, and coloured bars drop towards the keys that you need to press. In “Wait for me” mode the song pauses until you find the right key, so nobody gets left behind.

Every sound is synthesised live with the Web Audio API, and nothing you play is uploaded.

How to use the Online Piano

  1. Choose how many Octaves to show and the Lowest key. The arrow buttons (or ← and → on your keyboard) shift the range one octave.
  2. Play by clicking or touching the keys, or use your computer keyboard: the bottom row Z–M plays the first octave (with S D G H J as black keys) and Q–] with the number row plays the next one and a half.
  3. Hold Space as a sustain pedal, or press Sustain to latch it.
  4. To learn a tune, choose a Song, a speed and a mode, then press Start song and press the green-highlighted key as each bar reaches the line.
  5. Press Record, play, then press it again. Use Play back to listen and Download MIDI to keep the take.

Online Piano features

2 to 7 octaves

From a compact two-octave keyboard for phones up to 85 keys (C1 to C8) on a large screen; the keyboard scrolls sideways inside its frame when it is wider than the screen.

Multi-touch and glissando

Each finger is tracked separately, so chords work on tablets, and sliding a finger across the keys plays every note it passes.

Four synthesised voices

A grand piano built from slightly inharmonic, separately decaying partials with a hammer thump, an FM electric piano, a drawbar organ and a reed harmonium. Key labels can also show sargam (Sa Re Ga) — the online harmonium adds Sa selection and a drone.

Song tutorials

Six public-domain tunes with falling notes, three practice modes (wait, play along, listen), four speeds and a hit, miss and accuracy score.

Record and export MIDI

Takes are saved in your browser, played back with the same sound, and exported as a Standard MIDI File (format 0, 480 ticks per beat).

MIDI keyboards and chord names

Connect a USB or Bluetooth MIDI keyboard (velocity and sustain pedal are supported) and see the name of the chord you are holding, such as C major, Am7 or G7.

Computer keyboard map

The keys follow the layout used by many music programs: two rows of the keyboard behave like two rows of piano keys, with the row above each one supplying the black keys. The map uses key positions, so it also works on AZERTY and QWERTZ keyboards, although the labels show QWERTY letters.

Computer keysPiano notes (lowest key = C)
Z X C V B N MC D E F G A B — white keys of the first octave
S D · G H JC♯ D♯ · F♯ G♯ A♯ — black keys of the first octave
, . /C D E of the second octave
Q W E R T Y U I O P [ ]C to G — second octave and beyond
2 3 · 5 6 7 · 9 0 · =Black keys between them
Space · ← →Sustain pedal · octave down / up

How the piano sound is made

A real piano string vibrates at many frequencies at once. Each note here is built from up to nine sine and triangle partials whose frequencies are stretched slightly upwards (string inharmonicity), with the upper partials dying away faster than the fundamental. The two lowest partials are doubled and detuned by about one cent, like the two or three strings a piano hammer strikes, which gives the gentle beating of a real instrument.

Harder playing (higher MIDI velocity) opens a low-pass filter for a brighter attack, and a short burst of filtered noise imitates the hammer. Low notes ring for up to ten seconds and high notes for under one, as on an acoustic piano. It is a convincing practice sound, though not a recording of a concert grand.

The songs and practice tips

  • Twinkle Twinkle Little Star, Mary Had a Little Lamb and Frère Jacques use only five or six white keys — ideal first pieces.
  • Ode to Joy (Beethoven, 1824) and the Jingle Bells chorus (1857) add steps and repeated notes; the opening of Für Elise brings in D♯ and G♯ and faster sixteenth notes.
  • All six melodies are traditional or long out of copyright. Popular songs still under copyright are not included.
  • Start in “Wait for me” at 75% speed, then switch to “Play along” at full speed. Keep a steady pulse with the metronome, and print blank sheet music to write down your own tunes.

Online Piano FAQ

Is this online piano free?

Yes. It is free to use with no sign-up, no download and no time limit, and it runs entirely in your browser.

Can I play the online piano with my computer keyboard?

Yes. The bottom letter row plays the first octave and the top letter row with the number keys plays the next. Hold Space for sustain and use the left and right arrow keys to move up or down an octave.

Does it work with a MIDI keyboard?

In Chrome, Edge and Opera on computers and Android, press “Connect MIDI keyboard” and allow access. Note velocity and the sustain pedal (controller 64) are used. Safari and iPhone/iPad browsers do not support Web MIDI.

Why is there a delay between pressing a key and hearing it?

Output latency depends on your device; Bluetooth headphones add 100–300 ms, so wired headphones or the speakers respond quickest.

How do I save what I played?

Press Record, play, and press it again. The take stays in this browser until you clear it, and Download MIDI saves a .mid file for GarageBand, MuseScore and most music software.

Why can I hear nothing on my phone?

Check that the phone is not on silent (on iPhone the ring/silent switch mutes web audio), that the volume slider is up and that Mute is off. Sound starts on your first touch, as browsers require.

You might also need