]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/changing-the-chord-names-to-german-or-semi-german-notation.ly
Imported Upstream version 2.19.45
[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.di.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.18.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 scm = \chordmode {
25   c1/c | cis/cis
26   b1/b | bis/bis | bes/bes
27 }
28
29
30 \layout {
31   ragged-right = ##t
32   \context {
33     \ChordNames
34     \consists "Instrument_name_engraver"
35   }
36 }
37
38 <<
39   \new ChordNames {
40     \set instrumentName = #"default"
41     \scm
42   }
43   \new ChordNames {
44     \set instrumentName = #"german"
45     \germanChords \scm
46   }
47   \new ChordNames {
48     \set instrumentName = #"semi-german"
49     \semiGermanChords \scm
50   }
51   \new ChordNames {
52     \set instrumentName = #"italian"
53     \italianChords \scm
54   }
55   \new ChordNames {
56     \set instrumentName = #"french"
57     \frenchChords \scm
58   }
59   \context Voice { \scm }
60 >>