The 1st ending of a repeat is played twice instead of only once

• Nov 13, 2024 - 09:18

I uploaded score 'LuYehi_1.mscz'.
A repeat starts in bar 58, and has a 1st ending at bar 61, and a 2nd ending at bar 62.
Playback plays bar 61 plays twice instead of once.
And in detail:
Expected playback behaviour - Play bars 58-61, then 58-60, 62, 63, 64, etc.
Actual, wrong playback behaviour - Plays bars 58-61, then 58-60, 61, 62, 63, 64, etc.

If this is indeed a bug, here is a possible cause or related phenomenon: there is another repeat in the piece, at bars 27-32, that behaves well in playback.

Attachment Size
LuYehi_1.mscz 68.72 KB
DiagnosticsFile.zip 304 KB

Comments

In some of the other voltas (measures 17/18 and 30/31) you wrote them twice or three times. Delete these and then it will play correctly. Especially measure 31, here you tried to set the second volta on every voice. Delete them in A, T and B.

Attachment Size
LuYehi_2.mscz 30.5 KB

In reply to by HildeK

That's correct.
As shown in your snapshot, importing the MusicXml into MuseScore resulted in six (!!) 2nd voltas applied to measure 31. Three of them appear above the first stave of the system, of which two have long lines, and one (the lower one) has no horizontal line. And, strangely, the lower three staves also have each a 2nd volta symbol, with no horizontal line.
I made a minimal fix to the MuseScore file, only removing the four 2nd volta symbols at bar 31 with no horizontal line, and leaving the two 2nd volta signs on top of it.
As you predicted, that solved the problem of playing bar 61 twice.

Is there anything to be improved in MuseScore software? My suggestions:
1. Issue a warning when opening a MusicXml file (or even a MuseScore file) results in multiple voltas in a single measure. Or, worse, voltas on any stave except the upper one.
2. During playback, avoid what Einstein called "spooky action at a distance.", namely, that a spurious repetition ending at bar N would cause incorrect behaviour of some other repetition ending at bar N+K

In reply to by dovfa

It would be better if you also correct the other voltas that are set twice or three times.

The problem here is the generation software of the xml, especially that the voltas are only assigned to the end-repeat sign! This is not possible in Musescore ...

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