]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/test/chord-names-german.ly
small fixes.
[lilypond.git] / input / test / chord-names-german.ly
index 16f8c43bd9cfa1c47f14b262da9157f9f3dc3e4c..82f7dc878fb79cd9ca527c092e41f75f1f930c04 100644 (file)
@@ -1,13 +1,9 @@
-\version "1.9.8"
+\version "2.2.0"
 \header  {
     texidoc = "@cindex Chord Names German
-By setting @code{ChordNames.chordRootNamer}, the root
-of the chord may be named with a different function.
-
-Setting @code{\germanChords} gives true german chord-names,
-@code{\semiGermanChords} gives semi-german chord-names - - with Bb and
-keeping the english names.
-
+The english naming of chords (default) can be changed to german 
+(@code{\germanChords} replaces B and Bes to H and B) or semi-german 
+(@code{\semiGermanChords} replaces B and Bes to H and Bb).
 
 " }
 
@@ -23,14 +19,14 @@ scm = \chords {
 \notes <<
     \context ChordNames { \scm }
     \new ChordNames {
-       \property ChordNames.instrument = #"german"
+       \set instrument = #"german"
        \germanChords \scm }
     \new ChordNames {
-       \property ChordNames.instrument =#"semi-german"
+       \set instrument = #"semi-german"
        \semiGermanChords \scm }
     \context Voice {  \scm } >>
 \paper {
     raggedright = ##t 
-    \translator {\ChordNamesContext \consists Instrument_name_engraver }}
+    \context {\ChordNamesContext \consists Instrument_name_engraver }}
 
 }