]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/musicxml/03a-Rhythm-Durations.xml
MusicXML: Fix invalid MusicXML files
[lilypond.git] / input / regression / musicxml / 03a-Rhythm-Durations.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE score-partwise PUBLIC "-//Recordare//DTD MusicXML 1.0 Partwise//EN"
3                                 "http://www.musicxml.org/dtds/partwise.dtd">
4 <score-partwise>
5   <identification>
6     <miscellaneous>
7       <miscellaneous-field name="description">All note durations, from long, 
8           brevis, whole until 128th; First with their plain values, then dotted 
9           and finally doubly-dotted.</miscellaneous-field>
10     </miscellaneous>
11   </identification>
12   <part-list>
13     <score-part id="P1">
14       <part-name>MusicXML Part</part-name>
15     </score-part>
16   </part-list>
17   <!--=========================================================-->
18   <part id="P1">
19     <measure number="1">
20       <attributes>
21         <divisions>64</divisions>
22         <key>
23           <fifths>0</fifths>
24           <mode>major</mode>
25         </key>
26         <time>
27           <beats>16</beats>
28           <beat-type>4</beat-type>
29         </time>
30         <clef>
31           <sign>G</sign>
32           <line>2</line>
33         </clef>
34       </attributes>
35       <note>
36         <pitch>
37           <step>C</step>
38           <octave>5</octave>
39         </pitch>
40         <duration>1024</duration>
41         <voice>1</voice>
42         <type>long</type>
43       </note>
44     </measure>
45     <!--=======================================================-->
46     <measure number="2">
47       <note>
48         <pitch>
49           <step>C</step>
50           <octave>5</octave>
51         </pitch>
52         <duration>512</duration>
53         <voice>1</voice>
54         <type>breve</type>
55       </note>
56       <note>
57         <pitch>
58           <step>C</step>
59           <octave>5</octave>
60         </pitch>
61         <duration>256</duration>
62         <voice>1</voice>
63         <type>whole</type>
64       </note>
65       <note>
66         <pitch>
67           <step>C</step>
68           <octave>5</octave>
69         </pitch>
70         <duration>128</duration>
71         <voice>1</voice>
72         <type>half</type>
73       </note>
74       <note>
75         <pitch>
76           <step>C</step>
77           <octave>5</octave>
78         </pitch>
79         <duration>64</duration>
80         <voice>1</voice>
81         <type>quarter</type>
82       </note>
83       <note>
84         <pitch>
85           <step>C</step>
86           <octave>5</octave>
87         </pitch>
88         <duration>32</duration>
89         <voice>1</voice>
90         <type>eighth</type>
91       </note>
92       <note>
93         <pitch>
94           <step>C</step>
95           <octave>5</octave>
96         </pitch>
97         <duration>16</duration>
98         <voice>1</voice>
99         <type>16th</type>
100       </note>
101       <note>
102         <pitch>
103           <step>C</step>
104           <octave>5</octave>
105         </pitch>
106         <duration>8</duration>
107         <voice>1</voice>
108         <type>32nd</type>
109       </note>
110       <note>
111         <pitch>
112           <step>C</step>
113           <octave>5</octave>
114         </pitch>
115         <duration>4</duration>
116         <voice>1</voice>
117         <type>64th</type>
118       </note>
119       <note>
120         <pitch>
121           <step>C</step>
122           <octave>5</octave>
123         </pitch>
124         <duration>2</duration>
125         <voice>1</voice>
126         <type>128th</type>
127       </note>
128       <note>
129         <pitch>
130           <step>C</step>
131           <octave>5</octave>
132         </pitch>
133         <duration>2</duration>
134         <voice>1</voice>
135         <type>128th</type>
136       </note>
137     </measure>
138     <!--=======================================================-->
139     <measure number="4">
140       <attributes>
141         <time>
142           <beats>24</beats>
143           <beat-type>4</beat-type>
144         </time>
145       </attributes>
146       <note>
147         <pitch>
148           <step>C</step>
149           <octave>5</octave>
150         </pitch>
151         <duration>1536</duration>
152         <voice>1</voice>
153         <type>long</type>
154         <dot/>
155       </note>
156     </measure>
157     <!--=======================================================-->
158     <measure number="5">
159       <note>
160         <pitch>
161           <step>C</step>
162           <octave>5</octave>
163         </pitch>
164         <duration>768</duration>
165         <voice>1</voice>
166         <type>breve</type>
167         <dot/>
168       </note>
169       <note>
170         <pitch>
171           <step>C</step>
172           <octave>5</octave>
173         </pitch>
174         <duration>384</duration>
175         <voice>1</voice>
176         <type>whole</type>
177         <dot/>
178       </note>
179       <note>
180         <pitch>
181           <step>C</step>
182           <octave>5</octave>
183         </pitch>
184         <duration>192</duration>
185         <voice>1</voice>
186         <type>half</type>
187         <dot/>
188       </note>
189       <note>
190         <pitch>
191           <step>C</step>
192           <octave>5</octave>
193         </pitch>
194         <duration>96</duration>
195         <voice>1</voice>
196         <type>quarter</type>
197         <dot/>
198       </note>
199       <note>
200         <pitch>
201           <step>C</step>
202           <octave>5</octave>
203         </pitch>
204         <duration>48</duration>
205         <voice>1</voice>
206         <type>eighth</type>
207         <dot/>
208       </note>
209       <note>
210         <pitch>
211           <step>C</step>
212           <octave>5</octave>
213         </pitch>
214         <duration>24</duration>
215         <voice>1</voice>
216         <type>16th</type>
217         <dot/>
218       </note>
219       <note>
220         <pitch>
221           <step>C</step>
222           <octave>5</octave>
223         </pitch>
224         <duration>12</duration>
225         <voice>1</voice>
226         <type>32nd</type>
227         <dot/>
228       </note>
229       <note>
230         <pitch>
231           <step>C</step>
232           <octave>5</octave>
233         </pitch>
234         <duration>6</duration>
235         <voice>1</voice>
236         <type>64th</type>
237         <dot/>
238       </note>
239       <note>
240         <pitch>
241           <step>C</step>
242           <octave>5</octave>
243         </pitch>
244         <duration>3</duration>
245         <voice>1</voice>
246         <type>128th</type>
247         <dot/>
248       </note>
249       <note>
250         <pitch>
251           <step>C</step>
252           <octave>5</octave>
253         </pitch>
254         <duration>3</duration>
255         <voice>1</voice>
256         <type>128th</type>
257         <dot/>
258       </note>
259     </measure>
260     <!--=======================================================-->
261     <measure number="6">
262       <attributes>
263         <time>
264           <beats>28</beats>
265           <beat-type>4</beat-type>
266         </time>
267       </attributes>
268       <note>
269         <pitch>
270           <step>C</step>
271           <octave>5</octave>
272         </pitch>
273         <duration>1792</duration>
274         <voice>1</voice>
275         <type>long</type>
276         <dot/>
277         <dot/>
278       </note>
279     </measure>
280     <!--=======================================================-->
281     <measure number="7">
282       <note>
283         <pitch>
284           <step>C</step>
285           <octave>5</octave>
286         </pitch>
287         <duration>896</duration>
288         <voice>1</voice>
289         <type>breve</type>
290         <dot/>
291         <dot/>
292       </note>
293       <note>
294         <pitch>
295           <step>C</step>
296           <octave>5</octave>
297         </pitch>
298         <duration>448</duration>
299         <voice>1</voice>
300         <type>whole</type>
301         <dot/>
302         <dot/>
303       </note>
304       <note>
305         <pitch>
306           <step>C</step>
307           <octave>5</octave>
308         </pitch>
309         <duration>224</duration>
310         <voice>1</voice>
311         <type>half</type>
312         <dot/>
313         <dot/>
314       </note>
315       <note>
316         <pitch>
317           <step>C</step>
318           <octave>5</octave>
319         </pitch>
320         <duration>112</duration>
321         <voice>1</voice>
322         <type>quarter</type>
323         <dot/>
324         <dot/>
325       </note>
326       <note>
327         <pitch>
328           <step>C</step>
329           <octave>5</octave>
330         </pitch>
331         <duration>56</duration>
332         <voice>1</voice>
333         <type>eighth</type>
334         <dot/>
335         <dot/>
336       </note>
337       <note>
338         <pitch>
339           <step>C</step>
340           <octave>5</octave>
341         </pitch>
342         <duration>28</duration>
343         <voice>1</voice>
344         <type>16th</type>
345         <dot/>
346         <dot/>
347       </note>
348       <note>
349         <pitch>
350           <step>C</step>
351           <octave>5</octave>
352         </pitch>
353         <duration>14</duration>
354         <voice>1</voice>
355         <type>32nd</type>
356         <dot/>
357         <dot/>
358       </note>
359       <note>
360         <pitch>
361           <step>C</step>
362           <octave>5</octave>
363         </pitch>
364         <duration>7</duration>
365         <voice>1</voice>
366         <type>64th</type>
367         <dot/>
368         <dot/>
369       </note>
370       <note>
371         <pitch>
372           <step>C</step>
373           <octave>5</octave>
374         </pitch>
375         <duration>7</duration>
376         <voice>1</voice>
377         <type>64th</type>
378         <dot/>
379         <dot/>
380       </note>
381       <barline location="right">
382         <bar-style>light-heavy</bar-style>
383       </barline>
384     </measure>
385   </part>
386   <!--=========================================================-->
387 </score-partwise>