lilypond-user
[Top][All Lists]
Advanced

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

Compress "empty" Bars when using a separate variable for structure


From: sir.teddy.the.first
Subject: Compress "empty" Bars when using a separate variable for structure
Date: Mon, 27 Jan 2020 17:43:06 +0100

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


reply via email to

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