Score including jumps with unanticipated playback

• Mar 10, 2019 - 00:53

I recently updated one of my scores (both available at https://musescore.com/classicman/scores/64431 and in the attachments below), and I noticed that the end of the playback was not as anticipated. The problem is that the note in the last third of bar 44 (numbered as 47 in the programme) is played even though there is a “Fine” in the preceding bar.

Please note: The attached updated score is made in MuseScore 2.3.2, but the bug is also present in MuseScore 3.0.4.


Comments

In reply to by Shoichi

Strangely, your revision fixed the problem. However, what I denoted as Scherzo D. C. should have the same behaviour as D.C. al Fine in your attachment. I have another example with a similar behaviour as my attached score above. I have used both D.C. al Fine (rewritten as Menuetto da Capo al Fine) and Fine.

Coincidentally, it is still bar 44!

In reply to by Shoichi

Thank you very much! I checked the scores you have included, and they worked as intended.

However, the bar number for both of the revised scores were incorrect. Therefore, I decremented the bar number for both the pieces. When replaying the score after this, the bug I have mentioned sometimes now, reappeared. When I incremented the bar number in question in both my original scores, the bug did not appear.

Based on these examples, I suspect that the programme will continue to play the following bar, if they have the same bar number, even though a Fine is added to the first bar. What do you think?

In reply to by ClassicMan19

The issue seems indeed induced by the -1 given to the following measure, somehow making MuseScore think this is the same measure in this regard.
Rather keeping the offset at 0 but checking Exclude from measure count for the second part of the split measure does result in the correct behavior.

In reply to by mike320

I'm currently reading through the code to understand this, it could be that it only actually affects jump instructions where two consecutive measures have the same resulting number. Although I think that at the time I wrote this, I referred to "internal" measure numbers, which shouldn't be affected by this values (but perhaps memory serves me wrong here…)

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