version that you are working on. See TRANSLATION for details.
@end ignore
-@c \version "2.11.53"
+@c \version "2.11.61"
@node Fretted string instruments
@section Fretted string instruments
to fretted string instruments.
@cindex tablature
+@cindex tablature, guitar
+@cindex tablature, banjo
@cindex guitar tablature
+@cindex banjo tablature
@menu
* Common notation for fretted strings::
@node String number indications
@unnumberedsubsubsec String number indications
-@cindex String numbers
+@cindex string numbers
+@cindex string vs. fingering numbers
+@cindex fingering vs. string numbers
The string on which a note should be played may be indicated by
appending @code{\@var{number}} to a note inside a chord construct
@node Default tablatures
@unnumberedsubsubsec Default tablatures
-@cindex Tablatures, basic
-@cindex Tablatures, default
+
+@cindex tablatures, basic
+@cindex tablatures, default
+
+@funindex TabStaff
+@funindex TabVoice
Tablature notation is used for notating music for plucked string
instruments. Pitches are not denoted with note heads, but by
@end lilypond
@funindex minimumFret
+
@cindex fret
>>
@end lilypond
+@cindex harmonic indications in tablature notation
+@cindex tablature and harmonic indications
+@cindex slides in tablature notation
+@cindex tablature and slides
+
Harmonic indications and slides can be added to tablature
notation.
@node Custom tablatures
@unnumberedsubsubsec Custom tablatures
-@cindex Tablatures, custom
+
+@cindex tablatures, custom
+@cindex tablature, banjo
+@cindex tablature, mandolin
+@cindex tablature, bass guitar
+@cindex tablature, predefined string tunings
+@cindex fretted instruments, predefined string tunings
+@cindex predefined string tunings for fretted instruments
+
+@funindex StringTunings
LilyPond tabulature automatically calculates the fret for
a note based on the string to which the note is assigned.
@node Fret diagram markups
@unnumberedsubsubsec Fret diagram markups
+
@cindex fret diagrams
@cindex chord diagrams
+@cindex diagrams, fret
+@cindex diagrams, chord for fretted instruments
+@cindex fret diagrams, custom
+@cindex custom fret diagrams
Fret diagrams can be added to music as a markup to the desired
note. The markup contains information about the desired fret
>>
@end lilypond
+@cindex barre indications
+
Barre indications can be added to the diagram from
the fret-diagram markup string.
\clef "treble_8"
< f, c f a c' f'>1 ^\markup
\fret-diagram #"c:6-1-1;6-1;5-3;4-3;3-2;2-1;1-1;"
- < g, b, d g b' g'> ^\markup
+ < g, d g b d' g'> ^\markup
\fret-diagram #"c:6-1-3;6-3;5-5;4-5;3-4;2-3;1-3;"
}
>>
@end lilypond
+@cindex fret-diagram markup
+
+@funindex fret-diagram
+@funindex \fret-diagram
+
The size of the fret diagram, and the number of frets in the diagram
can be changed in the fret-diagram markup string.
\clef "treble_8"
< f, c f a c' f'>1 ^\markup
\fret-diagram #"s:1.5;c:6-1-1;6-1;5-3;4-3;3-2;2-1;1-1;"
- < g, b, d g b' g'> ^\markup
+ < g, b, d g b g'> ^\markup
\fret-diagram #"h:6;6-3;5-2;4-o;3-o;2-o;1-3;"
}
>>
>>
@end lilypond
+@cindex fret-diagram-terse markup
+
+@funindex fret-diagram-terse
+@funindex \fret-diagram-terse
+
The fret-diagram-terse markup string omits string numbers; the string
number is implied by the presence of semicolons. There is one semicolon
for each string in the diagram. The first semicolon corresponds to the
\clef "treble_8"
< f, c f a c' f'>1 ^\markup
\fret-diagram-terse #"1-(;3;3;2;1;1-);"
- < g, b, d g b' g'> ^\markup
+ < g, d g b d' g'> ^\markup
\fret-diagram-terse #"3-(;5;5;4;3;3-);"
}
>>
Other fret diagram properties must be adjusted using @code{\override} when using
the fret-diagram-terse markup.
+@cindex fret-diagram-verbose markup
+
+@funindex fret-diagram-verbose
+@funindex \fret-diagram-verbose
+
The fret-diagram-verbose markup string is in the format of a Scheme list. Each
element of the list indicates an item to be placed on the fret diagram.
(place-fret 1 1)
(barre 6 1 1)
)
- < g, b, d g b' g'> ^\markup
+ < g, b, d g b g'> ^\markup
\fret-diagram-verbose #'(
(place-fret 6 3 2)
(place-fret 5 2 1)
@end lilypond
@end ignore
+@cindex customized fret diagram
+@cindex fret diagram, customized
+@cindex diagram, fret, customized
+
+@funindex fret-diagram-interface
+
The graphical layout of a fret diagram can be customized according to
user preference through the properties of the @code{fret-diagram-interface}.
Details are found at @rinternals{fret-diagram-interface}. For a fret diagram
-markup , the interface properties belong to @code{Voice.TextScript}.
+markup, the interface properties belong to @code{Voice.TextScript}.
@snippets
@node Predefined fret diagrams
@unnumberedsubsubsec Predefined fret diagrams
+
+
@cindex fret diagrams
@cindex chord diagrams
+@funindex FretBoards
+@funindex stringTunings
+
Fret diagrams can be displayed using the @code{FretBoards} context. By
default, the @code{FretBoards} context will display fret diagrams that
are stored in a lookup table:
}
@end lilypond
+@cindex chord names with fret diagrams
+@cindex fret diagrams with chord names
+
+@funindex ChordNames
+@funindex chordmode
+@funindex \chordmode
+
It is common that both chord names and fret diagrams are displayed together.
This is achieved by putting a @code{ChordNames} context in parallel with
a @code{FretBoards} context and giving both contexts the same music.
>>
@end lilypond
+@cindex transposing fret diagrams
+@cindex fret diagrams, transposing
+@cindex diagrams, fret, transposing
+
Predefined fret diagrams are transposable, as long as a diagram for the
transposed chord is stored in the fret diagram table.
>>
@end lilypond
+@cindex fret diagrams, adding custom
+@cindex custom fret diagrams, adding
+@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 the
fret-diagram-terse definition string for the diagram.
>>
@end lilypond
+@cindex fretted instruments, chord shapes
+@cindex chord shapes for fretted instruments
+
+@funindex \addChordShape
+@funindex add ChordShape
+@funindex storePredefinedDiagram
+@funindex \storePredefinedDiagram
+
In addition to fret diagrams, LilyPond stores an internal list of chord
shapes. The chord shapes are fret diagrams that can be shifted along
the neck to different posistions to provide different chords. Chord
@node Automatic fret diagrams
@unnumberedsubsubsec Automatic fret diagrams
-@cindex fret diagrams
-@cindex chord diagrams
+
+@cindex fret diagrams, automatic
+@cindex chord diagrams, automatic
+@cindex automatic fret diagrams
+@cindex automatic chord diagrams
Fret diagrams can be automatically created from entered notes using the
@code{FretBoards} context. If no predefined diagram is available for
>>
@end lilypond
+@funindex predefinedFretboardsOff
+@funindex \predefinedFretboardsOff
+@funindex predefinedFretboardsOn
+@funindex \predefinedFretboardsOn
+
As no predefined diagrams are loaded by default, automatic calculation
of fret diagrams is the default behavior. Once default diagrams are
loaded, automatic calculation can be enabled and disabled with predefined
>>
@end lilypond
+@cindex fret diagrams, adding fingerings
+@cindex fingerings, adding to fret diagrams
+
Fingerings can be added to FretBoard fret diagrams.
@lilypond[quote, verbatim]
@node Right-hand fingerings
@unnumberedsubsubsec Right-hand fingerings
+@cindex fretted instruments, right hand fingerings
+@cindex fingerings, right hand for fretted instruments
+@cindex right hand fingerings for fretted instruments
+
+@funindex rightHandFinger
+@funindex \rightHandFinger
+
Right-hand fingerings @var{p-i-m-a} must be entered within a
chord construct @code{<>} for them to be printed in the score,
even when applied to a single note.
#(define RH rightHandFinger)
@end example
-@cindex fingerings, right hand, for guitar
-@cindex right hand fingerings for guitar
@snippets
@node Indicating position and barring
@unnumberedsubsubsec Indicating position and barring
+@cindex indicating position and barring for fretted instruments
+@cindex fretted instruments, indicating position and barring
+
This example demonstrates how to include guitar position and
barring indications.
@node Indicating harmonics and dampened notes
@unnumberedsubsubsec Indicating harmonics and dampened notes
+@cindex fretted instruments, dampened notes
+@cindex fretted instruments, harmonics
+@cindex dampened notes on fretted instruments
+@cindex harmonics on fretted instruments
+
Special note heads can be used to indicate dampened notes or
harmonics. Harmonics are normally further explained with a
text markup.
@node Banjo tablatures
@unnumberedsubsubsec Banjo tablatures
-@cindex Banjo tablatures
+
+@cindex banjo tablatures
+@cindex tablature, banjo
LilyPond has basic support for the five-string banjo. When making tablatures
for five-string banjo, use the banjo tablature format function to get
>>
@end lilypond
+@cindex banjo tunings
+@cindex tunings, banjo
+
+@funindex banjo-c-tuning
+@funindex banjo-modal-tuning
+@funindex banjo-open-d-tuning
+@funindex banjo-open-dm-tuning
+@funindex four-string-banjo
+
A number of common tunings for banjo are predefined in LilyPond:
@code{banjo-c-tuning} (gCGBD), @code{banjo-modal-tuning} (gDGCD),
@code{banjo-open-d-tuning} (aDF#AD) and @code{banjo-open-dm-tuning}