Next: , Previous: Tablatures basic, Up: Guitar sections


2.5.1.3 Non-guitar tablatures

You can change the tuning of the strings. A string tuning is given as a Scheme list with one integer number for each string, the number being the pitch (measured in semitones relative to middle C) of an open string. The numbers specified for stringTunings are the numbers of semitones to subtract or add, starting the specified pitch by default middle C, in string order. LilyPond automatically calculates the number of strings by looking at stringTunings.

In the next example, stringTunings is set for the pitches e, a, d, and g

     
     \new TabStaff <<
       \set TabStaff.stringTunings = #'(-5 -10 -15 -20)
       {
         a,4 c' a e' e c' a e'
       }
     >>

[image of music]

LilyPond comes with predefined string tunings for banjo, mandolin, guitar and bass guitar.

\set TabStaff.stringTunings = #bass-tuning

The default string tuning is guitar-tuning (the standard EADGBE tuning). Some other predefined tunings are guitar-open-g-tuning, mandolin-tuning and banjo-open-g-tuning.

See also

The file scm/output-lib.scm contains the predefined string tunings. Internals Reference: Tab_note_heads_engraver.

Known issues and warnings

No guitar special effects have been implemented.


Next: , Previous: Tablatures basic, Up: Guitar sections

This page is for LilyPond-2.11.40 (development-branch).

Report errors to http://post.gmane.org/post.php?group=gmane.comp.gnu.lilypond.bugs.

Your suggestions for the documentation are welcome.

Other languages: français, español, deutsch.