← Back to Online Piano

Virtual Instruments

▶ Open Online PianoBrowse Music Sheets

Explore the Virtual Instruments

The online piano gives you one keyboard with many voices. Instead of loading a separate app for every instrument, you press a single SOUND button in the toolbar and the same keys are re-tuned to a new timbre. The layout, the note positions, and the way you play stay identical, so a melody you learned on the grand piano transfers instantly to the harp, the organ, or the music box.

Every voice on this page is generated live in your browser, so there is nothing to download and no waiting for large audio files. You can play with the on-screen keys, tap them on a touch screen, or use your computer keyboard. If you want to know which physical key maps to which note, the piano keys guide explains the layout, and you can practice any voice against the music sheets.

Grand Piano and Upright Piano

The grand and upright are the same instrument family built in two different shapes. In a grand piano the strings and soundboard lie flat and horizontal, which gives the strings more length and room to resonate. The result is a broad, open tone with a long sustain and a wide dynamic range, which is why grands are used on concert stages and in recordings.

An upright piano stands vertically to save space, with shorter strings and a smaller soundboard. Its tone is more compact and intimate, with a slightly quicker decay. That warmer, closer character makes the upright the classic choice for home practice, small rooms, and folk or pop songwriting. Switch between the two sounds and listen for the longer, more resonant tail on the grand.

Electric Piano

The electric piano voice models the classic electromechanical instruments of the 1960s and 1970s, chiefly the Fender Rhodes and the Wurlitzer. A Rhodes strikes small metal tines to produce a soft, bell-like tone that sweetens into a warm bloom when played harder. A Wurlitzer uses thin metal reeds and has a barkier, more reedy edge.

Because of that smooth, rounded character, the electric piano suits soul, jazz, funk, R&B, and mellow pop. It sits comfortably under a vocal and works well for chord comping, so it is a good voice to explore when you want a laid-back sound rather than the bright attack of an acoustic piano.

Church Organ and Harpsichord

The church organ (pipe organ) makes sound by pushing air through pipes of different sizes. A note holds at full volume for as long as you keep the key down, with no natural fade, which gives the organ its powerful, sustained, and majestic quality heard in cathedrals and in classical works by composers such as Bach. Hold a chord and notice how the tone stays steady instead of decaying like a piano.

The harpsichord predates the piano and works differently from both the organ and the piano: pressing a key causes a small quill to pluck the string rather than a hammer striking it. This produces a bright, crisp, plucked sound with almost no volume control from your fingers. It was the keyboard of the Baroque era and gives music from that period its distinctive sparkle.

Guitars: Acoustic and Flamenco

When you trigger a guitar sound from a keyboard, each key plays a single plucked string note. You are not strumming a physical fretboard, so you build chords by pressing several keys at once and create rhythm by the timing of your key presses. This makes keyboard-driven guitar great for arpeggios, picked melodies, and slow chord patterns.

The acoustic guitar voice has a full, woody tone with a natural decay, well suited to folk, ballads, and singer-songwriter styles. The flamenco and classical guitar voice, played on nylon strings, is softer, rounder, and warmer, and it fits Spanish, Latin, and classical pieces. Try playing a broken chord one note at a time to hear each style at its best.

Harp and Music Box

The harp produces a bright, shimmering tone with a gentle, ringing decay. Because harp notes ring on and blend together, it is ideal for flowing arpeggios and cascading runs; play notes in quick succession up the keyboard for that classic sweeping effect.

The music box has a delicate, tinkling, bell-like sound with a short, pure tone, produced in real instruments by a rotating cylinder plucking tuned metal teeth. Its fragile, nostalgic character suits simple lullabies and gentle single-note melodies. Both voices are quiet and expressive, so they work beautifully for calm, atmospheric playing rather than loud, driving music.

How Web Audio Synthesizes These Sounds

These instruments are not recordings. They are created in real time by the Web Audio API, a sound engine built into modern browsers. When you press a key, the browser generates one or more tones at the correct pitch using oscillators, then shapes them so they sound musical.

Two ingredients do most of the work. First, the waveform and its harmonics set the basic color of the sound, so a smooth tone reads as a flute-like voice while a richer, brighter mix reads as an organ or harpsichord. Second, an envelope controls how the note rises and falls over time: a sharp attack and quick decay give a plucked, percussive feel like a guitar or music box, while a slow attack and long sustain give the held quality of an organ. Because everything is calculated on the fly, the page stays small, loads fast, and responds the instant you press a key, with no audio files to fetch.

How to Switch Instruments and Play

Getting from one voice to another takes only a moment:

A good way to learn the differences is to play the same short phrase through several instruments in a row. Pick a simple tune from the music sheets, check the note positions on the piano keys page, and cycle through the voices on the online piano to hear how each one reshapes the melody.