lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Guitar tabs and fret diagram


From: Helge Kruse
Subject: Guitar tabs and fret diagram
Date: Sun, 9 Sep 2007 10:35:36 +0200

Hello,

writing a piece for guitar I include tabs. At some difficult I want additionally write a fret diagram to show, how to set the fingers. Maybe most guitar players think that's overkill, but the player should see as fast as possible how to set the left hand fingers.

When I add fret diagrams to the melody. It will be display above the score as well as above the tabs. That is overkill. How can I achieve my goal?

Is there a way to "filter out" the fret diagrams? If I watn to generate a PDF without the, can I define a function or set any variable to suppress them?

Best regards,
Helge


\version "2.11.32"

halfnote = {\once \override NoteHead #'duration-log = #1 }

melody = \relative c
{
\key d \major
\time 4/4

\halfnote d8 ^\markup \fret-diagram #"6-x;5-x;4-o;3-2;2-3;1-2;"
    a' d fis
\halfnote a,, ^\markup  \fret-diagram #"6-o;5-o;4-2;3-2;2-2;1-o;"
    e' a cis |
}

\score {
<<
 \context Staff = Guit
 <<
  \clef "G_8"
  \new Voice \melody
 >>
 \context TabStaff = Tab
 {
  \override TabStaff.Stem #'transparent = ##t
  \override TabStaff.Beam #'transparent = ##t
  <<
   \new TabVoice \melody
  >>
 }
>>
}





reply via email to

[Prev in Thread] Current Thread [Next in Thread]