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