1234567890-=
qwertyuiop[]
asdfghjkl;'\
zxcvbnm,./
Connect to MIDI device (Web MIDI)



Configuration messages



What is this?

This is a little web app that turns a computer keyboard (⌨️) into a musical keyboard (🎹) with a layout similar to the fretboard on a stringed instrument like a guitar (🎸), bass, or ukulele. More specifically, it turns it into a MIDI controller, a “MIDI keyboard” or “MIDI guitar” if you will.

How do I use it?

If you press the keys on your keyboard (⌨️), the web app should respond by highlighting the keys you pressed, and displaying the chord (see the next section). Although the layout on-screen is QWERTY, the way I've coded it should make it work with any keyboard layout; the "Q" key on-screen will always correspond to the top-left letter key on your keyboard, even if you're using AZERTY for instance.

For the moment, there is no synthesiser built into this web app (I'll fix that eventually!), so to actually use it to get sounds, you'll need to hook it up to some kind of MIDI synthesiser. Here are a few ways you can do that.

The “Send Program Change”, “Send General MIDI Reset” and “Set up Yamaha XG amp simulator effect” buttons are things I added for my convenience when using General MIDI devices. Most MIDI synths these days don't support General MIDI, let alone Yamaha XG, so those buttons won't be useful for those. If you don't know what these are, don't worry about it.

When I try to play certain chord shapes, some keys are ignored. Why?

(I'm not an expert, take the following explanation with a grain of salt:) Computer keyboards (⌨️) typically wire up the keys in a matrix (think rows and columns) that allow them to scan for held keys without needing every single key to be individually connected to the controller. Depending on exactly how this matrix is wired, it can be impossible to distinguish certain key combinations from eachother, unless isolation diodes are added. Unfortunately, most computer keyboards omit these diodes as a cost-saving measure. As a result, when the keyboard isn't sure which new key has been pressed, it will usually ignore it. There's nothing this web app can do about this, it's a fundamental hardware limitation of the keyboard you are using. Not all keyboards have this problem, some have “n-key rollover”.

What's that 2-4-4-x thing?

This is a shorthand for writing guitar chords that I'm fond of. It's essentially a condensed, horizontal form of the familiar guitar tablature notation. I don't know if there's a well-known name for this notation; I have found one website that calls it “short notated guitar chords”.

In this notation, the fretted notes on each string are listed from left to right, with the lowest string first, and muted strings are notated with an x. For example, the open A chord on a guitar in E standard looks like x-0-2-2-2-0: the low E is muted (x), the A and high E are open (0), and the D, G and B strings are fretted at the 2nd fret (2).

Who made this?

This is one of hikari_no_yume's many projects, and not the first or last that is music-related. I wrote the initial version of this thing on 2026-03-24 when I was visiting friends in another country, to cope with the fact I didn't have my guitar with me (it's like a part of your body, you know). I wrote this FAQ and finally put this thing on my website on 2026-05-02.