Hello Thomas, Yes, you’re right, I missed that there is an music-map in there. So basically it just sets Score.skipBars once each time it encounters a MM rest in the argument music.
Valentin Am Sonntag, 14. November 2021, 14:58:18 CET schrieb Thomas Morley: > Am So., 14. Nov. 2021 um 14:15 Uhr schrieb Valentin Petzel <[email protected]>: > > Hello Jacques, > > > > Frescobaldi does not always know the latest Lilypond language. As far as I > > see \compressMMRests and \comressEmptyMeasures do the same, but > > \compressEmptyMeasures works like a toggle that needs to be unset by > > \expandEmptyMeasures (it’s basically just a shorthand for \set > > Score.skipBars = ##t, while \compressMMRests should compress only the > > following Rest, so it checks if the music is a MM Rest and only then sets > > Score.skipBars = ##t once. > > > > So if you want to compress every MM Rest over a passage you use > > \compressEmptyMeasures, if you want to compress one particular MM Rest you > > use \compressMMRests, I guess. > > > > Cheers, > > Valentin > > Well, not exactly. > \compressMMRests compresses MMRs in the following music-espression, > which may be some longer sequential music. It is _limited_ to MMRs. > \compressEmptyMeasures compresses MMRs and other long durations until > reverted: > > m = { > \override Score.BarNumber.break-visibility = ##(#f #t #t) > R1*2 R1*3 b\longa c'1*3 s1*2 > \bar "||" > } > > { \compressMMRests \m \m } > { \compressEmptyMeasures \m \expandEmptyMeasures \m } > > \compressFullBarRests is no longer valid syntax in recent versions. > > Cheers, > Harm
signature.asc
Description: This is a digitally signed message part.
