Melody Game – Music Memory on an Online Piano

A music memory game on a virtual piano. Choose a short public-domain classical phrase, watch it play on the staff and keys, then play it back. The piece name and composer stay on screen the whole time. Or switch to Free Play and simply play piano online.

Loading game…

Rules and help

How the melody game works

Melody Memory is a sound memory game played on piano keys. Pick a piece from the list. The title and composer stay on screen the whole time. The game plays the first note, then you play it back. Each correct round adds one more note until the full phrase is done.

Difficulty

  • Easy — while you repeat, the staff stays up and the next key lights.
  • Normal — the staff stays up; the keys do not light while you play.
  • Hard — during your turn there is no staff and no key highlight. Both still appear while the phrase plays.

Tempo (slow, normal, fast) only changes how quickly the phrase is played for you. You have three lives. A wrong note plays the correct pitch as a hint and costs one life. At zero lives the round ends. Finish a melody with no mistakes to earn a star on that piece. Difficulty, tempo, and key-label toggles live under Options.

Free Play and the online piano

Free Play is a virtual piano. Click or tap the keys. Octave arrows shift the visible range. Computer keyboard, two rows with no shifting needed for C4–B5: lower row Z S X D C V G B H N J M, upper row Q 2 W 3 E R 5 T 6 Y 7 U. Options can show or hide those letters and the note names (C D E…). Sound is a built-in synth — nothing to download.

The melodies

Each line is a short public-domain phrase, written as our own note list for this piano keys game:

  • Ode to Joy — Beethoven. The hymn-like theme from the Ninth Symphony.
  • Ah vous dirai-je, Maman — Mozart. The nursery theme he wrote variations on.
  • Morning Mood — Grieg. The gentle opening rise from Peer Gynt.
  • Eine kleine Nachtmusik — Mozart. The bright serenade fanfare.
  • Infernal Galop — Offenbach. The can-can tune from Orpheus in the Underworld.
  • William Tell Overture — Rossini. The closing gallop, shortened.
  • Wiegenlied — Brahms. The cradle song’s rocking phrase around middle C.
  • Für Elise — Beethoven. The famous opening bagatelle figure.
  • Spring — Vivaldi. A scrap of the Four Seasons opening.
  • In the Hall of the Mountain King — Grieg. The creeping minor climb.
  • Minuet in G — Christian Petzold (once attributed to Bach).
  • Canon in D — Pachelbel. The violin’s first turn over the ground.

Using this game

Choose Melody Memory or Free Play above the board. Start begins a round. New game asks before wiping a run in progress. Full screen keeps the keyboard large. Progress, stars, and settings stay on this device.

Tips

  • Say the note names quietly as the staff plays, then match them on the keys.
  • On Easy, watch which key lights; on Hard, listen first and trust the contour.
  • Slow tempo gives more time between notes when a phrase is new.
  • In Free Play, turn on note names while you learn the layout, then hide them.

Playing on a phone or tablet

Tap the keys to play. In Melody Memory the keyboard shows the whole phrase range. In Free Play, use the octave arrows. Start, Options, and Full screen stay above the board.

Frequently asked questions

What is a music memory game?
A music memory game plays a short phrase, then asks you to repeat it. This one grows the phrase note by note on a staff and an online piano until you finish the melody or run out of lives.
Can I play piano with my computer keyboard?
Yes. The lower row Z S X D C V G B H N J M plays one octave; the upper row Q 2 W 3 E R 5 T 6 Y 7 U plays the octave above. You can hide those letters under Options.
Is this online piano free?
Yes. The melody game and Free Play virtual piano are free in the browser. Nothing to install, and your progress stays on this device.
Does it work on phone?
Yes. Keys are large enough to tap. Melody Memory shows the whole phrase on screen; Free Play uses octave arrows. Use Full screen for more room.