]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/musicxml/16a-TransposingInstruments.xml
MusicXML: Implement support for transposed instruments
[lilypond.git] / input / regression / musicxml / 16a-TransposingInstruments.xml
1 <?xml version="1.0" encoding="UTF-8"?>\r
2 <!DOCTYPE score-partwise PUBLIC "-//Recordare//DTD MusicXML 1.1 Partwise//EN"\r
3                                 "http://www.musicxml.org/dtds/partwise.dtd">\r
4 <score-partwise version="1.1">\r
5   <identification>\r
6     <miscellaneous>\r
7       <miscellaneous-field name="description">Transposing instruments: Trumpet \r
8           in Bb, Horn in Eb, Piano; All of them show the C major scale (the \r
9           trumpet with 2 sharp, the horn with 3 sharp).</miscellaneous-field>\r
10     </miscellaneous>\r
11   </identification>\r
12   <part-list>\r
13     <score-part id="P1">\r
14       <part-name>Trumpet in Bb</part-name>\r
15       <part-abbreviation>Bb Tpt.</part-abbreviation>\r
16     </score-part>\r
17     <score-part id="P2">\r
18       <part-name>Horn in Eb</part-name>\r
19       <part-abbreviation>Hn.</part-abbreviation>\r
20     </score-part>\r
21     <score-part id="P3">\r
22       <part-name>Piano</part-name>\r
23     </score-part>\r
24   </part-list>\r
25   <!--=========================================================-->\r
26   <part id="P1">\r
27     <measure number="1">\r
28       <attributes>\r
29         <divisions>1</divisions>\r
30         <key>\r
31           <fifths>2</fifths>\r
32           <mode>major</mode>\r
33         </key>\r
34         <time symbol="common">\r
35           <beats>4</beats>\r
36           <beat-type>4</beat-type>\r
37         </time>\r
38         <clef>\r
39           <sign>G</sign>\r
40           <line>2</line>\r
41         </clef>\r
42         <transpose>\r
43           <diatonic>-1</diatonic>\r
44           <chromatic>-2</chromatic>\r
45         </transpose>\r
46       </attributes>\r
47       <note>\r
48         <pitch>\r
49           <step>D</step>\r
50           <octave>4</octave>\r
51         </pitch>\r
52         <duration>1</duration>\r
53         <voice>1</voice>\r
54         <type>quarter</type>\r
55       </note>\r
56       <note>\r
57         <pitch>\r
58           <step>E</step>\r
59           <octave>4</octave>\r
60         </pitch>\r
61         <duration>1</duration>\r
62         <voice>1</voice>\r
63         <type>quarter</type>\r
64       </note>\r
65       <note>\r
66         <pitch>\r
67           <step>F</step>\r
68           <alter>1</alter>\r
69           <octave>4</octave>\r
70         </pitch>\r
71         <duration>1</duration>\r
72         <voice>1</voice>\r
73         <type>quarter</type>\r
74       </note>\r
75       <note>\r
76         <pitch>\r
77           <step>G</step>\r
78           <octave>4</octave>\r
79         </pitch>\r
80         <duration>1</duration>\r
81         <voice>1</voice>\r
82         <type>quarter</type>\r
83       </note>\r
84     </measure>\r
85     <!--=======================================================-->\r
86     <measure number="2">\r
87       <note>\r
88         <pitch>\r
89           <step>A</step>\r
90           <octave>4</octave>\r
91         </pitch>\r
92         <duration>1</duration>\r
93         <voice>1</voice>\r
94         <type>quarter</type>\r
95       </note>\r
96       <note>\r
97         <pitch>\r
98           <step>B</step>\r
99           <octave>4</octave>\r
100         </pitch>\r
101         <duration>1</duration>\r
102         <voice>1</voice>\r
103         <type>quarter</type>\r
104       </note>\r
105       <note>\r
106         <pitch>\r
107           <step>C</step>\r
108           <alter>1</alter>\r
109           <octave>5</octave>\r
110         </pitch>\r
111         <duration>1</duration>\r
112         <voice>1</voice>\r
113         <type>quarter</type>\r
114       </note>\r
115       <note>\r
116         <pitch>\r
117           <step>D</step>\r
118           <octave>5</octave>\r
119         </pitch>\r
120         <duration>1</duration>\r
121         <voice>1</voice>\r
122         <type>quarter</type>\r
123       </note>\r
124       <barline location="right">\r
125         <bar-style>light-heavy</bar-style>\r
126       </barline>\r
127     </measure>\r
128   </part>\r
129   <!--=========================================================-->\r
130   <part id="P2">\r
131     <measure number="1">\r
132       <attributes>\r
133         <divisions>1</divisions>\r
134         <key>\r
135           <fifths>3</fifths>\r
136           <mode>major</mode>\r
137         </key>\r
138         <time symbol="common">\r
139           <beats>4</beats>\r
140           <beat-type>4</beat-type>\r
141         </time>\r
142         <clef>\r
143           <sign>G</sign>\r
144           <line>2</line>\r
145         </clef>\r
146         <transpose>\r
147           <diatonic>-5</diatonic>\r
148           <chromatic>-9</chromatic>\r
149         </transpose>\r
150       </attributes>\r
151       <note>\r
152         <pitch>\r
153           <step>A</step>\r
154           <octave>4</octave>\r
155         </pitch>\r
156         <duration>1</duration>\r
157         <voice>1</voice>\r
158         <type>quarter</type>\r
159       </note>\r
160       <note>\r
161         <pitch>\r
162           <step>B</step>\r
163           <octave>4</octave>\r
164         </pitch>\r
165         <duration>1</duration>\r
166         <voice>1</voice>\r
167         <type>quarter</type>\r
168       </note>\r
169       <note>\r
170         <pitch>\r
171           <step>C</step>\r
172           <alter>1</alter>\r
173           <octave>5</octave>\r
174         </pitch>\r
175         <duration>1</duration>\r
176         <voice>1</voice>\r
177         <type>quarter</type>\r
178       </note>\r
179       <note>\r
180         <pitch>\r
181           <step>D</step>\r
182           <octave>5</octave>\r
183         </pitch>\r
184         <duration>1</duration>\r
185         <voice>1</voice>\r
186         <type>quarter</type>\r
187       </note>\r
188     </measure>\r
189     <!--=======================================================-->\r
190     <measure number="2">\r
191       <note>\r
192         <pitch>\r
193           <step>E</step>\r
194           <octave>5</octave>\r
195         </pitch>\r
196         <duration>1</duration>\r
197         <voice>1</voice>\r
198         <type>quarter</type>\r
199       </note>\r
200       <note>\r
201         <pitch>\r
202           <step>F</step>\r
203           <alter>1</alter>\r
204           <octave>5</octave>\r
205         </pitch>\r
206         <duration>1</duration>\r
207         <voice>1</voice>\r
208         <type>quarter</type>\r
209       </note>\r
210       <note>\r
211         <pitch>\r
212           <step>G</step>\r
213           <alter>1</alter>\r
214           <octave>5</octave>\r
215         </pitch>\r
216         <duration>1</duration>\r
217         <voice>1</voice>\r
218         <type>quarter</type>\r
219       </note>\r
220       <note>\r
221         <pitch>\r
222           <step>A</step>\r
223           <octave>5</octave>\r
224         </pitch>\r
225         <duration>1</duration>\r
226         <voice>1</voice>\r
227         <type>quarter</type>\r
228       </note>\r
229       <barline location="right">\r
230         <bar-style>light-heavy</bar-style>\r
231       </barline>\r
232     </measure>\r
233   </part>\r
234   <!--=========================================================-->\r
235   <part id="P3">\r
236     <measure number="1">\r
237       <attributes>\r
238         <divisions>1</divisions>\r
239         <key>\r
240           <fifths>0</fifths>\r
241           <mode>major</mode>\r
242         </key>\r
243         <time symbol="common">\r
244           <beats>4</beats>\r
245           <beat-type>4</beat-type>\r
246         </time>\r
247         <clef>\r
248           <sign>G</sign>\r
249           <line>2</line>\r
250         </clef>\r
251       </attributes>\r
252       <note>\r
253         <pitch>\r
254           <step>C</step>\r
255           <octave>4</octave>\r
256         </pitch>\r
257         <duration>1</duration>\r
258         <voice>1</voice>\r
259         <type>quarter</type>\r
260       </note>\r
261       <note>\r
262         <pitch>\r
263           <step>D</step>\r
264           <octave>4</octave>\r
265         </pitch>\r
266         <duration>1</duration>\r
267         <voice>1</voice>\r
268         <type>quarter</type>\r
269       </note>\r
270       <note>\r
271         <pitch>\r
272           <step>E</step>\r
273           <octave>4</octave>\r
274         </pitch>\r
275         <duration>1</duration>\r
276         <voice>1</voice>\r
277         <type>quarter</type>\r
278       </note>\r
279       <note>\r
280         <pitch>\r
281           <step>F</step>\r
282           <octave>4</octave>\r
283         </pitch>\r
284         <duration>1</duration>\r
285         <voice>1</voice>\r
286         <type>quarter</type>\r
287       </note>\r
288     </measure>\r
289     <!--=======================================================-->\r
290     <measure number="2">\r
291       <note>\r
292         <pitch>\r
293           <step>G</step>\r
294           <octave>4</octave>\r
295         </pitch>\r
296         <duration>1</duration>\r
297         <voice>1</voice>\r
298         <type>quarter</type>\r
299       </note>\r
300       <note>\r
301         <pitch>\r
302           <step>A</step>\r
303           <octave>4</octave>\r
304         </pitch>\r
305         <duration>1</duration>\r
306         <voice>1</voice>\r
307         <type>quarter</type>\r
308       </note>\r
309       <note>\r
310         <pitch>\r
311           <step>B</step>\r
312           <octave>4</octave>\r
313         </pitch>\r
314         <duration>1</duration>\r
315         <voice>1</voice>\r
316         <type>quarter</type>\r
317       </note>\r
318       <note>\r
319         <pitch>\r
320           <step>C</step>\r
321           <octave>5</octave>\r
322         </pitch>\r
323         <duration>1</duration>\r
324         <voice>1</voice>\r
325         <type>quarter</type>\r
326       </note>\r
327       <barline location="right">\r
328         <bar-style>light-heavy</bar-style>\r
329       </barline>\r
330     </measure>\r
331   </part>\r
332   <!--=========================================================-->\r
333 </score-partwise>\r