]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/changing-the-chord-names-to-german-or-semi-german-notation.ly
Run scripts/auxiliar/update-with-convert-ly.sh
[lilypond.git] / Documentation / snippets / changing-the-chord-names-to-german-or-semi-german-notation.ly
1 %% DO NOT EDIT this file manually; it is automatically
2 %% generated from LSR http://lsr.dsi.unimi.it
3 %% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
4 %% and then run scripts/auxiliar/makelsr.py
5 %%
6 %% This file is in the public domain.
7 \version "2.16.0"
8
9 \header {
10   lsrtags = "chords, really-simple"
11
12   texidoc = "
13 The english naming of chords (default) can be changed to german
14 (@code{\\germanChords} replaces B and Bes with H and B) or semi-german
15 (@code{\\semiGermanChords} replaces B and Bes with H and Bb).
16
17
18
19
20 "
21   doctitle = "Changing the chord names to German or semi-German notation"
22 } % begin verbatim
23
24
25 music = \chordmode {
26   c1/c | cis/cis
27   b1/b | bis/bis | bes/bes
28 }
29
30 %% The following is only here to print the names of the
31 %% chords styles; it can be removed if you do not need to
32 %% print them.
33
34 \layout {
35   \context {
36     \ChordNames
37     \consists "Instrument_name_engraver"
38   }
39 }
40
41 <<
42   \new ChordNames {
43     \set ChordNames.instrumentName = #"default"
44     \music
45   }
46   \new ChordNames {
47     \set ChordNames.instrumentName = #"german"
48     \germanChords \music }
49   \new ChordNames {
50     \set ChordNames.instrumentName = #"semi-german"
51     \semiGermanChords \music }
52   \context Voice { \music }
53 >>