Showing chords at changes: Difference between revisions

Import snippet from LSR
 
mNo edit summary
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
By default, every chord entered is printed; this behavior can be modified so that chord names are printed only at the start of lines and when the chord changes.
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.


<lilypond version="2.24.0">
<lilypond version="2.24">
harmonies = \chordmode {
harmonies = \chordmode {
   c1:m c:m \break c:m c:m d
   c'1:m c:m \break
  c'1:m c:m d
}
}


Line 12: Line 13:
   }
   }
   \new Staff {
   \new Staff {
     \relative c' { \harmonies }
     \harmonies
   }
   }
>>
>>
Line 19: Line 20:
[[Category:Chords]]
[[Category:Chords]]
[[Category:Included in the official documentation]]
[[Category:Included in the official documentation]]
[[Category:Snippet]]