|
From: | Pierre Perol-Schneider |
Subject: | Re: Beaming until barline |
Date: | Fri, 31 Oct 2014 08:50:52 +0100 |
2014-10-31 3:37 GMT+01:00 Gilberto Agostinho <address@hidden>:
Hi Pierre,
Thank you so much for your answer. Oddly enough, it did not appear as a reply in our forum at Nabble, did you mean to send it privately to me?
As for your function, it is much more elegant than my previous hack. It is just a pity I couldn't so far automate this beam until barline,...
... but using your function together with manual adjustments actually works wonderfully well. I really appreciate it, thanks a lot.
All the best,
Gilberto
On 30/10/14 18:37, Pierre Perol-Schneider wrote:
Hi Gilberto,
2014-10-26 20:35 GMT+01:00 Gilberto Agostinho <address@hidden>:
If anyone still has any other ideas/suggestions, they are highly
appreciated.
Just a rough idea :
\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)
}
HTH
Pierre
[Prev in Thread] | Current Thread | [Next in Thread] |