lilypond-user
[Top][All Lists]
Advanced

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

Re: Banjo tablature stem length for beamed stems?


From: address@hidden
Subject: Re: Banjo tablature stem length for beamed stems?
Date: Fri, 20 Mar 2015 17:14:01 -0500

Thanks Kevin,
Beam.positions definitely changes the slope of the beam, and the stem length adjusts accordingly. But it always terminates at the 5th string location (bottom line of the staff). I’d still like to find a way to extend it all the way to the first string position (top line of the staff). Any other suggestions?
Holland 

On Mar 20, 2015, at 2:58 PM, Kevin Barry <address@hidden> wrote:

Hi Holland,

When stems are beamed their lengths are controlled by the Beam's 'positions property, so something like

\once \override Beam.positions = #'(-5 . -5)

before the first beamed note will change the length of the stems (choose the values you want).

hth,
Kevin

On Fri, Mar 20, 2015 at 4:21 PM, address@hidden <address@hidden> wrote:
I’m working on some banjo tablature and I’d like to change the stem length for beamed stems when 2 non-adjacent strings are played together. I can use \override-s to lengthen and shift the stems of unbeamed notes. How can I change the length of beamed stems? It seems like beamed-lengths might hold the answer, but I haven’t figured out how to apply it or what the numbers mean. See the minimal example below.
Thanks,
Holland

************

\version "2.18.0"

\new TabStaff {
        \set TabStaff.instrumentName = "Banjo"
        \set TabStaff.tablatureFormat = #fret-number-tablature-format-banjo
        \set TabStaff.stringTunings = #banjo-open-g-tuning %gDGBD
        \tabFullNotation
        \numericTimeSignature
        \clef moderntab
         \relative c'   {
\time 4/4

g8   < g'\5 d >8
%how can I make this stem longer, like the unbeamed stem after it?
               r2.     |

g,8

 \once \override Stem.length = #12 % make the stem longer
  \once     \override Stem.Y-offset = #7 % moves the stem up
  \once \override Stem.Y-extent = #'(-7.0 . 0.0)
%moves the flag to the end of the moved stem

              < g'\5 d >8


  } % end of banjo notes
  } % end of banjo voice


_______________________________________________
lilypond-user mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user



reply via email to

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