F-Keys\Tools\keyjockey _
← Back Forward → ↑ Up Home Status Log
Address 📁 F-Keys\Tools\keyjockey

keyjockey

Tablature in, notes out.

Installnpm install keyjockey
LicenceMIT
Tunings8, with capo offsets
Sourcevince-gonzalez/f-keys

What it does

Reads guitar tablature and converts notes. Eight tunings, capo offsets, MIDI and frequency.

npm install keyjockey
keyjockey.parseTab(tab, "Standard (EADGBe)", 0).notes;
keyjockey.parseTab(tab, "Drop D", 2).notes;      // capo 2
keyjockey.midiToName(60);                        // "C4"
keyjockey.nameToFreq("A4");                      // 440

Lifted, not rewritten

This is the same reader Key-J runs in the browser, and the Python half is on PyPI as keyj. The npm package is generated from app.html at build time rather than written a third time, and the build fails if the app moves and the package does not.

Key-J has already shipped three defects that existed only because two copies of one thing drifted. A third copy would have been a third chance.

Errors come back, they are not thrown

A tab in a tuning that does not exist returns .error and no notes. Text that is not tablature returns zero notes rather than guessing at one.

1 item Log  ·  Status F-Keys