The loop playback doesn't play until the end of a measure of which the last "note/rest" is a rest

• Nov 20, 2022 - 15:57
Reported version
3.6
Type
Functional
Frequency
Once
Severity
S4 - Minor
Reproducibility
Always
Status
GitHub issue
Regression
No
Workaround
No
Project

Take a 2 measures pattern ending with a rest.
Select the entire pattern and "loop playback".
The 2nd measure is not played until its end when looping back to start. It plays until its last note.

Attachment Size
mcveLoopError.mscz 3.88 KB

Comments

There is a variety of buggy behavior in v3.7 and v4.1.1 when looping measures containing rests (v3.6.2 shows this behavior and worse). Does not look like these have been entered in GitHub for either v3.7 or v4.1.1 ( is:issue is:open rest in:title loop in:title )
Should I do so ? I'm thinking one issue containing examples of all the bugs ...

In reply to by BanjoJake

Your example is similar to the following issue: Section break and repeat sign don't play as expected which is reported on GitHub as [MU4 Issue] Incorrect repeat when section break is present.

Similar but not exactly the same: your case is about the loop playback while the GitHUb's issue is about repeat signs but in the same situation : a section break at the repeat/loop point.
You could either amend this issue or create a new one and link the 2 issues. Because I guess, that technically I should be a identical (or really close) solution.

PS: For the record, my original issue ("The loop playback doesn't play until the end of a measure of which the last "note/rest" is a rest") is fixed in 4.1.1

In reply to by Jojo-Schmitz

Submitted github.com/Jojo-Schmitz/MuseScore/issues/158 (Repeat and Playback Loop delays when section break is present) . Noted that it is in fact the same bug as github.com/musescore/issues/14262 - the presence of a section break affects both repeat sign and loop playback in unexpected ways. I no longer consider this urgent given the work-arounds provided in 14262.