Setup instructions
If you're reading this on the live website, you don't need any of this — just allow MIDI access when your browser asks. These steps are only for running the tool offline, from a downloaded copy of the file.
- Open a terminal and go to the folder holding this file, e.g.
cd "/home/you/path/to/folder" - Start a local server:
python3 -m http.server 8420
Leave this terminal window open — closing it stops the server. - Open Chrome and go to:
http://localhost:8420/reverse-chord-dictionary.html
- Allow MIDI access when Chrome prompts you — it's a normal one-click popup.
- Pick your MIDI keyboard from the "Input" dropdown above and start playing.
- Open a terminal and go to the folder holding this file, e.g.
cd "/home/you/path/to/folder" - Start a local server:
python3 -m http.server 8420
Leave this terminal window open — closing it stops the server. - Open Firefox and go to:
http://localhost:8420/reverse-chord-dictionary.html
- Firefox will ask to install a "site permission add-on" for MIDI access. This is an official Mozilla mechanism, not a third-party extension — allow it.
- A second prompt may follow to actually grant MIDI access — allow that too. This should only happen once, ever, as long as you keep using the same
localhost:8420address. - Pick your MIDI keyboard from the "Input" dropdown above and start playing.
- If Python isn't already installed, download it from
python.org/downloads— during install, make sure "Add python.exe to PATH" is checked. - Open Command Prompt (search "cmd" in the Start menu).
- Go to the folder holding this file, e.g.
cd "C:\Users\YourName\Downloads"
- Start a local server (note:
python, notpython3, on Windows):python -m http.server 8420
Leave this window open — closing it stops the server. - Open Chrome and go to:
http://localhost:8420/reverse-chord-dictionary.html
- Allow MIDI access when Chrome prompts you.
- Pick your MIDI keyboard from the "Input" dropdown above and start playing.
- Open Terminal (search "Terminal" with Spotlight —
Cmd + Space). - Go to the folder holding this file, e.g.
cd ~/Downloads
- Start a local server (Macs come with Python 3 pre-installed):
python3 -m http.server 8420
Leave this Terminal window open — closing it stops the server. - Open Chrome and go to:
http://localhost:8420/reverse-chord-dictionary.html
- Allow MIDI access when Chrome prompts you.
- Pick your MIDI keyboard from the "Input" dropdown above and start playing.
Safari doesn't support the Web MIDI API at all, with no announced plans to add it — so on Mac, Chrome is the only reliable option for this tool.
Play a chord on your MIDI keyboard…