Loop playback doesn't count rests at end of final measure

• Dec 2, 2016 - 17:31
Priority
P1 - High
Type
Functional
Frequency
Many
Severity
S4 - Minor
Reproducibility
Always
Status
closed
Regression
No
Workaround
No
Project

Szenario

For study-purposes, I've created some very small scores with basic frame-drum notations.
Now, 1st for testing the scores and 2nd for training the scores with my drums, I mark the stave and select the loop playback.

Problem

The playback ignores the timing of the last rest. In my attached sample, it loops with 7/8th instead of 4/4th

You can see the effect watching the blue cursor while playback. If you turn the metronome on, you'll hear that the beats are not 4/4.

To be precise, my Version is 2.0.6. In my forum post I was told, that the problem exists too in latest dev. build.

Attachment Size
Loop Test.mscx 5.61 KB

Comments

Frequency Few Many
Severity S4 - Minor S3 - Major
Reported version 3.4

I have the same bug in 3.4.2

It is very important to fix this bug, that indeed only occurs in the very last measure of a piece.
A friend told me that they have decided to use musescore in their music school. It is indispensable, that the pupils hear a song correctly with the rest, when they it play and hear it over and over via loop.

Status PR created fixed

Fixed in branch master, commit ca83e84004

_fix #148311: loop playback ignores rests at the end of the last measure

The issue is fixed by adding dummy note events to end of loop
before playback, because the sequencer only looks for the last event
in the events map before looping back._

Fix version
3.5.0