lilypond-user
[Top][All Lists]
Advanced

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

Re: chord and chordChanges


From: David Kastrup
Subject: Re: chord and chordChanges
Date: Thu, 09 May 2019 13:13:35 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Gianmaria Lari <address@hidden> 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



reply via email to

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