A bug in Ottava?

• May 6, 2017 - 19:51

I've found what seems to be a bug in the ottava line. Sometimes a parasitic ottava is superimposed to the intended one. As it doesn't have an end marker, it goes all the way through the end.

Trying to investigate the reason I've saved the file as mscx and looked at it with a text viewer. At the bottom I paste the fragment where that happens and the corresponding XML code (left hand staff code only). I have indented the Ottava-related code.

As can be seen, there is an ottava tag at the end of previous measure (which shouldn't be there) and then it appears again (with the same ID) at the beginning of the measure, but there is only one endSpanner (I'm not quite an expert but I presume this is the delimiter of the time span
of the ottava mark).

Fortunately, the ottava is not applied farther than the intended span during playback (probably the shorter span overrides the longer one), but it shows in the score. I can delete it and correctly export to PDF, I can save the debugged file, but when I open it again the problem persists.

I wasn't able to track what condition leads to the problem. May be this has happened before.

I'm using MuseScore 2.03, I'm not updating yet to 2.1, at least until I finish my current work.

Regards,

Federico Miyara

<Chord>
<BeamMode>no</BeamMode>
<durationType>eighth</durationType>
<Note>
<pitch>33</pitch>
<tpc>17</tpc>
<velocity>69</velocity>
<veloType>user</veloType>
</Note>
<Note>
<pitch>45</pitch>
<tpc>17</tpc>
<velocity>69</velocity>
<veloType>user</veloType>
</Note>
</Chord>

    <Ottava id="4419">
    <subtype>8vb</subtype>
    <Segment>
    <subtype>0</subtype>
    <off2 x="7.81944" y="0"/>
    <pos x="54.5026" y="7.5"/>
    </Segment>
    </Ottava>

</Measure>
<Measure number="146">
<StaffText>
<pos x="0" y="-3.38268"/>
<xoffset>0</xoffset>
<yoffset>-1.1</yoffset>
<text>cresc.</text>
</StaffText>

    <Ottava id="4419">
    <subtype>8vb</subtype>
    <Segment>
    <subtype>0</subtype>
    <off2 x="7.81944" y="0"/>
    <pos x="54.5026" y="7.5"/>
    </Segment>
    </Ottava>

<Chord>
<BeamMode>no</BeamMode>
<durationType>quarter</durationType>
<Note>
<Accidental>
<subtype>sharp</subtype>
</Accidental>
<pitch>42</pitch>
<tpc>20</tpc>
<velocity>64</velocity>
<veloType>user</veloType>
</Note>
</Chord>

    <endSpanner id="4419"/>

<Rest>
<durationType>quarter</durationType>
</Rest>
<Rest>
<durationType>quarter</durationType>
</Rest>
<Tuplet id="480">
<normalNotes>2</normalNotes>
<actualNotes>3</actualNotes>
<baseNote>eighth</baseNote>
<Number>
<style>Tuplet</style>
<text>3</text>
</Number>
</Tuplet>
<Rest>
<Tuplet>480</Tuplet>
<durationType>eighth</durationType>
</Rest>
<Beam id="724">
</Beam>
<Chord>
<Tuplet>480</Tuplet>
<BeamMode>begin</BeamMode>
<durationType>eighth</durationType>
<Beam>724</Beam>
<Note>
<Accidental>
<subtype>natural</subtype>
</Accidental>
<pitch>41</pitch>
<tpc>13</tpc>
<velocity>74</velocity>
<veloType>user</veloType>
</Note>
</Chord>
<Chord>
<Tuplet>480</Tuplet>
<BeamMode>end</BeamMode>
<durationType>eighth</durationType>
<Beam>724</Beam>
<Note>
<Accidental>
<role>1</role>
<subtype>natural</subtype>
</Accidental>
<pitch>40</pitch>
<tpc>18</tpc>
<velocity>74</velocity>
<veloType>user</veloType>
</Note>
</Chord>
</Measure>

Attachment(s)
https://p3.zdusercontent.com/attachment/856168/xD1e6o2DhwVumAV3FfQPXCBI…


Comments

Do you still have an unanswered question? Please log in first to post your question.