Jump to content

Showing chords at changes

From LilyPond wiki
Revision as of 13:26, 16 December 2025 by Lemzwerg (talk | contribs)

By default, every chord entered is printed. This behavior can be modified so that chord names are printed only at the start of lines or when the chord changes.

\version "2.24"

harmonies = \chordmode {
  c1:m c:m \break
  c:m c:m d
}

<<
  \new ChordNames {
    \set chordChanges = ##t
    \harmonies
  }
  \new Staff {
    \relative c' { \harmonies }
  }
>>