-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix #20853: [MusicXML import] sound element's tempo attribute ignored
- Loading branch information
Showing
6 changed files
with
546 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,106 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE score-partwise PUBLIC "-//Recordare//DTD MusicXML 2.0 Partwise//EN" "http://www.musicxml.org/dtds/partwise.dtd"> | ||
<score-partwise> | ||
<part-list> | ||
<score-part id="P1"> | ||
<part-name>Music</part-name> | ||
</score-part> | ||
</part-list> | ||
<part id="P1"> | ||
<measure number="1"> | ||
<attributes> | ||
<divisions>1</divisions> | ||
<key> | ||
<fifths>0</fifths> | ||
<mode>major</mode> | ||
</key> | ||
<time> | ||
<beats>4</beats> | ||
<beat-type>4</beat-type> | ||
</time> | ||
<clef> | ||
<sign>G</sign> | ||
<line>2</line> | ||
</clef> | ||
</attributes> | ||
<sound tempo="60"/> | ||
<note> | ||
<pitch> | ||
<step>C</step> | ||
<octave>4</octave> | ||
</pitch> | ||
<duration>1</duration> | ||
<type>quarter</type> | ||
</note> | ||
<note> | ||
<pitch> | ||
<step>D</step> | ||
<octave>4</octave> | ||
</pitch> | ||
<duration>1</duration> | ||
<type>quarter</type> | ||
</note> | ||
<note> | ||
<pitch> | ||
<step>E</step> | ||
<octave>4</octave> | ||
</pitch> | ||
<duration>1</duration> | ||
<type>quarter</type> | ||
</note> | ||
<note> | ||
<pitch> | ||
<step>F</step> | ||
<octave>4</octave> | ||
</pitch> | ||
<duration>1</duration> | ||
<type>quarter</type> | ||
</note> | ||
</measure> | ||
<measure number="2"> | ||
<note> | ||
<pitch> | ||
<step>G</step> | ||
<octave>4</octave> | ||
</pitch> | ||
<duration>1</duration> | ||
<type>quarter</type> | ||
</note> | ||
<note> | ||
<pitch> | ||
<step>F</step> | ||
<octave>4</octave> | ||
</pitch> | ||
<duration>1</duration> | ||
<type>quarter</type> | ||
</note> | ||
<note> | ||
<pitch> | ||
<step>E</step> | ||
<octave>4</octave> | ||
</pitch> | ||
<duration>1</duration> | ||
<type>quarter</type> | ||
</note> | ||
<note> | ||
<pitch> | ||
<step>D</step> | ||
<octave>4</octave> | ||
</pitch> | ||
<duration>1</duration> | ||
<type>quarter</type> | ||
</note> | ||
</measure> | ||
<measure number="3"> | ||
<note> | ||
<pitch> | ||
<step>C</step> | ||
<octave>4</octave> | ||
</pitch> | ||
<duration>4</duration> | ||
<voice>1</voice> | ||
<type>whole</type> | ||
</note> | ||
</measure> | ||
</part> | ||
</score-partwise> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,149 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE score-partwise PUBLIC "-//Recordare//DTD MusicXML 3.0 Partwise//EN" "http://www.musicxml.org/dtds/partwise.dtd"> | ||
<score-partwise> | ||
<identification> | ||
<encoding> | ||
<software>MuseScore 0.7.0</software> | ||
<encoding-date>2007-09-10</encoding-date> | ||
<supports element="accidental" type="yes"/> | ||
<supports element="beam" type="yes"/> | ||
<supports element="print" attribute="new-page" type="no"/> | ||
<supports element="print" attribute="new-system" type="no"/> | ||
<supports element="stem" type="yes"/> | ||
</encoding> | ||
</identification> | ||
<part-list> | ||
<score-part id="P1"> | ||
<part-name>Music</part-name> | ||
<score-instrument id="P1-I1"> | ||
<instrument-name></instrument-name> | ||
</score-instrument> | ||
<midi-device id="P1-I1" port="1"></midi-device> | ||
<midi-instrument id="P1-I1"> | ||
<midi-channel>1</midi-channel> | ||
<volume>78.7402</volume> | ||
<pan>0</pan> | ||
</midi-instrument> | ||
</score-part> | ||
</part-list> | ||
<part id="P1"> | ||
<measure number="1"> | ||
<attributes> | ||
<divisions>1</divisions> | ||
<key> | ||
<fifths>0</fifths> | ||
</key> | ||
<time> | ||
<beats>4</beats> | ||
<beat-type>4</beat-type> | ||
</time> | ||
<clef> | ||
<sign>G</sign> | ||
<line>2</line> | ||
</clef> | ||
</attributes> | ||
<direction placement="above"> | ||
<direction-type> | ||
<metronome parentheses="no"> | ||
<beat-unit>quarter</beat-unit> | ||
<per-minute>60</per-minute> | ||
</metronome> | ||
</direction-type> | ||
<sound tempo="60"/> | ||
</direction> | ||
<note> | ||
<pitch> | ||
<step>C</step> | ||
<octave>4</octave> | ||
</pitch> | ||
<duration>1</duration> | ||
<voice>1</voice> | ||
<type>quarter</type> | ||
<stem>up</stem> | ||
</note> | ||
<note> | ||
<pitch> | ||
<step>D</step> | ||
<octave>4</octave> | ||
</pitch> | ||
<duration>1</duration> | ||
<voice>1</voice> | ||
<type>quarter</type> | ||
<stem>up</stem> | ||
</note> | ||
<note> | ||
<pitch> | ||
<step>E</step> | ||
<octave>4</octave> | ||
</pitch> | ||
<duration>1</duration> | ||
<voice>1</voice> | ||
<type>quarter</type> | ||
<stem>up</stem> | ||
</note> | ||
<note> | ||
<pitch> | ||
<step>F</step> | ||
<octave>4</octave> | ||
</pitch> | ||
<duration>1</duration> | ||
<voice>1</voice> | ||
<type>quarter</type> | ||
<stem>up</stem> | ||
</note> | ||
</measure> | ||
<measure number="2"> | ||
<note> | ||
<pitch> | ||
<step>G</step> | ||
<octave>4</octave> | ||
</pitch> | ||
<duration>1</duration> | ||
<voice>1</voice> | ||
<type>quarter</type> | ||
<stem>up</stem> | ||
</note> | ||
<note> | ||
<pitch> | ||
<step>F</step> | ||
<octave>4</octave> | ||
</pitch> | ||
<duration>1</duration> | ||
<voice>1</voice> | ||
<type>quarter</type> | ||
<stem>up</stem> | ||
</note> | ||
<note> | ||
<pitch> | ||
<step>E</step> | ||
<octave>4</octave> | ||
</pitch> | ||
<duration>1</duration> | ||
<voice>1</voice> | ||
<type>quarter</type> | ||
<stem>up</stem> | ||
</note> | ||
<note> | ||
<pitch> | ||
<step>D</step> | ||
<octave>4</octave> | ||
</pitch> | ||
<duration>1</duration> | ||
<voice>1</voice> | ||
<type>quarter</type> | ||
<stem>up</stem> | ||
</note> | ||
</measure> | ||
<measure number="3"> | ||
<note> | ||
<pitch> | ||
<step>C</step> | ||
<octave>4</octave> | ||
</pitch> | ||
<duration>4</duration> | ||
<voice>1</voice> | ||
<type>whole</type> | ||
</note> | ||
</measure> | ||
</part> | ||
</score-partwise> |
Oops, something went wrong.