[ << Specialist notation ] | [Top][Contents][Index][ ? ] | [ General input and output >> ] | ||
[ < Right-hand fingerings ] | [ Up : Fretted string instruments ] | [ Indicating position and barring > ] |
2.4.2 Guitar
Most of the notational issues associated with guitar music are 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, 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.
Indicating position and barring | ||
Indicating harmonics and dampened notes |
[ << Specialist notation ] | [Top][Contents][Index][ ? ] | [ General input and output >> ] | ||
[ < Guitar ] | [ Up : Guitar ] | [ Indicating harmonics and dampened notes > ] |
Indicating position and barring
This example demonstrates how to include guitar position and barring indications.
\clef "treble_8" b16 d g b e \textSpannerDown \override TextSpanner #'(bound-details left text) = #"XII " g16\startTextSpan b16 e g e b g\stopTextSpan e16 b g d
See also
Notation Reference: Text spanners.
Snippets: Fretted strings, Expressive marks.
[ << Specialist notation ] | [Top][Contents][Index][ ? ] | [ General input and output >> ] | ||
[ < Indicating position and barring ] | [ Up : Guitar ] | [ Banjo > ] |
Indicating harmonics and dampened notes
Special note heads can be used to indicate dampened notes or harmonics. Harmonics are normally further explained with a text markup.
\relative c' { \clef "treble_8" \override Staff.NoteHead #'style = #'harmonic-mixed d^\markup { \italic { \fontsize #-2 { "harm. 12" }}} <g b>1 }
Dampened notes (also called dead notes) are supported within normal and tablature staves:
music = \relative c' { < a\3 \deadNote c\2 a'\1 >4 < b\3 \deadNote d\2 b'\1 > < c\3 \deadNote e\2 c'\1 > \deadNotesOn \times 2/3 { g8 b e } \deadNotesOff < a,\3 c\2 e\1 >1 } \new StaffGroup << \new Staff { \clef "treble_8" \music } \new TabStaff { \music } >>
Another playing technique (especially used on electic guitars) is called palm mute. The string is hereby partly muted by the palm of the striking hand (hence the name). Lilypond supports the notation of palm mute-style notes by changing the note head to a triangle shape.
\new Voice { % Warning: explicit Voice instantiation is % required to have palmMuteOff work properly % when palmMuteOn comes at the beginning of % the piece. \relative c, { \clef "G_8" \palmMuteOn e8^\markup { \musicglyph #"noteheads.u2do" = palm mute } < e b' e > e \palmMuteOff e e \palmMute e e e | e8 \palmMute { e e e } e e e e | < \palmMute e b' e >8 \palmMute { e e e } < \palmMute e b' e >2 } }
See also
Snippets: Fretted strings.
Notation Reference: Special note heads, Note head styles.
[ << Specialist notation ] | [Top][Contents][Index][ ? ] | [ General input and output >> ] | ||
[ < Indicating position and barring ] | [ Up : Guitar ] | [ Banjo > ] |