File tree Expand file tree Collapse file tree 3 files changed +108
-0
lines changed
Expand file tree Collapse file tree 3 files changed +108
-0
lines changed Original file line number Diff line number Diff line change @@ -31,6 +31,9 @@ def test_tuplet():
3131 compare_output ('tuplet' )
3232
3333
34+ def test_break ():
35+ compare_output ('break' )
36+
3437def ly_to_xml (filename ):
3538 """Read Lilypond file and return XML string."""
3639 writer = ly .musicxml .writer ()
Original file line number Diff line number Diff line change 1+ \score {
2+ \relative c' {
3+ c1 | \break
4+ c | c | \break
5+ c | c | c 1
6+ }
7+ \layout {}
8+ }
Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" encoding =" utf-8" ?>
2+ <!DOCTYPE score-partwise PUBLIC "-//Recordare//DTD MusicXML 2.0 Partwise//EN"
3+ "http://www.musicxml.org/dtds/partwise.dtd">
4+ <score-partwise version =" 3.0" >
5+ <identification >
6+ <encoding >
7+ <software >python-ly 0.9.5</software >
8+ <encoding-date >2017-03-25</encoding-date >
9+ </encoding >
10+ </identification >
11+ <part-list >
12+ <score-part id =" P1" >
13+ <part-name />
14+ </score-part >
15+ </part-list >
16+ <part id =" P1" >
17+ <measure number =" 1" >
18+ <attributes >
19+ <divisions >1</divisions >
20+ <time symbol =" common" >
21+ <beats >4</beats >
22+ <beat-type >4</beat-type >
23+ </time >
24+ <clef >
25+ <sign >G</sign >
26+ <line >2</line >
27+ </clef >
28+ </attributes >
29+ <note >
30+ <pitch >
31+ <step >C</step >
32+ <octave >4</octave >
33+ </pitch >
34+ <duration >4</duration >
35+ <voice >1</voice >
36+ <type >whole</type >
37+ </note >
38+ </measure >
39+ <measure number =" 2" >
40+ <print new-system =" yes" />
41+ <note >
42+ <pitch >
43+ <step >C</step >
44+ <octave >4</octave >
45+ </pitch >
46+ <duration >4</duration >
47+ <voice >1</voice >
48+ <type >whole</type >
49+ </note >
50+ </measure >
51+ <measure number =" 3" >
52+ <note >
53+ <pitch >
54+ <step >C</step >
55+ <octave >4</octave >
56+ </pitch >
57+ <duration >4</duration >
58+ <voice >1</voice >
59+ <type >whole</type >
60+ </note >
61+ </measure >
62+ <measure number =" 4" >
63+ <print new-system =" yes" />
64+ <note >
65+ <pitch >
66+ <step >C</step >
67+ <octave >4</octave >
68+ </pitch >
69+ <duration >4</duration >
70+ <voice >1</voice >
71+ <type >whole</type >
72+ </note >
73+ </measure >
74+ <measure number =" 5" >
75+ <note >
76+ <pitch >
77+ <step >C</step >
78+ <octave >4</octave >
79+ </pitch >
80+ <duration >4</duration >
81+ <voice >1</voice >
82+ <type >whole</type >
83+ </note >
84+ </measure >
85+ <measure number =" 6" >
86+ <note >
87+ <pitch >
88+ <step >C</step >
89+ <octave >4</octave >
90+ </pitch >
91+ <duration >4</duration >
92+ <voice >1</voice >
93+ <type >whole</type >
94+ </note >
95+ </measure >
96+ </part >
97+ </score-partwise >
You can’t perform that action at this time.
0 commit comments