Seven full octaves from C1 to C8
Our virtual piano usually starts with four octaves from C2 to C6 but you can extend it to play the lowest octave from C1 or to play the two highest octaves up to C8. Use the + and − buttons at the sides of the piano keyboard to control the available octaves.
The whole computer keyboard is efficiently employed
The main section of the computer keyboard is configured to play three octaves from C2 to C5. The Tab-QWERTY row plays the white keys from C3 to B4, the C5 being available at Enter and Delete. The digits row above plays the black keys from this range. The Shift-ZXCVB row plays the white keys from C2 to G3 from left to right Shift. Thus three octaves are always accessible even on the most cramped laptop keyboard.
Moreover, the navigation keys and the numeric keypad are also configured to play the piano. On a full keyboard with both the navigation and numeric pads the Tab-QWERTY row is extended to play up to C6 with all the intermediate black keys. Thus a full computer keyboard allows you to play four octaves from C2 to C6.
The Tab key plays C3 by default but it can be adjusted transposing the whole computer keyboard up or down by an octave. You can click the selector above the piano keyboard or press the left or right arrows to switch octaves down or up. This trick allows you to play the full seven octaves with the computer keyboard.
Alternative White Keys Only Layout
It is possible to change the keyboard layout so that each computer key plays a white on the piano. Each row plays consecutive white keys while the rows are offset so as to facilitate playing major triads, minor triads, and arpeggios, occasionally hitting a diminished triad. If you're into this idea, you should explore the Arpeggion — a virtual instrument which offers additional keyboard layouts for any major scale without restriction to the white keys.
Voice Selection
You can choose the voice of your virtual piano keyboard:
- Grand Piano (preloaded) — optimized for extremely fast loading
- Grand Piano (better sound) — takes a moment to load
- Electric Piano (smooth)
- Electric Piano (gentle)
- Chimes Piano
- Classical Guitar
I will be adding other voices.
The voice can be selected by pressing the up and down arrows on the computer keyboard.
Multiple keyboards — each with its own voice
This interactive webpage allows you to play multiple instruments at once. Click the button 🎹 to clone the piano keyboard. Each cloned virtual piano can be configured separately which means you can play multiple voices at once. Note that the computer keyboard is hooked up only to the single most recently activated virtual piano.
Volume and Sustain
You can adjust the volume on a scale from 0 to 10. Each voice can be played with or without the sustain pedal. The sustain pedal can be toggled by pressing CapsLock.
Marking keys on the virtual piano keyboard
You can mark keys for reference by clicking on them while holding down the Control key. This allows you to highlight a specific subset of keys on the keyboard.
Note names
You can choose how note names are displayed on the keyboard. Options include scientific pitch notation like C4, C4, or simply C without octave numbers. You can also display solfège syllables (so, re, mi, fa, sol, la, si) above the letter names. You can also replace the scientific notation with the solfège format Do4. If you prefer a cleaner look, you can also hide note names entirely.
Download piano images
You can download an image of the piano exactly as you see it, which includes marked keys and the choice of note names from among the many conventions. You can set the height of the downloaded image in pixels and the image format: SVG, WebP, or PNG.
Play chords on a touchscreen
On a touchscreen device, you can play chords by pressing multiple keys simultaneously, just like on a physical piano.
Play chords with the computer keyboard
On the computer keyboard, you can play chords by pressing multiple keys simultaneously, just like on a physical piano, because the keyboard layout matches the arrangement of white and black keys on a real piano.
In addition, you can reconfigure the computer keyboard to play any custom chord with a single key press. To do this, tick the CHORD checkbox, select a chord on the virtual piano keyboard, and then untick the CHORD checkbox to save your chosen chord. This will create a chord button below the piano keyboard. You can click it to play the chord. You can also edit the chord button by clicking its settings icon to assign a computer key to it. In this way, you can rewire the computer keyboard to play any chords you like.
Modify the computer keyboard layout at will
The chord buttons described above can also be created for single notes. This means you can redesign how computer keys are mapped to piano keys. Note that you can use almost any key, including F1, Num Lock, or Scroll Lock.
Record and playback
You can record anything played on this virtual piano and play it back at will. To start and stop recording, check and uncheck the RECORD checkbox. A playback button will appear automatically. You can create multiple playback buttons, each with its own recording. You can even play back more than one recording at the same time while making another recording to combine them. Note that your recordings may include output from multiple pianos, each set to a different voice or volume.
These playback buttons can also be edited to associate them with computer keyboard keys.
In addition, you can download a MIDI file for any recording, but it will render all notes on a grand piano with the sustain pedal and a uniform volume per note, ignoring the variety present in your recording.
Chord and playback buttons as a complex musical project
These chord buttons and playback buttons across multiple piano keyboards can represent a complex musical project. You can rename, clone, and drag them with the mouse to arrange them in any position. It is even possible to drag a button from one virtual piano to another.
Save your project
You can save your project by clicking Export. This will download an HTML file to your device. That file will bring you back to the VirtualPiano.Online website. In addition, if you open it in a text editor, you will see that it is human-readable and extremely easy for computers to process. This ensures that your work will not be lost even if this website goes offline.
Music theory interactive lessons
This generic online piano plays single notes. But we have also custom-made online pianos that play chords at the touch of a single key. Currently the following music theory concepts are presented as interactive educational resources:
- major triads | major chords
- minor triads | minor chords
- augmented triads | augmented chords
- diminished triads
Chord recognition
By checking the CHORD box, you can form any chord. This online piano will recognize the chord types listed above and display the full name of the recognized chord.
Other languages
- Piano Virtual Online — Spanish language version
- Виртуальное пианино онлайн — Russian language version
Import from the Apronus.com online piano
You can import your virtual piano project previously saved from the Apronus.com online piano.