1. Home
  2. Instruments
  3. Virtual Guitar

Virtual Guitar

A playable guitar fretboard with a realistic plucked-string sound. Tap frets to play notes, pick a chord to see its shape and strum it, or show a scale across the whole neck.

  • No registration
  • Free

01How to use it

  1. Tap or click a fret to pluck it.
  2. Pick a root and chord shape; press Strum, swipe across the strum area, or press Space.
  3. Choose a scale and key to light up its notes across the neck.
  4. Use number keys 1–6 to pluck single strings of the chord.

02What it is good for

  • Learning chord shapes and hearing how they sound.
  • Finding scale patterns on the neck.
  • Trying out a guitar part without a guitar at hand.

03How it works

The sound uses the Karplus–Strong algorithm: a short burst of noise circulates in a delay line whose length sets the pitch, losing high frequencies each round — much like a real plucked string. The delay is pitch-corrected so every fret is in tune.

Fret spacing follows the twelfth-root-of-two rule of real guitars, so the frets get closer towards the body.

All instrument sounds are synthesised in your browser with the Web Audio API — no sound samples are downloaded. Strings use the Karplus–Strong plucked-string model, the piano voice adds slightly stretched partials with individual decay, and drums are built from filtered noise and pitch sweeps. A limiter keeps the total volume in a safe range even when many notes sound at once.

04Troubleshooting

  • If there is a delay between pressing and hearing, use wired headphones instead of Bluetooth and close other audio apps.
  • Click into the instrument first so that the computer keyboard controls it.
  • On phones, turn off silent mode on iPhone (the side switch) if you hear nothing.

05Browser and device support

Works in current Chrome, Edge, Firefox and Safari on desktop and touch screens, with multi-touch on phones and tablets. A MIDI keyboard needs Web MIDI: supported in Chrome and Edge; Firefox offers it only through a site-permission add-on (not tested here); Safari does not support it.

06Privacy

This tool does not use the microphone. Sounds are generated by your browser, and any settings or practice history are saved only in this browser (local storage) on a separate tool address.

Use “Delete data saved in this browser” at the bottom of the page to remove everything Music Lab has stored on this device.

07Limits

  • The synthesised sounds are good for practice and learning, but they are not recordings of real instruments.
  • Audio latency depends on the device and operating system; some older Android phones have noticeable delay.

08Questions and answers

Are the chord shapes the only possible fingerings?

No — they are common shapes (open and barre). The Guitar Chord Chart shows several fingerings per chord.

Is Music Lab free? Do I need an account?

Yes, every tool is free and works without registration. The site is funded by advertising shown on the article pages — never inside the tools themselves.

Related tools