]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/test/chord-names-german.ly
(Lilypond_snippet.notice_include):
[lilypond.git] / input / test / chord-names-german.ly
index 02559254396be4c6d510e6e9fa3aba4bc50d4677..896fea3decf11f6efcdb76f72d966e592a327892 100644 (file)
@@ -1,20 +1,36 @@
-
-\version "1.7.18"
+\version "2.1.7"
 \header  {
+    texidoc = "@cindex Chord Names German
+By setting @code{ChordNames.chordRootNamer}, the root
+of the chord may be named with a different function.
 
-    texidoc = "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.
 
-}
 
-scm = \chords { c4/c cis/cis cisis/cisis ces/ces ceses/ceses b/b bis/bis bes/bes beses/beses } 
+" }
+
+scm = \chords {
+    c1/c cis/cis
+    % yeah, we get the idea. -hwn
+    
+    % cisis/cisis ces/ces ceses/ceses
+    b/b bis/bis bes/bes
+    % beses/beses
+} 
 \score {
-<    \context ChordNames \chords <
-    % #t gives true german chord-names
-    % #f gives semi-german chord-names -
-    % - with Bb and below keeping the english names
-    \property ChordNames. chordRootNamer = #(chord-name->german-markup #f)
-    \property ChordNames. chordNoteNamer = #note-name->german-markup
-    \scm >
-    \context Voice \scm >
+\notes <<
+    \context ChordNames { \scm }
+    \new ChordNames {
+       \property ChordNames.instrument = #"german"
+       \germanChords \scm }
+    \new ChordNames {
+       \property ChordNames.instrument =#"semi-german"
+       \semiGermanChords \scm }
+    \context Voice {  \scm } >>
+\paper {
+    raggedright = ##t 
+    \translator {\ChordNamesContext \consists Instrument_name_engraver }}
+
 }