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