lilypond-user
[Top][All Lists]
Advanced

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

Re: forcing MultiMeasureRests to combine


From: Kieren MacMillan
Subject: Re: forcing MultiMeasureRests to combine
Date: Wed, 16 Oct 2013 12:05:06 -0400

Hi David,

> It would be the job of the engraver for multimeasure rests.

Good to know — thanks!

> However, I have distinct problems imagining what the output of the following
> should be if one were to combine multimeasure rests:

I have no problem seeing the desired (at least by me) output of your example. 
The only rule that need be applied (AFAIK) is this: Any block of MMRs 
uninterrupted by notation events (n.b. this obviously excludes skips!) is 
compressed. All other items are printed as is (e.g., the final three s1 
measures are spread out, because there are no simultaneous MMRs!) and cause a 
"de-compression split" at that moment.

So in the end we would have:

\version "2.17.13"

global = {
 \repeat "unfold" 8 { s1 }
}

notes = \relative c' <<
 R1*5^"A"
 c1
 { s1 R1*3^"B" }
>>

\markup "Un-Compressed:"
\score {
 \new Staff << \global \notes >>
}

\markup "Compressed:"
\score {
  \new Staff { \compressFullBarRests << R1^"A" c'1 >> R1*4^"B" \repeat "unfold" 
3 { s1 } }
}

1. Is there some other way your example could reasonably be compressed?
2. Is there a relatively easy way to make the MMR engraver do this compression 
automagically?

Thanks,
Kieren.


reply via email to

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