]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/accordion-discant-symbols.ly
Doc-it: chapter 1 completed
[lilypond.git] / Documentation / snippets / accordion-discant-symbols.ly
1 % DO NOT EDIT this file manually; it is automatically
2 % generated from Documentation/snippets/new
3 % Make any changes in Documentation/snippets/new/
4 % and then run scripts/auxiliar/makelsr.py
5 %
6 % This file is in the public domain.
7 %% Note: this file works from version 2.16.0
8 \version "2.16.0"
9
10 \header {
11   lsrtags = "keyboards, specific-notation, symbols-and-glyphs, workaround"
12
13   texidoc = "
14 Accordion discant-specific symbols are added using @code{\\markup}. The
15 placement of the symbols can be tweaked by changing the
16 @code{\\translate-scaled} arguments.  @code{\\translate-scaled} is
17 used here rather than @code{\\translate} in order to let the
18 positioning of the symbol parts adapt to changes of @code{font-size}.
19 "
20   doctitle = "Accordion-discant symbols"
21 } % begin verbatim
22
23
24 discant = \markup {
25   \musicglyph #"accordion.discant"
26 }
27 dot = \markup {
28   \musicglyph #"accordion.dot"
29 }
30
31 \layout { ragged-right = ##t }
32
33 % 16 voets register
34 accBasson = ^\markup {
35   \combine
36   \discant
37   \translate-scaled #'(0 . 0.5) \dot
38 }
39
40 % een korig 8 en 16 voets register
41 accBandon = ^\markup {
42   \combine
43     \discant
44     \combine
45       \translate-scaled #'(0 . 0.5) \dot
46       \translate-scaled #'(0 . 1.5) \dot
47 }
48
49 accVCello = ^\markup {
50   \combine
51     \discant
52     \combine
53       \translate-scaled #'(0 . 0.5) \dot
54       \combine
55         \translate-scaled #'(0 . 1.5) \dot
56         \translate-scaled #'(1 . 1.5) \dot
57 }
58
59 % 4-8-16 voets register
60 accHarmon = ^\markup {
61   \combine
62     \discant
63     \combine
64       \translate-scaled #'(0 . 0.5) \dot
65       \combine
66         \translate-scaled #'(0 . 1.5) \dot
67         \translate-scaled #'(0 . 2.5) \dot
68 }
69
70 accTrombon = ^\markup {
71   \combine
72     \discant
73     \combine
74       \translate-scaled #'(0 . 0.5) \dot
75       \combine
76         \translate-scaled #'(0 . 1.5) \dot
77         \combine
78           \translate-scaled #'(1 . 1.5) \dot
79           \translate-scaled #'(-1 . 1.5) \dot
80 }
81
82 % eenkorig 4 en 16 voets register
83 accOrgan = ^\markup {
84   \combine
85     \discant
86     \combine
87       \translate-scaled #'(0 . 0.5) \dot
88       \translate-scaled #'(0 . 2.5) \dot
89 }
90
91 accMaster = ^\markup {
92   \combine
93     \discant
94     \combine
95       \translate-scaled #'(0 . 0.5) \dot
96       \combine
97         \translate-scaled #'(0 . 1.5) \dot
98         \combine
99           \translate-scaled #'(1 . 1.5) \dot
100           \combine
101             \translate-scaled #'(-1 . 1.5) \dot
102             \translate-scaled #'(0 . 2.5) \dot
103 }
104
105 accAccord = ^\markup {
106   \combine
107     \discant
108     \combine
109       \translate-scaled #'(0 . 1.5) \dot
110       \combine
111         \translate-scaled #'(1 . 1.5) \dot
112         \combine
113           \translate-scaled #'(-1 . 1.5) \dot
114           \translate-scaled #'(0 . 2.5) \dot
115 }
116
117 accMusette = ^\markup {
118   \combine
119     \discant
120     \combine
121       \translate-scaled #'(0 . 1.5) \dot
122       \combine
123         \translate-scaled #'(1 . 1.5) \dot
124         \translate-scaled #'(-1 . 1.5) \dot
125 }
126
127 accCeleste = ^\markup {
128   \combine
129     \discant
130     \combine
131       \translate-scaled #'(0 . 1.5) \dot
132       \translate-scaled #'(-1 . 1.5) \dot
133 }
134
135 accOboe = ^\markup {
136   \combine
137     \discant
138     \combine
139       \translate-scaled #'(0 . 1.5) \dot
140       \translate-scaled #'(0 . 2.5) \dot
141 }
142
143 accClarin = ^\markup {
144   \combine
145     \discant
146     \translate-scaled #'(0 . 1.5) \dot
147 }
148
149 accPiccolo = ^\markup {
150     \combine
151        \discant
152        \translate-scaled #'(0 . 2.5) \dot
153 }
154
155 accViolin = ^\markup {
156   \combine
157     \discant
158     \combine
159       \translate-scaled #'(0 . 1.5) \dot
160       \combine
161         \translate-scaled #'(1 . 1.5) \dot
162         \translate-scaled #'(0 . 2.5) \dot
163 }
164
165 \relative c'' {
166   c4 d\accBasson e f
167   c4 d\accBandon e f
168   c4 d\accVCello e f
169   c4 d\accHarmon e f
170   c4 d\accTrombon e f
171   \break
172   c4 d\accOrgan e f
173   c4 d\accMaster e f
174   c4 d\accAccord e f
175   c4 d\accMusette e f
176   c4 d\accCeleste e f
177   \break
178   c4 d\accOboe e f
179   c4 d\accClarin e f
180   c4 d\accPiccolo e f
181   c4 d\accViolin e f
182 }