[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: skip-of-length and \unfoldRepeats
From: |
Jean Abou Samra |
Subject: |
Re: skip-of-length and \unfoldRepeats |
Date: |
Tue, 15 Feb 2022 20:22:43 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 |
Le 15/02/2022 à 20:19, Joel C. Salomon a écrit :
… seem not to play nicely together.
―Joel
\version "2.23.6"
musicA = \fixed c'' \repeat volta 2 { c d }
musicB = \fixed c { a b }
music = {
\musicA
\musicB
}
dynamics = {
<>\f
#(skip-of-length musicA)
<>\p
#(skip-of-length musicB)
%\fine
}
\score {
\new Staff <<
\unfoldRepeats \music
\unfoldRepeats \dynamics
>>
}
In recent versions, like version 2.23.6 which you are using, you can use
\skip \musicA
which is nicer syntax-wise and plays well with \unfoldRepeats.
Best,
Jean
Re: skip-of-length and \unfoldRepeats, Valentin Petzel, 2022/02/15