1 @c -*- coding: utf-8; mode: texinfo; -*-
3 Translation of GIT committish: FILL-IN-HEAD-COMMITTISH
5 When revising a translation, copy the HEAD committish of the
6 version that you are working on. See TRANSLATION for details.
11 @node Fretted string instruments
12 @section Fretted string instruments
14 @lilypondfile[quote]{fretted-headword.ly}
16 This section discusses several aspects of music notation that are unique
17 to fretted string instruments.
20 @cindex guitar tablature
23 * Common notation for fretted strings::
28 @node Common notation for fretted strings
29 @subsection Common notation for fretted strings
31 This section discusses common notation that is unique
32 to fretted string instruments.
35 * References for fretted strings::
36 * String number indications::
37 * Default tablatures::
39 * Fret diagram markups::
40 * Predefined fret diagrams::
41 * Automatic fret diagrams::
42 * Right-hand fingerings::
45 @node References for fretted strings
46 @subsubsection References for fretted strings
48 Music for fretted string instruments is normally notated on
49 a single staff, either in traditional music notation or in
50 tablature. Sometimes the two types are combined, and it is
51 especially common in popular music to use chord diagrams above
52 a staff of traditional notation. The guitar and the banjo are
53 transposing instruments, sounding an octave lower than written.
54 Scores for these instruments should use the @code{"treble_8"} clef.
55 Some other elements pertinent to fretted string instruments
56 are covered elsewhere:
59 @item Fingerings are indicated with @ref{Fingering instructions}.
61 @item Instructions for @notation{Laissez vibrer} ties
62 as well as ties on arpeggios and tremolos is described in
65 @item Instructions on handling multiple voices is described
66 in @ref{Collision resolution}.
73 @ref{Instrument names},
74 @ref{Writing music in parallel},
75 @ref{Fingering instructions},
78 @ref{List of articulations},
81 @node String number indications
82 @subsubsection String number indications
84 @cindex String numbers
86 The string on which a note should be played may be indicated by
87 appending @code{\@var{number}} to a note inside a chord construct
90 @warning{String numbers @strong{must} be defined inside a chord
91 construct even if there is only a single note.}
93 @lilypond[verbatim,quote,relative=0]
99 When fingerings and string indications are used together, their
100 placement is controlled by the order in which the two items appear
103 @lilypond[verbatim,quote,relative=1]
111 @lilypondfile[verbatim,lilyquote,texidoc,doctitle]
112 {controlling-the-placement-of-chord-fingerings.ly}
114 @lilypondfile[verbatim,lilyquote,texidoc,doctitle]
115 {allowing-fingerings-to-be-printed-inside-the-staff.ly}
120 @ref{Fingering instructions}.
123 @rlsr{Fretted strings}.
126 @rinternals{StringNumber},
127 @rinternals{Fingering}.
130 @node Default tablatures
131 @subsubsection Default tablatures
132 @cindex Tablatures, basic
133 @cindex Tablatures, default
135 Tablature notation is used for notating music for plucked string
136 instruments. Pitches are not denoted with note heads, but by
137 numbers indicating on which string and fret a note must be played.
138 LilyPond offers limited support for tablature.
140 The string number associated with a note is given as a backslash
141 followed by a number. By default, string 1 is the highest,
142 and the tuning defaults to the standard guitar tuning (with 6 strings).
143 The notes are printed as tablature, by using @code{TabStaff} and
144 @code{TabVoice} contexts
146 @lilypond[quote,ragged-right,fragment,verbatim]
153 @funindex minimumFret
157 When no string is specified for a note, the note is assigned to
158 the lowest string that can generate the note with a fret number
159 greater than or equal to the value of @code{minimumFret}.
160 The default value for @code{minimumFret} is 0.
163 @lilypond[quote,ragged-right,verbatim]
165 \new Staff \relative c {
170 \new TabStaff \relative c {
172 \set TabStaff.minimumFret = #5
180 @lilypondfile[verbatim,lilyquote,texidoc,doctitle]
181 {stem-and-beam-behavior-in-tablature.ly}
183 @lilypondfile[verbatim,lilyquote,texidoc,doctitle]
184 {polyphony-in-tablature.ly}
192 @rlsr{Fretted strings}.
195 @rinternals{TabNoteHead},
196 @rinternals{TabStaff},
197 @rinternals{TabVoice},
202 Chords are not handled in a special way, and hence the automatic
203 string selector may easily select the same string for two notes in
206 In order to handle @code{\partcombine}, a @code{TabStaff} must use
207 specially-created voices:
209 @lilypond[quote,ragged-right,verbatim]
210 melodia = \partcombine { e4 g g g }{ e4 e e e }
213 \new TabVoice = "one" s1
214 \new TabVoice = "two" s1
215 \new TabVoice = "shared" s1
216 \new TabVoice = "solo" s1
223 @node Custom tablatures
224 @subsubsection Custom tablatures
225 @cindex Tablatures, custom
227 LilyPond tabulature automatically calculates the fret for
228 a note based on the string to which the note is assigned.
229 In order to do this, the tuning of the strings must be
230 specified. The tuning of the strings is given in the
231 @code{StringTunings} property.
233 LilyPond comes with predefined string tunings for banjo, mandolin,
234 guitar and bass guitar. Lilypond automatically sets the correct
235 transposition for predefined tunings. The following example is
236 for bass guitar, which sounds an octave lower than written.
238 @lilypond[quote,ragged-right,verbatim]
247 \set TabStaff.stringTunings = #bass-tuning
255 The default string tuning is @code{guitar-tuning}, which
256 is the standard EADGBE tuning. Some other predefined tunings are
257 @code{guitar-open-g-tuning}, @code{mandolin-tuning} and
258 @code{banjo-open-g-tuning}. The predefined string tunings
259 are found in @code{scm/output-lib.scm}.
261 A string tuning is a Scheme list of string pitches,
262 one for each string, ordered from the bottom to the
263 top of the tablature staff.
264 This ordinarily results in ordering from lowest pitch to highest
265 pitch, but some instruments (e.g. ukulele) do not have strings
268 A string pitch in a string tuning list is the pitch difference of
269 middle C from the open string measured in semitones. The pitch must
270 be an integer. Lilypond calculates the actual pitch of the string by
271 adding the string tuning pitch to the actual pitch for middle C.
273 LilyPond automatically calculates the number of strings in the
274 @code{TabStaff} as the number of elements in @code{stringTunings}.
276 Any desired string tuning can be created. For example, we can
277 define a string tuning for a four-string instrument with pitches
281 @lilypond[quote,ragged-right,fragment,verbatim]
283 \set TabStaff.stringTunings = #'(-5 -10 -15 -20)
285 a,4 c' a e' e c' a e'
293 @file{scm/output-lib.scm}.
296 @rlsr{Fretted strings}.
299 @rinternals{Tab_note_heads_engraver}.
303 No guitar special effects have been implemented.
305 @node Fret diagram markups
306 @subsubsection Fret diagram markups
307 @cindex fret diagrams
308 @cindex chord diagrams
310 Fret diagrams can be added to music as a markup to the desired
311 note. The markup contains information about the desired fret
312 diagram. There are three different fret-diagram markup
313 interfaces: standard, terse, and verbose. The three interfaces
314 produce equivalent markups, but have varying amounts of
315 information in the markup string. Details about the markup
316 interfaces are found at @ref{Text markup commands}.
318 The standard fret diagram markup string indicates the string
319 number and the fret number for each dot to be placed on the string.
320 In addition, open and unplayed (muted) strings can be indicated.
322 @lilypond[quote, verbatim]
324 \context ChordNames {
331 < c e g c' e' > 1 ^\markup
332 \fret-diagram #"6-x;5-3;4-2;3-o;2-1;1-o;"
333 < d a d' f'> ^\markup
334 \fret-diagram #"6-x;5-x;4-o;3-2;2-3;1-1;"
339 Barre indications can be added to the diagram from
340 the fret-diagram markup string.
342 @lilypond[quote, verbatim]
344 \context ChordNames {
351 < f, c f a c' f'>1 ^\markup
352 \fret-diagram #"c:6-1-1;6-1;5-3;4-3;3-2;2-1;1-1;"
353 < g, b, d g b' g'> ^\markup
354 \fret-diagram #"c:6-1-3;6-3;5-5;4-5;3-4;2-3;1-3;"
359 The size of the fret diagram, and the number of frets in the diagram
360 can be changed in the fret-diagram markup string.
362 @lilypond[quote, verbatim]
364 \context ChordNames {
371 < f, c f a c' f'>1 ^\markup
372 \fret-diagram #"s:1.5;c:6-1-1;6-1;5-3;4-3;3-2;2-1;1-1;"
373 < g, b, d g b' g'> ^\markup
374 \fret-diagram #"h:6;6-3;5-2;4-o;3-o;2-o;1-3;"
379 The number of strings in a fret diagram can be changed to accomodate
380 different instruments such as banjos and ukeleles with the fret-diagram
383 @lilypond[quote, verbatim]
385 \context ChordNames {
391 %% A chord for ukelele
392 a'1 ^\markup \fret-diagram #"w:4;4-2-2;3-1-1;2-o;1-o;"
397 Fingering indications can be added, and the location of fingering labels
398 can be controlled by the fret-diagram markup string.
400 @lilypond[quote, verbatim]
402 \context ChordNames {
409 < c e g c' e' > 1 ^\markup
410 \fret-diagram #"f:1;6-x;5-3-3;4-2-2;3-o;2-1-1;1-o;"
411 < d a d' f'> ^\markup
412 \fret-diagram #"f:2;6-x;5-x;4-o;3-2-2;2-3-3;1-1-1;"
417 Dot radius and dot position can be controlled with the fret-diagram
420 @lilypond[quote, verbatim]
422 \context ChordNames {
429 < c e g c' e' > 1 ^\markup
430 \fret-diagram #"d:0.35;6-x;5-3;4-2;3-o;2-1;1-o;"
431 < d a d' f'> ^\markup
432 \fret-diagram #"p:0.2;6-x;5-x;4-o;3-2;2-3;1-1;"
437 The fret-diagram-terse markup string omits string numbers; the string
438 number is implied by the presence of semicolons. There is one semicolon
439 for each string in the diagram. The first semicolon corresponds to the
440 highest string number and the last semicolon corresponds to the first string.
441 Mute strings, open strings, and fret numbers can be indicated.
443 @lilypond[quote, verbatim]
445 \context ChordNames {
452 < c e g c' e' > 1 ^\markup
453 \fret-diagram-terse #"x;3;2;o;1;o;"
454 < d a d' f'> ^\markup
455 \fret-diagram-terse #"x;x;o;2;3;1;"
460 Barre indicators can be included in the fret-diagram-terse markup string.
462 @lilypond[quote, verbatim]
464 \context ChordNames {
471 < f, c f a c' f'>1 ^\markup
472 \fret-diagram-terse #"1-(;3;3;2;1;1-);"
473 < g, b, d g b' g'> ^\markup
474 \fret-diagram-terse #"3-(;5;5;4;3;3-);"
479 Fingering indications can be included in the fret-diagram-terse markup string.
481 @c Need to use override to enable fingerings to show this -- can we do so?
482 @lilypond[quote, verbatim]
484 \context ChordNames {
490 \override Voice.TextScript
491 #'fret-diagram-details #'finger-code = #'below-string
493 < c e g c' e' > 1 ^\markup
494 \fret-diagram-terse #"x;3-3;2-2;o;1-1;o;"
495 < d a d' f'> ^\markup
496 \fret-diagram-terse #"x;x;o;2-2;3-3;1-1;"
501 Other fret diagram properties must be adjusted using @code{\override} when using
502 the fret-diagram-terse markup.
504 The fret-diagram-verbose markup string is in the format of a Scheme list. Each
505 element of the list indicates an item to be placed on the fret diagram.
507 @lilypond[quote, verbatim]
508 << \context ChordNames {
515 < c e g c' e' > 1 ^\markup
516 \fret-diagram-verbose #'(
524 < d a d' f'> ^\markup
525 \fret-diagram-verbose #'(
537 Fingering indications and barres can be included in a
538 fret-diagram-verbose markup string.
540 @c \override is necessary to make fingering visible
541 @lilypond[quote, verbatim]
543 \context ChordNames {
550 \override Voice.TextScript
551 #'fret-diagram-details #'finger-code = #'below-string
553 < f, c f a c' f'>1 ^\markup
554 \fret-diagram-verbose #'(
563 < g, b, d g b' g'> ^\markup
564 \fret-diagram-verbose #'(
576 All other fret diagram properties must be adjusted using @code{\override}
577 when using the fret-diagram-verbose markup.
580 The following example shows the three fret-diagram markup
581 interfaces, along with examples of common tweaks. For example,
582 the size of the verbose fret diagram is reduced to 0.75, and the
583 finger indications are specified to appear below the diagram. The
584 terse diagram includes tweaks to specify placement of finger code
587 @lilypond[verbatim,ragged-right,quote]
590 d^\markup \fret-diagram #"6-x;5-x;4-o;3-2;2-3;1-2;"
592 fis^\markup \override #'(size . 0.75) {
593 \override #'(finger-code . below-string) {
594 \fret-diagram-verbose #'((place-fret 6 2 1) (barre 6 1 2)
603 c^\markup \override #'(dot-radius . 0.35) {
604 \override #'(finger-code . in-dot) {
605 \override #'(dot-color . white) {
606 \fret-diagram-terse #"x;3-1-(;5-2;5-3;5-4;3-1-);"
615 The graphical layout of a fret diagram can be customized according to
616 user preference through the properties of the @code{fret-diagram-interface}.
617 Details are found at @rinternals{fret-diagram-interface}. For a fret diagram
618 markup , the interface properties belong to @code{Voice.TextScript}.
622 @lilypondfile[verbatim,lilyquote,texidoc,doctitle]
623 {customizing-markup-fret-diagrams.ly}
629 @ref{Text markup commands}.
632 @rlsr{Fretted strings}.
635 @rinternals{fret-diagram-interface}.
637 @node Predefined fret diagrams
638 @subsubsection Predefined fret diagrams
639 @cindex fret diagrams
640 @cindex chord diagrams
642 Fret diagrams can be displayed using the @code{FretBoards} context. By
643 default, the @code{FretBoards} context will display fret diagrams that
644 are stored in a lookup table:
646 @lilypond[verbatim, ragged-right, quote]
647 \include "predefined-guitar-fretboards.ly"
648 \context FretBoards {
655 The default predefined fret diagrams are contained in the file
656 @code{predefined-guitar-fretboards.ly}. Fret diagrams are
657 stored based on the pitches of a chord and the value of
658 @code{stringTunings} that is currently in use.
659 @code{predefined-guitar-fretboards.ly} contains predefined
660 fret diagrams only for @code{guitar-tuning}. Predefined fret
661 diagrams can be added for other instruments or other tunings
662 by following the examples found in
663 @code{predefined-guitar-fretboards.ly}.
665 Chord pitches can be entered
666 either as simultaneous music or using chord mode (see
667 @ref{Chord mode overview}).
669 @lilypond[verbatim, ragged-right,quote]
670 \include "predefined-guitar-fretboards.ly"
671 \context FretBoards {
677 It is common that both chord names and fret diagrams are displayed together.
678 This is achieved by putting a @code{ChordNames} context in parallel with
679 a @code{FretBoards} context and giving both contexts the same music.
681 @lilypond[verbatim, ragged-right, quote]
682 \include "predefined-guitar-fretboards.ly"
683 mychords = \chordmode{
688 \context ChordNames {
691 \context FretBoards {
697 Predefined fret diagrams are transposable, as long as a diagram for the
698 transposed chord is stored in the fret diagram table.
700 @lilypond[verbatim, ragged-right, quote]
701 \include "predefined-guitar-fretboards.ly"
702 mychords = \chordmode{
708 \transpose c e { \mychords}
711 \context ChordNames {
714 \context FretBoards {
721 The predefined fret diagram table contains seven chords (major, minor,
722 augmented, diminished, dominant seventh, major seventh, minor seventh)
723 for each of 17 keys. A complete list of the predefined fret diagrams is
724 shown in @ref{Predefined fretboard diagrams}. If there is no entry in
725 the table for a chord, the FretBoards engraver will calculate a
726 fret-diagram using the automatic fret diagram functionality described in
727 @ref{Automatic fret diagrams}.
729 @lilypond[verbatim, ragged-right, quote]
730 \include "predefined-guitar-fretboards.ly"
731 mychords = \chordmode{
736 \context ChordNames {
739 \context FretBoards {
745 Fret diagrams can be added to the fret diagram table. To add a diagram,
746 you must specify the chord for the diagram, the tuning to be used, and the
747 fret-diagram-terse definition string for the diagram.
749 @lilypond[verbatim, ragged-right, quote]
750 \include "predefined-guitar-fretboards.ly"
752 \storePredefinedDiagram \chordmode {c:9}
754 #"x;3-2;2-1;3-3;3-4;x;"
756 mychords = \chordmode{
761 \context ChordNames {
764 \context FretBoards {
770 Different fret diagrams for the same chord name can be stored using different
773 @lilypond[verbatim, ragged-right, quote]
774 \include "predefined-guitar-fretboards.ly"
776 \storePredefinedDiagram \chordmode {c'}
778 #(offset-fret 2 (chord-shape 'bes))
780 mychords = \chordmode{
785 \context ChordNames {
788 \context FretBoards {
794 In addition to fret diagrams, LilyPond stores an internal list of chord
795 shapes. The chord shapes are fret diagrams that can be shifted along
796 the neck to different posistions to provide different chords. Chord
797 shapes can be added to the internal list and then used to define
798 predefined fret diagrams.
800 @lilypond[verbatim, ragged-right, quote]
801 \include "predefined-guitar-fretboards.ly"
803 % add a new chord shape
805 \addChordShape #'powerf #"1-1;3-3;3-4;x;x;x;"
807 % add some new chords based on the power chord shape
809 \storePredefinedDiagram \chordmode {f'}
811 #(chord-shape 'powerf)
812 \storePredefinedDiagram \chordmode {g'}
814 #(offset-fret 2 (chord-shape 'powerf))
816 mychords = \chordmode{
821 \context ChordNames {
824 \context FretBoards {
830 The graphical layout of a fret diagram can be customized according to
831 user preference through the properties of the @code{fret-diagram-interface}.
832 Details are found at @rinternals{fret-diagram-interface}. For a
833 predefined fret diagram, the interface properties belong to
834 @code{FretBoards.FretBoard}.
838 @lilypondfile[verbatim,lilyquote,texidoc,doctitle]
839 {customizing-fretboard-fret-diagrams.ly}
845 @ref{Custom tablatures},
846 @ref{Automatic fret diagrams},
847 @ref{Chord mode overview},
848 @ref{Predefined fretboard diagrams}.
851 @file{ly/predefined-guitar-fretboards.ly}.
854 @rlsr{Fretted strings}.
857 @rinternals {fret-diagram-interface}.
860 @node Automatic fret diagrams
861 @subsubsection Automatic fret diagrams
862 @cindex fret diagrams
863 @cindex chord diagrams
865 Fret diagrams can be automatically created from entered notes using the
866 @code{FretBoards} context. If no predefined diagram is available for
867 the entered notes in the active @code{stringTunings}, this context
868 calculates strings and frets that can be used to play the notes.
870 @lilypond[quote,ragged-right,verbatim]
872 \context ChordNames {
877 \context FretBoards {
889 As no predefined diagrams are loaded by default, automatic calculation
890 of fret diagrams is the default behavior. Once default diagrams are
891 loaded, automatic calculation can be enabled and disabled with predefined
894 @lilypond[quote,ragged-right,verbatim]
896 \storePredefinedDiagram <c e g c' e'>
898 #"x;3-1-(;5-2;5-3;5-4;3-1-1);"
900 \context ChordNames {
905 \context FretBoards {
907 \predefinedFretboardsOff
909 \predefinedFretboardsOn
923 Sometimes the fretboard calculator will be unable to find
924 an accceptable diagram. This can often be remedied by
925 manually assigning a note to a string. In many cases, only one
926 note need be manually placed on a string; the rest of
927 the notes will then be placed appropriately by the @code{FretBoards}
930 @lilypond[quote,ragged-right,verbatim]
932 \context ChordNames {
937 \context FretBoards {
949 Fingerings can be added to FretBoard fret diagrams.
951 @lilypond[quote, verbatim]
953 \context ChordNames {
958 \context FretBoards {
959 < c-3 e-2 g c'-1 e' > 1
970 The minimum fret to be used in calculating strings and frets for
971 the FretBoard context can be set with the @code{minimumFret}
974 @lilypond[quote, verbatim]
976 \context ChordNames {
981 \context FretBoards {
983 \set FretBoards.minimumFret = #5
994 The strings and frets for the @code{FretBoards} context depend
995 on the @code{stringTunings} property, which has the same meaning
996 as in the TabStaff context. See @ref{Custom tablatures} for
997 information on the @code{stringTunings} property.
999 The graphical layout of a fret diagram can be customized according to
1000 user preference through the properties of the @code{fret-diagram-interface}.
1001 Details are found at @rinternals{fret-diagram-interface}. For a
1002 @code{FretBoards} fret diagram, the interface properties belong to
1003 @code{FretBoards.FretBoard}.
1006 \predefinedFretboardsOff,
1007 \predefinedFretboardsOn.
1012 @ref{Custom tablatures}.
1015 @rlsr{Fretted strings}.
1017 Internals Reference:
1018 @rinternals {fret-diagram-interface}.
1021 @node Right-hand fingerings
1022 @subsubsection Right-hand fingerings
1024 Right-hand fingerings @var{p-i-m-a} must be entered within a
1025 chord construct @code{<>} for them to be printed in the score,
1026 even when applied to a single note.
1028 @warning{There @strong{must} be a hyphen after the note and a space
1029 before the closing @code{>}.}
1031 @lilypond[quote,verbatim,relative=0]
1033 <c-\rightHandFinger #1 >4
1034 <e-\rightHandFinger #2 >
1035 <g-\rightHandFinger #3 >
1036 <c-\rightHandFinger #4 >
1037 <c,-\rightHandFinger #1 e-\rightHandFinger #2 g-\rightHandFinger #3 c-\rightHandFinger #4 >1
1040 For convenience, you can abbreviate @code{\rightHandFinger} to something
1041 short, for example @code{RH},
1044 #(define RH rightHandFinger)
1047 @cindex fingerings, right hand, for guitar
1048 @cindex right hand fingerings for guitar
1052 @lilypondfile[verbatim,lilyquote,texidoc,doctitle]
1053 {placement-of-right-hand-fingerings.ly}
1055 @lilypondfile[verbatim,lilyquote,texidoc,doctitle]
1056 {fingerings,-string-indications,-and-right-hand-fingerings.ly}
1061 @rlsr{Fretted strings}.
1063 Internals Reference:
1064 @rinternals{StrokeFinger}.
1070 Most of the notational issues associated with guitar music are
1071 covered sufficiently in the general fretted strings section, but there
1072 are a few more worth covering here. Occasionally users want to
1073 create songbook-type documents having only lyrics with chord
1074 indications above them. Since Lilypond is a music typesetter,
1075 it is not recommended for documents that have no music notation
1076 in them. A better alternative is a word processor, text editor,
1077 or, for experienced users, a typesetter like GuitarTeX.
1080 * Indicating position and barring::
1081 * Indicating harmonics and dampened notes::
1084 @node Indicating position and barring
1085 @subsubsection Indicating position and barring
1087 This example demonstrates how to include guitar position and
1088 barring indications.
1090 @lilypond[quote,ragged-right,fragment,verbatim,relative=0]
1094 \override TextSpanner #'bound-details #'left #'text = #"XII "
1096 b16 e g e b g\stopTextSpan
1103 @ref{Text spanners}.
1106 @rlsr{Fretted strings},
1107 @rlsr{Expressive marks}.
1109 @node Indicating harmonics and dampened notes
1110 @subsubsection Indicating harmonics and dampened notes
1112 Special note heads can be used to indicate dampened notes or
1113 harmonics. Harmonics are normally further explained with a
1116 @lilypond[quote,ragged-right,fragment,verbatim]
1119 \override Staff.NoteHead #'style = #'cross
1121 \override Staff.NoteHead #'style = #'harmonic-mixed
1122 d^\markup { \italic { \fontsize #-2 { "harm. 12" }}} <g b>1
1129 @rlsr{Fretted strings}.
1132 @ref{Special note heads},
1133 @ref{Note head styles}.
1139 * Banjo tablatures::
1142 @node Banjo tablatures
1143 @subsubsection Banjo tablatures
1144 @cindex Banjo tablatures
1146 LilyPond has basic support for the five-string banjo. When making tablatures
1147 for five-string banjo, use the banjo tablature format function to get
1148 correct fret numbers for the fifth string:
1150 @c due to crazy intervals of banjo music, absolute pitch is recommended
1152 @lilypond[quote,ragged-right,fragment,verbatim]
1154 \set TabStaff.tablatureFormat = #fret-number-tablature-format-banjo
1155 \set TabStaff.stringTunings = #banjo-open-g-tuning
1158 g8 d' g'\5 a b g e d' |
1159 g4 d''8\5 b' a'\2 g'\5 e'\2 d' |
1165 A number of common tunings for banjo are predefined in LilyPond:
1166 @code{banjo-c-tuning} (gCGBD), @code{banjo-modal-tuning} (gDGCD),
1167 @code{banjo-open-d-tuning} (aDF#AD) and @code{banjo-open-dm-tuning}
1170 These tunings may be converted to four-string banjo tunings using the
1171 @code{four-string-banjo} function:
1174 \set TabStaff.stringTunings = #(four-string-banjo banjo-c-tuning)
1180 @rlsr{Fretted strings}.
1182 The file @file{scm/@/output@/-lib@/.scm} contains predefined banjo tunings.