Virtual Piano Online:

play single notes or chords with keyboard, mouse or touchscreen (seven octaves)

Our online piano can be played like a physical piano because we match the piano keyboard layout: white keys to the second row and black keys to the first row on the computer's keyboard.

Names of Piano Keys

Check out our first music lesson: the names of the piano keys and their sound frequencies.

Major triads demo

with a definition and demonstration

Minor triads demo

with a definition and demonstration

Major scales demo

with a definition and demonstration

Natural minor scales demo

with a definition and demonstration

Use the computer keyboard to play the virtual piano keyboard

Press keys on the computer keyboard or click on the keys of the piano keyboard to play this virtual online piano simulator. Each key on the piano keyboard from C3 to C5 can be played by pressing an associated key on the computer keyboard. For example, C3 is played by pressing Tab while C#3 is played by pressing 1 and D3 is played by pressing Q and so on. Note that B4 is played by pressing the backslash key, while the Enter key plays C5.

Play any chords with the computer keyboard

The keys from the row A,S,D and the row Z,X,C are programmed to play white key chords for rich melodies. Moreover, with advanced options you can assign any user-defined chord or single note to any key of the computer keyboard. Tick the CHORD checkbox to indicate a chord on the piano keyboard and then check it off to create a custom-made chord button. This button will play your chord but it can also be configured to be associated with a computer keyboard key.

Record and playback

You can record anything played by this virtual piano keyboard and play it back at will. To start and stop recording check and uncheck the box RECORD. A playback button will appear automatically. You can have many 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.

Save your work

Your recordings and your custom chords are stored as buttons which can be dragged around to shift position. You can save all your buttons as a text file to your hard drive and then load this file later. Each button can be renamed and configured to be triggered by any key from the computer keyboard. You can program your computer keyboard so that each key plays a custom chord or a playback recording and then save the layout for later.

Bookmark your chords

You can generate a link that encodes all the chords from your buttons. For example, this link encodes all the possible three-note C major chords between C3 and C5: https://www.apronus.com/music/flashpiano.htm?c=48-52-55_48-52-67_48-55-64_48-64-67_52-55-60_52-55-72_52-60-67_52-67-72_55-60-64_55-64-72_60-64-67_64-67-72 The online piano will be able to play all these chords after an appropriate button is clicked.

This online piano is available offline

This is an online piano in the sense that it needs a live Internet connection to work. But there is an offline version available as a single HTML file that you can open in your browser without being connected to the Internet. Contact me directly if you are interested.

Solfège is optional

You can load this online piano from the link https://www.apronus.com/music/flashpiano.htm?solfege=1.

Better sound quality

The default sound files are optimized for speed of loading so that you can start playing the piano immediately without waiting for the sounds to load. However, this comes at the cost of reduced quality, which may be an issue when using external loudspeakers or headphones. Fortunately, you can optionally load better sounds if you need higher sound quality.

Virtual guitar

You might also be interested in my virtual guitar that plays all the major chords, minor chords, and dominant sevenths chords. In fact, it can play any chords at all. But more importantly, the notes on the fretboard are visualized on a separate virtual piano keyboard which serves to explain how the guitar works to those who already understand the piano.

Feedback is welcome

I have the ambition to make it the most useful virtual piano online simulator in the world so I need to know what exactly my users expect when they play it. Please feel free to write any comments and remarks by using the email address displayed on the Apronus.com homepage.