Issues with playback of complex voltas

• Jul 6, 2017 - 16:20
Reported version
2.1
Type
musescore.org
Severity
S4 - Minor
Status
closed
Project

Hi all, I am working at this arrangement (Mad About You, by Sting). The [A] part is repeated 3 times, with bars 20-23 skipped on volta 2. If you play this back on Musescore or on the web (link below) you will hear that, at time 1:35, the guitar plays incorrectly bar 24, rather than jumping back to bar 12. The next bar plays ok. Score attached.

https://musescore.com/user/3587691/scores/4202801

Sorry I had to make the song public on Musescore in order to share the glitch.

Attachment Size
MadAboutYou.mscz 156.9 KB

Comments

??? Volta set 1 and 3... where volta set 2 ? MuseScore can not know what to play before continuing but still performs the requested repeat ( which should be under the volta set to 2 )
MuseScore does not handle alternate endings ( see : https://musescore.org/en/node/230361 ) and especially when they are incorrectly set.

Title Playback glitch on repeat (One instrument doesn't jump back??) Issues with playback of complex voltas

The original score is not correct - you simply cannot have a volta for 1 & 3 without hasving one for 2. That makes no musical sense, not to a human musician, not to MuseScore. So no bug there - results are simply undefined when incorrect input is given.

However, even though the example posted above also has issues (play counts for the individual endings should not be set to 4, repeat for second volta is wrong), even with these errors corrected, the desired playback is still not achieved. There are definitely issues with playback of complex roadmaps.

Thanks all. In that case, I would recommend adding a note to the handbook saying that playback of this type of configurations is not supported.

Status (old) patch (code needs review) fixed
Status fixed

Fixed in branch master, commit dd2050e2f1

fix #8604, fix #4525, fix #6091, fix #48456, fix #148276, fix #230531, fix #267778: improve volta playback
unwindSection using RepeatList as how a human will notate the volta: using the n-th time a startRepeat is taken, also slightly modified the jump detection logic to have it check for jumps only upon the last passage of a measure

Status (old) patch (code needs review) fixed
Status fixed

Fixed in branch 2.2, commit aaf88ffeb6

fix #8604, fix #4525, fix #6091, fix #48456, fix #148276, fix #230531, fix #267778: improve volta playback
unwindSection using RepeatList as how a human will notate the volta: using the n-th time a startRepeat is taken, also slightly modified the jump detection logic to have it check for jumps only upon the last passage of a measure