musescore / MuseScore

MuseScore is an open source and free music notation software. For support, contribution, bug reports, visit MuseScore.org. Fork and make pull requests!
https://musescore.org
Other
11.79k stars 2.56k forks source link

Tempo lines (rit., etc.) added while tempo slider is changed give wrong tempos #21554

Open iainhallam opened 4 months ago

iainhallam commented 4 months ago

Issue type

General playback bug

Bug description

If you add a tempo change line like a rit. while the tempo slider is moved from 100%, the initial value of the tempo at the start of the line is scaled as well. For instance, with a general tempo of q=160, adding a standard rit. would play at a tempo of 160 at the start of the line, and 120 by the end. With the tempo slider at 50%, the tempo at the start of the line is 80, and 60 by the end.

Steps to reproduce

  1. Create a new score, add a tempo indicator, say q=160, and crotchet notes for a few bars.
  2. Add a rit. from the panel over one of the middle bars.
  3. Play: observe that the tempo at the start of the line is 160bpm, and by the end of the line it's 120bpm.
  4. Delete the rit., and change the tempo slider to 50%.
  5. Add a new rit. from the panel over one of the middle bars.
  6. Play: observe that the tempo at the start of the line is now 80bpm, and by the end of the line it's 60 bpm.
  7. Change the tempo slider back to 100%.
  8. Play: observe that the faulty tempos persist.

Screenshots/Screen recordings

No response

MuseScore Version

MuseScore version (64-bit): 4.2.1-240230937, revision: github-musescore-musescore-d757433

Regression

I don't know

Operating system

OS: Windows 10 Version 2009 or later, Arch.: x86_64

Additional context

A file with the broken rit.: Rit added while tempo slider at 50%.mscz.zip

s11141827 commented 4 months ago

I'm having this problem when I type out sheet music of popular song arrangements out on musescore as a musicologist so I can analyze how they're written.