Showing chords at changes: Difference between revisions
Appearance
m Replace version="2.24.0" with version="2.24" now that the LilyWiki extension supports auto-selecting the latest release in a stable series |
No edit summary |
||
| Line 18: | Line 18: | ||
[[Category:Chords]] | [[Category:Chords]] | ||
[[Category:Included in the official documentation]] | [[Category:Included in the official documentation]][[Category:Snippet]] | ||
Revision as of 23:00, 21 November 2025
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.
\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 }
}
>>