Gianmaria Lari <[email protected]> writes:
> Following code prints chord even if they don't change.
>
> \version "2.21.0"
> <<
> \new Staff {
> c'4 d' e' f'
> \repeat volta 2 {c' d' e' f' | g' a' b' c''}
> }
> \new ChordNames {
> g1 \repeat volta 2 {g1|1}
> }
>>>
>
> To avoid to print chords always, I used \set chordChanges = ##t..... but I
> would like to keep displaying the chord at the beginning of repeat.
\version "2.21.0"
<<
\new Staff {
c'4 d' e' f'
\repeat volta 2 {c' d' e' f' | g' a' b' c''}
}
\new ChordNames \with { chordChanges = ##t } {
g1 \once \unset chordChanges \repeat volta 2 {g1|1}
}
>>
--
David Kastrup
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user