Virtual Piano

A three-octave piano that plays instantly in your browser. Use your mouse, a touch screen or your computer keyboard, switch between seven sounds, hold the sustain pedal with the space bar, and record what you play to download as an MP3.

  • Files stay on your device
  • Free, no sign-up
  • Instant
Last note: –Keyboard octave: C4 (Z / X to change)
Pedal

Play with your mouse, touch screen or computer keyboard: A S D F G H J K L are white keys, W E T Y U O P are black keys.

Quick guide · 3 steps

How to use the Virtual Piano

When to use the Virtual Piano

Working out a melody by ear

Find the notes of a tune stuck in your head and record it before you forget it.

Learning the keyboard

Turn on note labels to learn where C, D, E and the rest sit, then hide them to test yourself.

Helping children explore music

A free, safe way for kids to press keys, hear different sounds and play simple songs.

Quick musical sketches for videos

Record a short piano or music-box phrase and download it as an MP3 for an intro or transition.

Features and benefits

  • 37 keys from C3 to C6 with note-name or computer-key labels
  • Seven synthesised sounds: grand piano, electric piano, music box, pluck, strings, pad and synth bass
  • Sustain pedal, octave shifting and multi-touch playing
  • Record a performance and download it as MP3 or WAV with a touch of room reverb

Example

Input
Played “Twinkle Twinkle Little Star” with the computer keys, Electric piano sound
Output
piano-recording.mp3 – 0:21, stereo, with room reverb

How the Virtual Piano works

When you choose a sound, the piano synthesises a short sample for every key in the background and keeps it in memory. Pressing a key starts that sample instantly through a gentle compressor, and releasing it fades the note out over a fraction of a second – unless the sustain pedal is down. While recording, the tool keeps a list of each note’s key, start time and length. Downloading renders that list again at full quality, with notes held for exactly as long as you held them, adds a little room reverb and encodes the result.

A real-life example

Zainab’s daughter had to play a short tune at a school assembly and practised at home without a keyboard. Using the virtual piano on a tablet with note labels on, she learned where each note was, then Zainab recorded her playing the tune with the Music box sound and sent the MP3 to the teacher for feedback.

Good to know

The keyboard follows the layout of a real piano: white keys are the natural notes C, D, E, F, G, A and B, and the raised black keys are the sharps and flats between them. The pattern of two and three black keys repeats every octave, and the white key just left of each group of two is always C. Turning on note labels is a quick way to learn the layout before you take them away.

Each sound is created by software synthesis as soon as you choose it, then reused for every press, so playing feels immediate. The grand piano blends several waves with a bright attack and a natural decay that gets shorter for higher notes, the electric piano uses frequency modulation like classic stage pianos, and the strings and pad fade in slowly for smooth chords.

When you record, the tool notes which keys you pressed and for how long, rather than recording the speaker. That means the downloaded file is clean, with no background noise or clicks, and it is rendered at full quality on your device. It is perfect for saving a melody idea before you forget it, sharing a tune with a teacher, or making a simple backing for a video.

Tips for the best results

  1. Hold the space bar as a sustain pedal for smooth chords and arpeggios.
  2. Press Z and X to move the computer-keyboard range so the melody fits under your fingers.
  3. Strings and Warm pad have a slow attack – they suit long chords rather than fast melodies.
  4. Record several short takes instead of one long one; it is easier to get a clean performance.
  5. Use wired headphones or the device speaker for the lowest delay.

Common mistakes to avoid

Playing fast passages with the Strings sound

Switch to Grand piano, Electric piano or Pluck, which start instantly.

Forgetting to stop recording before downloading

Click Stop recording first; the download button becomes active once the take is saved.

Holding sustain through every chord change

Release the pedal briefly as you change chords so the harmonies do not blur together.

Virtual Piano – frequently asked questions

How do I play the virtual piano with my keyboard?

The middle row A S D F G H J K L ; plays white keys and the row above (W E T Y U O P) plays the black keys. Z and X move this range down or up an octave.

Can I play chords?

Yes. Press several keys at once with your fingers on a touch screen or on your computer keyboard. Most keyboards allow at least three or four keys at the same time.

Why is there a delay on my phone?

Some phones add a little delay to audio. Close other apps, use the built-in speaker or wired headphones, and avoid Bluetooth headphones for the most responsive playing.

Is the recording copyright-free?

The sounds are ours to give you and the performance is yours. If you play someone else’s song, the composition still belongs to its writer.

Can I connect a MIDI keyboard?

Not yet – the piano is played with the mouse, touch or computer keyboard.

How long can a recording be?

Several minutes is fine on most devices. Very long takes use more memory when rendering the file.