lilypond-user
[Top][All Lists]
Advanced

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

Re: "hiding" tablature - adding a blank tablature to music


From: Pierre Perol-Schneider
Subject: Re: "hiding" tablature - adding a blank tablature to music
Date: Thu, 5 Feb 2015 08:01:28 +0100

Hi Ryan,

Thomas' solution was not to put 'strings' but 'skip note' ;)
How about:

\version "2.18.12"

mynotes = \relative c'' {
  a1 e c g c e
  \break
  c g a' e c a'
  \break
  g, e' a c, a' g,
  \break
  a' c, g e' g, c
}
 
\score {
  <<
    %% create 24 blank diagrams:
    \new Dynamics {
      \repeat unfold 24 s1^\markup { \fret-diagram #"w:4;h:3;s:1.5;" }
    }
    \new Staff \mynotes
    \new TabStaff
    \with {
      stringTunings = \stringTuning <g c' e' a'>
      \override Clef.stencil = #(lambda (grob)
          (grob-interpret-markup grob
            #{
              \markup
              \fontsize #-2
              \musicglyph #"clefs.tab_change"
            #}))
    }
    {
      %% Thomas says:
      %\repeat unfold 24 s1 %% where 's' is for 'skip note'
      %% or you can put:
      \hideNotes \mynotes 
    }
  >>
}


HTH,
Pierre

reply via email to

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