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: Ryan Clarin
Subject: Re: "hiding" tablature - adding a blank tablature to music
Date: Fri, 6 Feb 2015 13:50:55 -0600

Figured it out! I went back to Thomas' recommendation and did this:

\score {
<<
\new Staff { \mynotes }
\new TabStaff {  
  \set TabStaff.stringTunings = \stringTuning<g c' e' a'> {  \repeat unfold 24 { s1  } }  } 
>>
}

I simply needed to unfold skipped measures 24 times, and I took out the \break as the string didn't need it.  Thanks guys!

And thank you Pierre for giving me a much cleaner way of putting up blank fretboards :)

Ryan

On Thu, Feb 5, 2015 at 1:01 AM, Pierre Perol-Schneider <address@hidden> wrote:
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]