I run Windows 10 and I use PrintMusic to validate the MusicXML 4.0 generated by my own music program. Here is my PrintMusic version:
I am having trouble with triplets in 3/2 time. my mickeymouse test file prints like this:
It also generates a MusicXML 4.0 file which, when imported to PrintMusic, is interpreted like this:
As you can see, the triplets in bar 7 are crazy. I will attach my XML file if I can.
Meanwhile here is how bar 7 in part 1 is coded by my program:
<measure number="7">
<note>
<pitch>
<step>B</step>
<alter>-1</alter>
<octave>4</octave>
</pitch>
<duration>16</duration>
<type>quarter</type>
<time-modification>
<actual-notes>9</actual-notes>
<normal-notes>4</normal-notes>
</time-modification>
<notations>
<tuplet type="start" placement="above">
</tuplet>
</notations>
<lyric>
<syllabic>single</syllabic>
<text>O</text>
</lyric>
</note>
<note>
<pitch>
<step>A</step>
<octave>4</octave>
</pitch>
<duration>16</duration>
<type>quarter</type>
<time-modification>
<actual-notes>9</actual-notes>
<normal-notes>4</normal-notes>
</time-modification>
<lyric>
<syllabic>single</syllabic>
<text>O</text>
</lyric>
</note>
<note>
<pitch>
<step>G</step>
<octave>4</octave>
</pitch>
<duration>16</duration>
<type>quarter</type>
<time-modification>
<actual-notes>9</actual-notes>
<normal-notes>4</normal-notes>
</time-modification>
<notations>
<tuplet type="stop"/>
</notations>
<lyric>
<syllabic>single</syllabic>
<text>O</text>
</lyric>
</note>
<note>
<pitch>
<step>G</step>
<octave>4</octave>
</pitch>
<duration>32</duration>
<type>half</type>
<time-modification>
<actual-notes>9</actual-notes>
<normal-notes>4</normal-notes>
</time-modification>
<notations>
<tuplet type="start" placement="above">
</tuplet>
</notations>
<lyric>
<syllabic>single</syllabic>
<text>O</text>
<extend type="start"/>
</lyric>
</note>
<note>
<pitch>
<step>A</step>
<octave>4</octave>
</pitch>
<duration>16</duration>
<type>quarter</type>
<time-modification>
<actual-notes>9</actual-notes>
<normal-notes>4</normal-notes>
</time-modification>
<notations>
<tuplet type="stop"/>
</notations>
<lyric>
<extend type="stop"/>
</lyric>
</note>
<note>
<pitch>
<step>B</step>
<alter>-1</alter>
<octave>4</octave>
</pitch>
<duration>16</duration>
<type>quarter</type>
<time-modification>
<actual-notes>9</actual-notes>
<normal-notes>4</normal-notes>
</time-modification>
<notations>
<tuplet type="start" placement="above">
</tuplet>
</notations>
<lyric>
<syllabic>single</syllabic>
<text>O</text>
<extend type="start"/>
</lyric>
</note>
<note>
<pitch>
<step>A</step>
<octave>4</octave>
</pitch>
<duration>16</duration>
<type>quarter</type>
<time-modification>
<actual-notes>9</actual-notes>
<normal-notes>4</normal-notes>
</time-modification>
<lyric>
<extend type="continue"/>
</lyric>
</note>
<note>
<pitch>
<step>G</step>
<octave>4</octave>
</pitch>
<duration>16</duration>
<type>quarter</type>
<time-modification>
<actual-notes>9</actual-notes>
<normal-notes>4</normal-notes>
</time-modification>
<notations>
<tuplet type="stop"/>
</notations>
<lyric>
<extend type="stop"/>
</lyric>
</note>
<barline/>
</measure>
If I omit the <tuplet> lines completely, the notes are correctly spaced for triplets, but not identified as such. I have done triplets it 2/2 time, but nothing I've tried has made simple triplets in 3/2 time.
Can you help? Thanks, -John Hetland




24 comments
Date Votes