Hi all,

Working with older music, one often comes up with the fully written out
variety of multi-measure rests. Ex. from an original edition (parts only)
of a Vivaldi concerto:
[image: Two bars of music in 3/8 time with a long 35 measure rest (original
edition, ca. 1725)]
Now of course it is very trivial to simply change the expand-limit to some
arbitrary large value (I'll spare the code, it's simple enough to type up),
but that doesn't quite give the same style as the above:
[image: Two bars of music in 3/8 time with a long 35 measure rest (Lilypond
with expand-limit set to #100)]
Playing around with manually placed rests and offsets can get very close
(spacing around the edges would need to be smaller, although I'd probably
put just a little bit more than in the original) to what I want, but is
obviously not a very practical solution as it needs to be done manually:
[image: Two bars of music in 3/8 time with a long 35 measure rest (manually
placed rests and offsets)]
The code looks like this:
\version "2.24.4"
score {
<<
\new Staff {
\key bes \major
\time 3/8
\relative c' {
b4 r8 |
\cadenzaOn
\once \override Rest.X-offset = #2
r\maxima
\once \override Rest.X-offset = #-2
\once \override Rest.Y-offset = #1
r\maxima
\once \override Rest.X-offset = #-2
r\maxima^\markup { \number 35 }
\once \override Rest.X-offset = #-2
\once \override Rest.Y-offset = #1
r\maxima
\once \override Rest.X-offset = #-2
r\breve
\once \override Rest.X-offset = #-2
r1
\bar"|"
\cadenzaOff
bes'8 bes bes \bar"|."
}
}
>>
}

Is there any way to automate this kind of thing? Playing around with the
various properties of MultiMeasureRest does not appear to allow for the
varied offset for alternating maxima (8 measure) rests.

Thanks,

Aleksa Jakovljevic,
harpsichordist / organist / musicologist
Montreal, Quebec, Canada

Reply via email to