FRET / 042
journal

A word you can play.

Type a word. It becomes eight bars of one guitar line, drawn from a single hash: a key, a mode, a tempo, a position on the neck and a rhythm. Everything you see is drawn in this browser, and the play button plays the line through the speakers without a recording. Nothing is fetched and nothing is stored, and the same word on another machine gives the same sheet.

how it is made

The hand does not move: five frets on six strings in standard tuning, kept only where the note falls inside the key. That set is built first, so every note is reachable where the player is sitting, and a fret outside the position cannot appear because it was never a candidate.

Rhythm comes from a table of cells that each fill a bar of four four exactly, and the last bar is a fixed cadence on the tonic. A contour bends the walk up, down or over an arch, so the line ends instead of stopping.

Everything leaves as a tablature: six lines for the strings, the fret numbers on them, the rhythm above with stems, beams and dots. The same line also leaves as MusicXML, with the fingering carried note by note, for a reader who does not read tab and has a program that does.

what it is not

One voice, no chords, no rests, no ties across a bar line, no bends, no dynamics, no capo. Standard tuning in E, one position, frets up to twelve.

the read

title
-
key
-
tempo
-
position
-
notes
-
range
-
distinct pitches
-
largest leap
-
musicxml
-
sha256
-

take it

The sheet prints at a thousand pixels wide and stays vector. On a phone the same line is laid out two bars per row.

The same tab as text, to paste into a message.