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: Wed, 4 Feb 2015 19:29:08 -0600

Thank you! Unfortunately, the \new Staff \repeat unfold 8 strings seems to completely mess it up unfortunately :( Below is a sample of what I have:

mynotes = \relative c'' {
  a1^\markup { \fret-diagram #"w:4;h:3;s:1.5;" } e^\markup { \fret-diagram #"w:4;h:3;s:1.5;" } c^\markup { \fret-diagram #"w:4;h:3;s:1.5;" } 
  g^\markup { \fret-diagram #"w:4;h:3;s:1.5;" } c^\markup { \fret-diagram #"w:4;h:3;s:1.5;" } e^\markup { \fret-diagram #"w:4;h:3;s:1.5;" } \break
  c^\markup { \fret-diagram #"w:4;h:3;s:1.5;" } g^\markup { \fret-diagram #"w:4;h:3;s:1.5;" } a'^\markup { \fret-diagram #"w:4;h:3;s:1.5;" }
  e^\markup { \fret-diagram #"w:4;h:3;s:1.5;" } c^\markup { \fret-diagram #"w:4;h:3;s:1.5;" } a'^\markup { \fret-diagram #"w:4;h:3;s:1.5;" } \break
  g,^\markup { \fret-diagram #"w:4;h:3;s:1.5;" } e'^\markup { \fret-diagram #"w:4;h:3;s:1.5;" } a^\markup { \fret-diagram #"w:4;h:3;s:1.5;" }
  c,^\markup { \fret-diagram #"w:4;h:3;s:1.5;" } a'^\markup { \fret-diagram #"w:4;h:3;s:1.5;" } g,^\markup { \fret-diagram #"w:4;h:3;s:1.5;" } \break
  a'^\markup { \fret-diagram #"w:4;h:3;s:1.5;" } c,^\markup { \fret-diagram #"w:4;h:3;s:1.5;" } g^\markup { \fret-diagram #"w:4;h:3;s:1.5;" }
  e'^\markup { \fret-diagram #"w:4;h:3;s:1.5;" } g,^\markup { \fret-diagram #"w:4;h:3;s:1.5;" } c^\markup { \fret-diagram #"w:4;h:3;s:1.5;" }
  }
  
\score {
<<
\new Staff { \mynotes }
\new TabStaff { \hide 
  \set TabStaff.stringTunings = \stringTuning<g c' e' a'> { \mynotes }  } 
>>
}

The reason you see all those fret diagrams is because they are blank, my students have to fill in the appropriate location of each of those particular notes.

You will see I just put a \hide within the \new TabStaff { , and I am sure there is something to put after \hide that will hide the Tab notes, but I just can't find it in the manual.  Help!

On Wed, Feb 4, 2015 at 5:12 PM, Thomas Morley <address@hidden> wrote:
2015-02-04 22:32 GMT+01:00 Ryan Clarin <address@hidden>:
> Hello,
>
> I am trying to add a completely blank tablature to some music. The idea is
> to create a worksheet where my students have to fill in the tablature for
> notes.
>
> I think I need to utilize the \hide feature within a \new TabStaff {
> but I just can't figure it out, nor can I find it in the manual.
>
> Thank you for your help! I should add this is for a 4 string ukulele.
>
> Ryan
>



How about:

\version "2.18.2"

\header {
  %% perhaps:
  tagline = ##f
  indent = 0
}

\layout {
  %% perhaps:
  ragged-last-bottom = ##f
  \context {
    \Score
    \omit BarNumber
  }
}

<<
  \new TabStaff \with { stringTunings = #ukulele-tuning }
    {
      %% perhaps:
      \clef "moderntab"
      \repeat unfold 8 { s1 \break }
    }
  \new Staff \repeat unfold 8 { c''1 \bar "|." }
>>


Cheers,
  Harm


reply via email to

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