Audio
How to play piano online with your computer keyboard
You do not need a real piano to try a melody, check a note or practise a scale. You will learn which computer keys play which notes, find middle C, play chords, hold notes with the pedal and record what you play.
Many computer keyboards register only three or four keys pressed together, so a big chord may drop a note. A touch screen does not have that limit.
Open Virtual pianoContents
Open the Virtual piano on cv.cm
Click, tap or press a key. Browsers only allow sound after a key press or click, so the first note also turns the sound on.
Open Virtual pianoLearn the computer keys
The bottom row Z X C V B N M plays the white keys C to B of one octave, with S D G H J for the black keys. The row Q W E R T Y U plays the octave above, with 2 3 5 6 7 for its black keys. Choose Computer keys under Key labels to see them on the piano.
Two rows of computer keys play two octaves. Pick a sound and a range
Choose piano, electric piano, organ or synth, and how many octaves to show. The ◀ and ▶ buttons move the keyboard down or up an octave; the computer keys move with it.
Find the notes
The white key just left of each pair of black keys is C. Middle C is C4; with labels on Note names it is marked on the keys, or choose Do Re Mi.
C is the white key left of the two black keys. Play chords and use the pedal
Press several keys at once for a chord: C, E and G make C major. Hold Space as a sustain pedal so notes ring on after you let go, or tick Sustain to keep it on.
Record and play back
Press Record, play, then Stop. Play repeats your take with the same timing; change the sound and play it again to hear it on another instrument. Clear starts over.
FAQ
Where is middle C?
It is the C nearest the middle of a full piano, called C4. When the page opens on a computer, it is the C that the Q key plays.
How do I play a sharp or flat?
Use the black keys: the one right of C is C♯ (also D♭). On the computer keyboard they are the keys on the row above, such as S and 2.
What does the sustain pedal do?
It keeps notes sounding after you release the keys, so they blend. Lift it (let go of Space) to stop them.
Can I play on a phone?
Yes, with several fingers at once. On a narrow screen the keys keep a finger's width, so the keyboard opens on middle C and the rest is off to the side; ◀ ▶ move it by an octave.
Is the take saved?
It stays on the page until you clear it or leave. It is not uploaded or stored anywhere.