is the standard EADGBE tuning. Some other predefined tunings are
@code{guitar-open-g-tuning}, @code{mandolin-tuning} and
@code{banjo-open-g-tuning}. The predefined string tunings
-are found in @code{scm/tablature.scm}.
+are found in @file{scm/@/tablature@/.scm}.
A string tuning is a Scheme list of string pitches,
one for each string, ordered by string number from 1 to N,
@end lilypond
The default predefined fret diagrams are contained in the file
-@code{predefined-guitar-fretboards.ly}. Fret diagrams are
+@file{predefined@/-guitar@/-fretboards@/.ly}. Fret diagrams are
stored based on the pitches of a chord and the value of
@code{stringTunings} that is currently in use.
-@code{predefined-guitar-fretboards.ly} contains predefined
+@file{predefined@/-guitar@/-fretboards@/.ly} contains predefined
fret diagrams only for @code{guitar-tuning}. Predefined fret
diagrams can be added for other instruments or other tunings
by following the examples found in
-@code{predefined-guitar-fretboards.ly}.
+@file{predefined@/-guitar@/-fretboards@/.ly}.
Fret diagrams for the ukulele are contained in the file
-@code{predefined-ukulele-fretboards.ly}.
+@file{predefined@/-ukulele@/-fretboards@/.ly}.
@lilypond[verbatim, ragged-right, quote]
\include "predefined-ukulele-fretboards.ly"
@cindex adding custom fret diagrams
Fret diagrams can be added to the fret diagram table. To add a diagram,
-you must specify the chord for the diagram, the tuning to be used, and
-a definition for the diagram. The diagram definition can be either a
+you must specify the hash table for the diagram, the chord for the
+diagram, the tuning to be used, and
+a definition for the diagram. Normally, the hash table will be
+@var{default-fret-table}. The diagram definition can be either a
fret-diagram-terse definition string or a fret-diagram-verbose
marking list.
@lilypond[verbatim, ragged-right, quote]
\include "predefined-guitar-fretboards.ly"
-\storePredefinedDiagram #default-fret-table \chordmode { c:maj9 }
+\storePredefinedDiagram #default-fret-table
+ \chordmode { c:maj9 }
#guitar-tuning
#"x;3-2;o;o;o;o;"
@lilypond[verbatim, ragged-right, quote]
\include "predefined-guitar-fretboards.ly"
-\storePredefinedDiagram #default-fret-table \chordmode { c'' }
+\storePredefinedDiagram #default-fret-table
+ \chordmode { c'' }
#guitar-tuning
#(offset-fret 2 (chord-shape 'bes guitar-tuning))
% add some new chords based on the power chord shape
-\storePredefinedDiagram #default-fret-table \chordmode { f'' }
+\storePredefinedDiagram #default-fret-table
+ \chordmode { f'' }
#guitar-tuning
#(chord-shape 'powerf guitar-tuning)
-\storePredefinedDiagram #default-fret-table \chordmode { g'' }
+\storePredefinedDiagram #default-fret-table
+ \chordmode { g'' }
#guitar-tuning
#(offset-fret 2 (chord-shape 'powerf guitar-tuning))
@lilypondfile[verbatim,lilyquote,texidoc,doctitle]
{chordchanges-for-fretboards.ly}
+@lilypondfile[verbatim,lilyquote,texidoc,doctitle]
+{fretboards-alternate-tables.ly}
+
@seealso
Notation Reference:
Installed Files:
@file{ly/@/predefined@/-guitar@/-fretboards@/.ly},
-@file{ly/@/predefined@/-guitar@/-ninth@/-fretboards@/.ly}.
+@file{ly/@/predefined@/-guitar@/-ninth@/-fretboards@/.ly},
+@file{ly/@/predefined@/-ukulele@/-fretboards@/.ly}.
Snippets:
@rlsr{Fretted strings}.
@lilypond[quote,ragged-right,verbatim]
-\storePredefinedDiagram #default-fret-table <c e g c' e'>
+\storePredefinedDiagram #default-fret-table
+ <c e g c' e'>
#guitar-tuning
#"x;3-1-(;5-2;5-3;5-4;3-1-1-);"
<<
<g-\rightHandFinger #3 >
<c-\rightHandFinger #4 >
<c,-\rightHandFinger #1 e-\rightHandFinger #2
-g-\rightHandFinger #3 c-\rightHandFinger #4 >1
+ g-\rightHandFinger #3 c-\rightHandFinger #4 >1
@end lilypond
For convenience, you can abbreviate @code{\rightHandFinger} to something
@funindex \powerChords
@cindex power chords
+@cindex chords, power
Power chords and their symbols can be engraved in chord mode or as chord
constructs:
@end lilypond
@seealso
+Music Glossary:
+@rglos{power chord}.
+
Notation Reference:
@ref{Extended and altered chords},
@ref{Printing chord names}.
@c due to crazy intervals of banjo music, absolute pitch is recommended
-@lilypond[quote,ragged-right,fragment,verbatim]
+@lilypond[quote,ragged-right,verbatim]
\new TabStaff <<
\set TabStaff.tablatureFormat = #fret-number-tablature-format-banjo
\set TabStaff.stringTunings = #banjo-open-g-tuning