X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Documentation%2Fsnippets%2Fchanging-the-chord-names-to-german-or-semi-german-notation.ly;h=fdd185ca79c5df099619fd0d592f3a91bdf3a891;hb=807be335ea671790730a483938272e74eb012495;hp=0c55b4bde2a5125569d4ddb8d9375424c04eacaf;hpb=4ee99b07605942b02e82c6526df98b68cbc03981;p=lilypond.git diff --git a/Documentation/snippets/changing-the-chord-names-to-german-or-semi-german-notation.ly b/Documentation/snippets/changing-the-chord-names-to-german-or-semi-german-notation.ly index 0c55b4bde2..fdd185ca79 100644 --- a/Documentation/snippets/changing-the-chord-names-to-german-or-semi-german-notation.ly +++ b/Documentation/snippets/changing-the-chord-names-to-german-or-semi-german-notation.ly @@ -21,17 +21,14 @@ The english naming of chords (default) can be changed to german doctitle = "Changing the chord names to German or semi-German notation" } % begin verbatim - -music = \chordmode { +scm = \chordmode { c1/c | cis/cis b1/b | bis/bis | bes/bes } -%% The following is only here to print the names of the -%% chords styles; it can be removed if you do not need to -%% print them. \layout { + ragged-right = ##t \context { \ChordNames \consists "Instrument_name_engraver" @@ -40,14 +37,24 @@ music = \chordmode { << \new ChordNames { - \set ChordNames.instrumentName = #"default" - \music + \set instrumentName = #"default" + \scm + } + \new ChordNames { + \set instrumentName = #"german" + \germanChords \scm } \new ChordNames { - \set ChordNames.instrumentName = #"german" - \germanChords \music } + \set instrumentName = #"semi-german" + \semiGermanChords \scm + } \new ChordNames { - \set ChordNames.instrumentName = #"semi-german" - \semiGermanChords \music } - \context Voice { \music } + \set instrumentName = #"italian" + \italianChords \scm + } + \new ChordNames { + \set instrumentName = #"french" + \frenchChords \scm + } + \context Voice { \scm } >>