lilypond-user
[Top][All Lists]
Advanced

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

Re: Beaming until barline


From: Gilberto Agostinho
Subject: Re: Beaming until barline
Date: Fri, 31 Oct 2014 05:45:04 -0700 (PDT)

Currently I am using this function written by Pierre Perol-Schneider:

\version "2.19.15"

beamLength =
#(define-music-function (parser location myLength myPosition) (number?
number?)
  #{
    \once\override Beam.stencil =
      #(lambda (grob) (grob-interpret-markup grob
        #{
          \markup
          %% "column" just in case for multiple beams:
          %\column
          {
            \translate #(cons 0 myPosition)
            \beam #myLength #0 #0.4
            %\vspace #-.73
            %\beam #myLength #0 #0.4
           }
          #}))
  #})

\relative c' {
  \beamLength #19.1 #0
  c8[c c c c c c c]
  \stemDown
  \beamLength #20 #-5.5
  c[c c c c c c c]
  \once\override Staff.BarLine.bar-extent = #'(-7 . 2)
}




--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Beaming-until-barline-tp167937p168115.html
Sent from the User mailing list archive at Nabble.com.



reply via email to

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