lilypond-user
[Top][All Lists]
Advanced

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

Re: lilypond mandolin tablature?


From: Karl Berry
Subject: Re: lilypond mandolin tablature?
Date: Sun, 1 Sep 2002 12:55:51 -0400

    The above example shows you how to set the TabStaff to four strings,
    tuned as you asked.

Thank you very much for this.  However, I can't get it to work :(.

For starters, I told you the wrong notation for the tuning.  Mandolin
tuning, like violin, is GDAE from the G below middle C (top space on the
bass clef) to E above high C (top space on the treble clef).  In
Lilypond-ese, this worked for me to get the notes right:
  g-1 d'-2 a'-3 e''-4

The tablature should be four ascending open string notes, i.e., the
simplest thing possible.

1) Everything is shifted down by one line -- the first note is printed a
   line space below the real bottom line, the second note is printed on
   the bottom line instead of the second-to-bottom line, and so on.

2) the fret numbers are 15 17 19 21 instead of 0 0 0 0, whatever
   is assigned to the #'stringTunings property.  I don't know if what I
   have below is actually correct, but right now the numbers are getting
   ignored, as far as I can tell.

Kevin Knaus kindly sent me an example banjo tablature of Cripple Creek
which fixes problem #1 for him by prepending an additional item to
the stringTunings list.  But that didn't work for me :(.

Here's the source, such as it is.  I put the output at
http://www.cs.umb.edu/~karl/simple.png and
http://www.cs.umb.edu/~karl/simple.pdf.

Further help would still be greatly appreciated :).
Thanks,
k


\version "1.6.0"

part = \notes {
  g-1 d'-2 a'-3 e''-4
}

\score {
  \context StaffGroup <
    \context Staff <
      % Hide fingering number
      \property Staff.Fingering \override #'transparent = ##t
      \part
    >
    \context TabStaff <
      \property Staff.Stem \override #'direction = #-1  % stems below frets
      \outputproperty #(make-type-checker 'staff-symbol-interface)
                      #'line-count = #4
      \outputproperty #(make-type-checker 'Tab_note_heads_engraver)
                      #'stringTunings = #'(-10 -6 -2 2) 
      \part
    >
  >
}




reply via email to

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