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: Kevin Barry
Subject: Re: Banjo tablature stem length for beamed stems?
Date: Fri, 20 Mar 2015 19:58:09 +0000

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]