]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/chord-changes.ly
*** empty log message ***
[lilypond.git] / input / regression / chord-changes.ly
1 \version "2.1.28"
2
3 \header{
4 texidoc="Property chordChanges: display chord names only when
5 there's a change in the chords scheme, but always display the
6 chord name after a line break.
7 "
8 }
9
10 scheme = \chords {
11   c1:m \break c:m c:m c:m d
12   c1:m \break c:m c:m c:m d
13 }
14
15 settings = {
16   \set chordChanges = ##t
17 }
18
19 \score {
20   \notes <<
21     \context ChordNames << \scheme \settings >>
22     \context Staff \transpose c c' \scheme
23   >>
24   \paper{
25     linewidth = 40 * \staffspace
26   }
27 }