[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: RhythmicStaff Multimeasure Rests
From: |
Jay Anderson |
Subject: |
Re: RhythmicStaff Multimeasure Rests |
Date: |
Sun, 7 Mar 2010 15:21:24 -0700 |
On Fri, Mar 5, 2010 at 10:31 PM, Jay Anderson <address@hidden> wrote:
> \version "2.13.15"
> \new RhythmicStaff
> {
> %\override Staff.MultiMeasureRest #'extra-offset = #'(0 . -1)
> R1
> }
Of course this doesn't quite work because all multi measure rests are
moved and not just single whole measure rests.
I've been messing with this:
\override Staff.MultiMeasureRest #'extra-offset =
#(lambda (grob)
'(0 . -1))
I only want to return '(0 . -1) if the multi measure rest length is
the same as the length of a full bar. To get at the measure length I
need to do something like (ly:context-property context 'measureLength
#f). How can I get at the context from a callback function like the
one above? or is there a better way to move all full measure rests
down?
It's interesting to me that in this example the whole rest in the last
measure works correctly:
\new RhythmicStaff
{
\time 6/4
R1.
R1.*10
r1 r2
}
Thanks.
-----Jay
- Re: RhythmicStaff Multimeasure Rests,
Jay Anderson <=