]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/test/chord-names-german.ly
* lily/staff-symbol-referencer.cc (get_position): emergency
[lilypond.git] / input / test / chord-names-german.ly
index ec8d93978979741482d65c336c3bfb55bbe3d200..8647409d3fae56a64a3474ee39437ed574543a88 100644 (file)
@@ -1,13 +1,9 @@
-\version "2.1.26"
+\version "2.3.8"
 \header  {
     texidoc = "@cindex Chord Names German
-By setting @code{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).
 
 " }
 
@@ -19,18 +15,23 @@ scm = \chords {
     b/b bis/bis bes/bes
     % beses/beses
 } 
-\score {
-\notes <<
-    \context ChordNames { \scm }
+
+
+\paper {
+    raggedright = ##t 
+    \context {\ChordNames \consists Instrument_name_engraver }
+}
+
+<<
+    \new ChordNames {
+       \set instrument = #"default"
+       \scm
+    }
     \new ChordNames {
        \set instrument = #"german"
        \germanChords \scm }
     \new ChordNames {
        \set instrument = #"semi-german"
        \semiGermanChords \scm }
-    \context Voice {  \scm } >>
-\paper {
-    raggedright = ##t 
-    \translator {\ChordNamesContext \consists Instrument_name_engraver }}
-
-}
+    \context Voice { \scm }
+>>