Virtual Guitar
A realistic browser guitar with 6 tuned strings and 12 frets. Pluck notes one at a time, drag across strings to strum, or hit chord buttons for E, A, D, G, C, Am, Em, Dm.
About đ¸ Virtual Guitar
Virtual Guitar is a fully interactive browser guitar built entirely on the Web Audio API â no audio files, no plugins, and no download. It features six strings tuned to standard guitar tuning (low to high: E2, A2, D3, G3, B3, E4) laid across twelve frets on a rosewood-textured fretboard. Play in one of two modes. Pluck Mode: click any string at any fret position to play that individual note. The pitch is calculated using the equal-tempered scale â each fret raises the note by one semitone. Strum Mode: hold the mouse button or finger down and drag vertically across the strings to strum. Faster strums produce louder sounds. You can also play chords instantly by clicking any of the eight preset chord buttons: E, A, D, G, C, Am, Em, and Dm. Each chord is strummed with a small delay between strings to sound like a real guitar strum. The synthesis is designed to model an acoustic guitar. Each pluck combines a filtered sawtooth wave with sine wave harmonics at multiples of the fundamental frequency, plus a small pitch bend on the attack and a lowpass filter that closes down over the two-second decay â creating that warm, wooden sound of a plucked string. Strings visibly vibrate in a sine-wave pattern when plucked, with amplitude decaying over time. The 3rd, 5th, 7th, 9th, and 12th frets are marked with inlay dots like a real guitar. Works on mouse and touchscreens.
- â 100% free to play
- â No download or installation
- â No account or sign-up needed
- â Mobile and touch friendly
- â Works on all modern browsers