Wow, thank you. I actually could have thought of that myself.
Von: Pierre Perol-Schneider <[email protected]> Gesendet: Montag, 27. Januar 2020 17:49 An: [email protected] Cc: lilypond-user <[email protected]> Betreff: Re: Compress "empty" Bars when using a separate variable for structure Hi, Try: struct = { \key c \major \tempo 4 = 140 s1*3 %<= instead! \key g \major } Cheers, Pierre Le lun. 27 janv. 2020 à 17:43, <[email protected] <mailto:[email protected]> > a écrit : Hello All, please consider the following snippet: %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \version "2.19.83" music = \relative c'{ \compressFullBarRests R1*3 | \repeat unfold 2 {c8 d e fis g a b c} } struct = { \key c \major \tempo 4 = 140 s1 | s1 | s1 | \key g \major } \score {\new Staff {<< \music \struct>>}} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% I’m using a separate variable for structural elements like time-signature, etc. which prevents lilypond from compressing the full-bar rests. What do I have to change so that the three rests at the beginning get merged like they would if I removed the struct-variable? Thanks
