]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/test/chord-names-german.ly
* scripts/convert-ly.py (FatalConversionError.figures_replace):
[lilypond.git] / input / test / chord-names-german.ly
index 9d883cddfd9ef8f5f20845b0f35c9f45b2b12a70..6bc5ed623cb40af9797997a367570f6554e4ae3e 100644 (file)
@@ -1,18 +1,36 @@
-
-\version "1.7.16"
+\version "1.9.4"
 \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 b bes } 
+" }
+
+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 {
+\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 }}
 
-<    \context ChordNames \chords <
-    \property ChordNames. chordRootNamer = #note-name->german-markup
-    \scm >
-    \context Voice \scm >
-\paper { raggedright = ##t }
 }