Online Piano (Virtual Piano Keyboard)
A sampled grand piano on 88 keys: play, learn chords and scales, record and download.
Piano
Click, tap or drag over the keys (several fingers at once work), or play on the computer keyboard: the lower row Z S X D C… and the upper row Q 2 W 3 E… — the letters are printed on the keys. Hold Space for the sustain pedal; ← → move the computer keys an octave. With a piano key selected, the arrow keys move between keys and Enter plays it.
Chords & scales
Pick a chord or a scale to mark its keys on the whole keyboard; the root is marked darker.
Record & download
Nothing recorded yet.
Recording keeps the keys you play, how hard, and the sustain pedal. The MIDI file opens in any music program; the WAV file is the piano’s own sound, rendered in this browser (up to 5 minutes). The last recording stays on this device until you clear it.
MIDI keyboard
Play this piano from a USB or Bluetooth MIDI keyboard: key velocity and the sustain pedal come through.
Works in Chrome, Edge and Opera on computers and Android, and in Firefox on computers. Safari, iPhone and iPad have no Web MIDI.
The piano is the Salamander Grand Piano V3 (a Yamaha C5 recorded by Alexander Holm), used under Creative Commons Attribution 3.0: two of its loudness layers, every minor third from A0 to C8, shortened with a fade-out and re-encoded for the web by MySmartCoPilot. Sargam names follow the 12-swara octave: lower-case swaras are komal, Ma′ is tivra Ma.
About the Online Piano (Virtual Piano Keyboard)
Play a real grand piano in your browser: all 88 keys, A0 to C8, with the mouse, several fingers on a touch screen, the computer keyboard (the letters are printed on the keys) or a MIDI keyboard. The sound is the Salamander Grand Piano, a Yamaha C5 recorded note by note, in two loudness layers — a soft touch sounds softer and darker, as on a real piano, instead of just quieter.
For learners the keys can show letter names (C D E), solfège (Do Re Mi) or Indian sargam (Sa Re Ga, from any Sa), and the page marks every key of a chord or scale, spells its notes correctly and names the chord you are holding. Record what you play, play it back, and download it as a WAV audio file or a MIDI file.
How to use it
- Click or tap any key. The piano sound (about 1.9 MB) downloads with your first note; until a key’s recording has arrived, that key plays a simple tone.
- On a computer, play two rows of letters: Z S X D C V G B H N J M is one octave and Q 2 W 3 E R 5 T 6 Y 7 U the next. ← and → move both rows an octave; the notes they reach are shown above the keys.
- Hold Space for the sustain pedal (or switch Sustain on), and choose a Touch: Soft, Medium or Hard.
- Under Chords & scales, pick a chord or a scale to mark its keys on the whole keyboard, and press Play it to hear it.
- Press Record, play, then Stop recording. Play back listens to it; Download WAV saves the sound and Download MIDI the notes.
- To play from a MIDI keyboard, plug it in and press Connect a MIDI keyboard (Chrome, Edge, Opera or Firefox on a computer, Chrome on Android).
Examples
E E F G | G F E D | C C D E | E D D
E E R T | T R E W | Q Q W E | E W W
With the computer keys on C3 – G5 (the start setting) the upper row starts at middle C: Q = C, W = D, E = E, R = F, T = G.
C C G G A A G | F F E E D D C
Q Q T T Y Y T | R R E E W W Q
Hold E4, G4 and C5
C/E · C major, first inversion (E in the bass)
Hold A3, C4, E4 and G4 and it says Am7; the same notes with C in the bass (C4 E4 G4 A4) are C6.
Note names: Sargam · Sa is C♯ / D♭
C♯4 = Sa, D♯4 = Re, F♯4 = Ma, G♯4 = Pa; keys below C♯4 carry a dot below (mandra saptak)
Show on the keys: A scale · Root D · major
D E F♯ G A B C♯ — steps W W H W W W H
F major comes out as F G A B♭ C D E, not with an A♯: each letter is used once.
Common uses
- Picking out a melody by ear, or trying a tune before you play it on a real instrument.
- Learning where the notes, chords and scales are, with letter names, solfège or sargam on the keys.
- Practising sargam and alankars from your own Sa when no harmonium or keyboard is at hand.
- Checking which chord a set of notes makes, and hearing its inversions.
- Recording a quick idea and taking it into a music program as a MIDI file, or sharing it as audio.
The computer keyboard
The two letter rows are laid out like a piano: the bottom row of each pair is the white keys and the row above it the black keys.
- Lower octave: Z = C, S = C♯, X = D, D = D♯, C = E, V = F, G = F♯, B = G, H = G♯, N = A, J = A♯, M = B; then , L . ; / carry on to the E above.
- Upper octave: Q = C, 2 = C♯, W = D, 3 = D♯, E = E, R = F, 5 = F♯, T = G, 6 = G♯, Y = A, 7 = A♯, U = B; then I 9 O 0 P [ = ] go up to the G above.
- ← → move both rows by an octave, from A0 – G2 at the bottom to C6 – C8 at the top.
The page reads keys by their position, so on an AZERTY or QWERTZ keyboard the same physical keys play the same notes; in Chrome, Edge and Opera the keys show the characters printed on your own keyboard. Many computer keyboards register only a few keys at once, so large chords on the letter keys can drop notes — use the mouse, touch or a MIDI keyboard for those.
The piano sound
Each key plays the nearest of 30 recorded notes (one every minor third from A0 to C8), with the tuning corrections that come with the Salamander Grand Piano V3, pitched by at most a semitone. Medium and Hard use the loud recording (velocity layer 12 of 16); Soft uses the soft one (layer 7), which is downloaded only when you choose it. A MIDI keyboard blends the two layers by how hard you play.
To keep the download small, the recordings are shortened with a fade-out: the lowest keys after 12 seconds, the middle after 8 to 10 seconds, while the top keys ring out in full. Room sound adds a light reverb; switch it off for a dry, close sound. Once the sound has loaded, the browser keeps it, so the piano also works offline.
Sargam and solfège on the keys
Sargam names the twelve swaras from the Sa you choose: Sa, re, Re, ga, Ga, Ma, Ma′, Pa, dha, Dha, ni, Ni. Lower-case re, ga, dha and ni are the komal (flat) swaras and Ma′ is tivra (sharp) Ma. A dot below the name marks the mandra (lower) saptak and a dot above the taar (upper) saptak; the madhya (middle) saptak starts at the Sa from middle C up to the B above it (with Sa on C, middle C itself). Two dots go one more octave out.
Solfège uses fixed Do, as in most of Europe and Latin America: Do is always C, Re is D, and so on to Si.
Recording, WAV and MIDI
A recording keeps every key you press, how hard (the touch, or a MIDI keyboard’s velocity) and the sustain pedal, timed to the millisecond. It stays on this device until you clear it or record again.
- MIDI file: a Standard MIDI File (format 0) at 120 beats a minute and 480 ticks a beat, with the notes, their velocities and the pedal (controller 64) for Acoustic Grand Piano. It opens in notation programs, music apps and digital audio workstations, which can change the instrument or tempo.
- WAV file: 16-bit, 44.1 kHz stereo, rendered in your browser with the same piano, volume and room sound you hear, plus three seconds for the last notes to ring out. Up to 5 minutes; for longer takes use the MIDI file.
When a key feels late
A key starts its sound on the browser’s audio clock as soon as it is pressed. Delay you can hear comes from the way out: Bluetooth headphones and speakers add a clearly noticeable delay, while wired headphones and built-in speakers respond much faster. If notes feel late, try wired headphones, and close other tabs that play sound.
Limitations
- A mouse, a touch screen and a computer keyboard cannot tell how hard a key is pressed: their loudness is the Touch setting. Only a MIDI keyboard sends real velocity.
- Notes are shortened to save download size: a key held with the pedal fades out after 8–12 seconds in the lower and middle range instead of ringing for half a minute as on a real piano.
- The sustain pedal is either down or up (no half-pedalling), and there is no soft or sostenuto pedal.
- Web MIDI is not available in Safari or on iPhone and iPad, so a MIDI keyboard cannot be connected there.
- WAV files can be made for recordings up to 5 minutes long; any recording (up to 30 minutes) can be downloaded as MIDI.
Privacy
Everything happens in your browser. What you enter or open here is not uploaded or stored by MySmartCoPilot. Downloads the piano sound from MySmartCoPilot the first time you play (about 1.9 MB, and 1.7 MB more if you choose a soft touch); then it works offline. What you play never leaves your device.
Frequently asked questions
Can I play this piano with my computer keyboard?
Yes. The lower letter row (Z S X D C …) plays one octave and the upper row (Q 2 W 3 E …) the next; the letters are printed on the piano keys. Use ← and → to move both rows up or down an octave, and hold Space for the sustain pedal.
How do I use the sustain pedal?
Hold Space, or press Sustain to keep the pedal down until you press it again. A MIDI keyboard’s own sustain pedal works too. Notes you release while the pedal is down keep ringing until it comes up.
Does it work on a phone or tablet?
Yes: tap with several fingers at once, or slide a finger along the keys for a glissando. Choose a Key size, and move along the keyboard with Lower / Higher or the slider under the keys. Turning the phone sideways shows more keys. On an iPhone or iPad, check the volume and the ring/silent switch if you hear nothing.
Can I connect a MIDI keyboard?
Yes, in Chrome, Edge and Opera on a computer or Android, and in Firefox on a computer: plug the keyboard in (pair a Bluetooth one in your system settings first) and press Connect a MIDI keyboard. Velocity and the sustain pedal come through. Safari, iPhone and iPad do not support Web MIDI.
How do I save what I played?
Press Record, play, and press Stop recording. Then download it as WAV (the sound, for sharing or a video) or MIDI (the notes, for a music program). The last recording also stays in this browser until you clear it.
Why does a key sound like a plain tone at first?
The piano recordings download when you play your first note. Keys near middle C arrive first; until a key’s recording is there, it plays a simple tone so it still responds. The status line above the keys shows the progress.
Can I use a recording made here in my own video or song?
The piano sound is the Salamander Grand Piano by Alexander Holm, shared under Creative Commons Attribution 3.0, which allows any use, commercial too, as long as the author is credited. So when you publish a recording made here, credit the piano sound, for example “Piano: Salamander Grand Piano by Alexander Holm (CC BY 3.0)”. Your own music is yours.
Is anything I play uploaded?
No. The piano runs in your browser; your playing, recordings and settings stay on this device. The only download is the piano sound itself, from MySmartCoPilot.