Wrong tempo after fermata if tempo change added in front

• Mar 4, 2016 - 18:39
Type
Functional
Severity
S4 - Minor
Status
closed
Project

GIT commit: f51dc11

When changing the Time-Stretch value for a fermata and then setting a tempo, the music plays fine until it reaches the fermata, the pause is correct but when the playback resumes, the tempo is no longer correct.

https://musescore.org/en/node/100776 explains in more detail.


Comments

I recall a number of other related bugs being fixed quite a while back; I'm kind of surprised this one hadn't been noticed until now. I believe the issue will turn out to be in Score::fixTicks().

Here are precise steps:

1) my first score
2) fill first two measures with quarter notes
3) add fermata to last quarter note of first measure
4) change time stretch of fermata to 2
5) add tempo text to first note of first measure, quarter = 800
6) play

Result: first measure plays very quickly (800 bpm), then there is a long pause at the fermata (too long - it's scaled according to the default tempo, I think), then the second measure resume at the default tempo instead of at 800 bpm.

Workaround. If you save the sore and reopen it, the things work fine.

Sometimes helps only saving.

Same problem happen, if someone change the relative tempo.