On 3/4/2012 9:40 PM, David Bobroff wrote:
On 3/4/2012 9:48 AM, -Eluze wrote:
David Bobroff wrote:
This is weird. Maybe known. I tried to search the issues database but
did not find anything. It's possible I don't know how to effectively
search it.
Here goes; in the following example the auto-beaming is still off
following \cadenzaOff if a \grace (or \appoggiatura) follows
immediately
after \cadenzaOff. Auto-beaming returns if either the \grace is
removed
or there is a whole measure of timed music before the \grace. Adding
\autoBeamOn does not help. Automatic beaming remains off. In fact,
just entering \cadenzaOn \cadenzaOff will trigger this behavior even
without any music in the cadenza.
the issue seems to be known (although I didn't search where to find it)
I saw this solution on the German Lilypond Forum - after the cadenza
add a
\partial of the due (measure) length (this gives a warning but it
works):
\cadenzaOff
\bar "|"
\partial 2
\grace b8
…
or put the grace inside of the cadenza:
\relative c' {
\time 2/4
c2
\cadenzaOn
c2 \teeny d8-[ e f g-] \normalsize
\bar "|"
\grace b8
\cadenzaOff
\normalsize
a4. gis8
e'8 e e e
}
hth
Eluze
Thanks for the input. I ended up using the \partial solution (in this
case, \partial 1 ). As noted above, I got a warning but the beams
came back. I tried putting the \grace inside the cadenza but that put
it on the wrong side of the bar line.
-David
And I just found a solution that works even better for me...
%%% previous stuff
\cadenzaOff
\bar "|"
\appoggiatura b4
\set Timing.measurePosition = #(ly:make-moment 0 4)
%%% subsequent stuff
...by setting the measurePosition *after* the grace/appoggiatura and
before the first "beat" of the measure, the beams remain intact and the
warning disappears. Huzzah.
-David
_______________________________________________
bug-lilypond mailing list
bug-lilypond@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-lilypond