The YAML front matter at the top of every .tab file. The format rules and an
example are in tab_format.md; this page lists
every field. Check files with scripts/check_headers.py PATH....
YAML front matter at the top of a .tab file. Required fields produce a warning when missing. An optional field that is omitted means 'unknown'. capo, pitch and tuning may hold a default value (0, 0, standard) only while status.state is 'review' or 'incomplete' and a todo item says to check them.
| Field | Required | Type | Meaning |
|---|---|---|---|
title |
yes | string | Song title. Must match the part of the filename after ' - ' (or the whole filename if it has no artist). |
artist |
yes | string | Performer the song is credited to. Must match the part of the filename before ' - '. 'traditional' marks a folk song with no known author; its filename has no artist part. Examples: Guns N' Roses, traditional. |
composer |
no | string | Who wrote the music, if different from the artist or worth stating. |
lyricist |
no | string | Who wrote the lyrics, if different from the artist or worth stating. |
capo |
yes | integer ≥ 0 | Capo fret the tab is written for. 0 = no capo. The default 0 is allowed only with status 'review' or 'incomplete' and a todo item to check it. |
pitch |
yes | integer | Semitone offset of the whole guitar relative to the tuning, as if the capo were at this fret. -1 = every string one semitone down (e.g. Eb standard). 0 = no offset. The default 0 is allowed only with status 'review' or 'incomplete' and a todo item to check it. |
tuning |
yes | string | Tuning of the strings relative to each other, before applying pitch: 'standard', 'drop D', 'DADGAD', ... The default 'standard' is allowed only with status 'review' or 'incomplete' and a todo item to check it. Examples: standard, drop D, DADGAD. |
status |
yes | object | How far the tab is checked. 'review' and 'incomplete' must list the remaining work in todo; 'complete' must have an empty todo (the checker warns otherwise). |
source |
yes | list of Source entries | References the tab is based on - its source of truth. At least one entry; use a note (e.g. 'by ear from the studio recording') when there is no link. |
media |
no | list of Media entries | Recordings to listen or play along to, and tutorials. |
notes |
no | list of strings | Free-text remarks about the song or the tab. Remaining work belongs in status.todo instead. |
Fixes suggested by the checker:
title: add "title: artist: add "artist: composer: write the composer's name as textlyricist: write the lyricist's name as textcapo: add "capo: N" with the fret number, or "capo: 0" if played without capopitch: add "pitch: 0" if the song sounds as written, or "pitch: -1" etc. if all strings must be tuned down/up to match the recordingtuning: add "tuning: standard" or the tuning name (e.g. "tuning: drop D")status: add "status:" with "state: review" and a "todo:" list (or "state: complete" once a human checked the whole tab)source: add "source:" with an entry "- url: ", or "- note: by ear from media: write media as a list of entries starting with "- url: ..."notes: write notes as a list of lines "- ..."statusHow far the tab is checked. 'review' and 'incomplete' must list the remaining work in todo; 'complete' must have an empty todo (the checker warns otherwise).
| Field | Required | Type | Meaning |
|---|---|---|---|
state |
yes | one of the values below | Whether the tab is checked and whether anything is known to be missing or wrong. |
todo |
no | list of strings | What has to be done or checked for the tab to be complete. |
state values:
complete (Complete): Checked by a human; nothing known to be missing or wrong.incomplete (Incomplete): Parts are missing or uncertain; listed in todo.review (Review): Filled with default values or not yet checked by a human; what to check is listed in todo.Fixes suggested by the checker:
state: set "state: complete", "state: incomplete" or "state: review"todo: list each missing or uncertain part as a line "- ..."source entriesOne reference the tab is based on. Needs a url or a note; the other fields are optional.
At least one of url, note must be given.
| Field | Required | Type | Meaning |
|---|---|---|---|
url |
one of | string | Link to the source. |
author |
no | string | Who made the source (e.g. a user name on a tab site). |
used |
no | list of the values below | Which parts of this source the tab uses, if known. |
changes |
no | one of the values below | How much the used parts were changed compared to this source, if known. |
note |
one of | string | Free text about the source; describes it when there is no link. |
used values:
chords (Chords): Chord names and where they change.lyrics (Lyrics): The song text.tab (Tab): Tablature / fingerstyle notation.solo (Solo): A solo part.structure (Structure): Order of sections.inspiration (Inspiration): General idea or arrangement approach; nothing copied directly.changes values:
none (None): Taken as-is, only reformatted.minor (Minor): Some chords, timing or lyrics corrected.major (Major): Substantially reworked; the source was a starting point.Fixes suggested by the checker:
url: put the link in "url:"author: write the author's name as textused: open the source and list what you took from it, e.g. "used: [chords, lyrics]" (values: chords, lyrics, tab, solo, structure, inspiration)changes: compare the tab with the source and set "changes: none", "minor" or "major"note: write the note as textmedia entriesOne recording or tutorial. All fields are optional. capo, pitch and tuning are set only when stated for this recording; omitted means unknown, not 'same as the tab'.
| Field | Required | Type | Meaning |
|---|---|---|---|
url |
no | string | Link to the recording. |
type |
no | one of the values below | Whether it has moving picture. |
setting |
no | one of the values below | Where it was performed (live is the counterpart of studio). |
performer |
no | one of the values below | Who performs it. |
release |
no | one of the values below | Who recorded and published it. |
content |
no | one of the values below | Whether it is a performance of the song or a lesson. |
capo |
no | integer ≥ 0 | Capo used in this recording, if stated. |
pitch |
no | integer | Semitone offset used in this recording, if stated. |
tuning |
no | string | String tuning used in this recording, if stated. |
note |
no | string | Free text, e.g. how this recording differs from the tab. |
type values:
audio (Audio): Sound only (or a static picture).video (Video): Has moving picture.setting values:
studio (Studio): Recorded in a studio / produced recording.live (Live): Recorded at a live performance.performer values:
artist (Artist): Performed by the song's artist.other (Other): Performed by someone else (a cover).release values:
official (Official): Published by the performer or their label.unofficial (Unofficial): E.g. a fan recording on a phone.content values:
performance (Performance): The song being performed.tutorial (Tutorial): A lesson on how to play it.Fixes suggested by the checker:
url: put the link in "url:"type: open the link and set "type: audio" (sound only) or "type: video"setting: open the link and set "setting: studio" or "setting: live"performer: open the link and set "performer: artist" or "performer: other" (cover)release: open the link and set "release: official" or "release: unofficial" (e.g. fan recording)content: set "content: performance" or "content: tutorial"capo: write the capo fret as a whole numberpitch: write the pitch as a whole number, e.g. -1tuning: write the tuning name as textnote: write the note as text