@code{StringTunings} property.
LilyPond comes with predefined string tunings for banjo, mandolin,
-guitar and bass guitar. Lilypond automatically sets the correct
+guitar and bass guitar. LilyPond automatically sets the correct
transposition for predefined tunings. The following example is
for bass guitar, which sounds an octave lower than written.
A string pitch in a string tuning list is the pitch difference
of the open string from middle C measured in semitones. The
-string pitch must be an integer. Lilypond calculates the actual
+string pitch must be an integer. LilyPond calculates the actual
pitch of the string by adding the string tuning pitch to the
actual pitch for middle C.
@end lilypond
Different fret diagrams for the same chord name can be stored using different
-octaves of pitches.
+octaves of pitches. The different octave should be at least two octaves
+above or below the default octave, because the octaves above and below the
+default octave are used for transposing fretboards.
@lilypond[verbatim, ragged-right, quote]
\include "predefined-guitar-fretboards.ly"
-\storePredefinedDiagram \chordmode {c'}
+\storePredefinedDiagram \chordmode {c''}
#guitar-tuning
#(offset-fret 2 (chord-shape 'bes guitar-tuning))
mychords = \chordmode{
- c1 c'
+ c1 c''
}
<<
% add some new chords based on the power chord shape
-\storePredefinedDiagram \chordmode {f'}
+\storePredefinedDiagram \chordmode {f''}
#guitar-tuning
#(chord-shape 'powerf guitar-tuning)
-\storePredefinedDiagram \chordmode {g'}
+\storePredefinedDiagram \chordmode {g''}
#guitar-tuning
#(offset-fret 2 (chord-shape 'powerf guitar-tuning))
mychords = \chordmode{
- f1 f' g g'
+ f1 f'' g g''
}
<<
@lilypondfile[verbatim,lilyquote,texidoc,doctitle]
{defining-predefined-fretboards-for-other-instruments.ly}
+@lilypondfile[verbatim,lilyquote,texidoc,doctitle]
+{chordchanges-for-fretboards.ly}
@seealso
Notation Reference:
covered sufficiently in the general fretted strings section, but there
are a few more worth covering here. Occasionally users want to
create songbook-type documents having only lyrics with chord
-indications above them. Since Lilypond is a music typesetter,
+indications above them. Since LilyPond is a music typesetter,
it is not recommended for documents that have no music notation
in them. A better alternative is a word processor, text editor,
or, for experienced users, a typesetter like GuitarTeX.