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
12.33k stars 2.66k forks source link

Metric modulation markings don't respect previous tempo #15655

Open MarcSabatella opened 1 year ago

MarcSabatella commented 1 year ago

Describe the bug Metric modulations (like quarter = dotted quarter) do not affect playback when added to a score, but take effect after toggling "Follow written tempo" off and back on

BK Edit (note to developers): metric modulation markings seem to reset the tempo to 120bpm, rather than respecting the written tempo. This is why toggling "Follow written tempo" on and off works to achieve the expected metric modulation. Ideally, when adding metric modulations, they should automatically follow the written tempo.

To Reproduce Steps to reproduce the behavior:

  1. Fill a score with eighths
  2. Change from 4/4 to 6/8
  3. Add quarter = dotted quarter from Tempo palette
  4. Play
  5. Hear error: eighths stay constant

Expected behavior The eighths should get quicker so the beat stays constant (quarter in 4/4 same tempo as dotted quarter in 6/8)

Platform information

Additional context It is fixed up toggling the "Follow written tempo" off and on. It remains fixed even if you change the original tempo - the metric modulation does correctly adjust to the new tempo. So it's only off when first added.

MarcSabatella commented 1 year ago

It seems to also work if there are other tempo markings added first. Not sure exactly how to make sure it's reproducible. It failed over and over though originally.

rgreen5 commented 1 year ago

OS: Linux Mint 20.1, Arch.: x86_64, MuseScore version (64-bit): 4.1.0-231921359, revision: github-musescore-musescore-2e3a93a

I can confirm this. In the following example: metric_mods The modulation on measure 3 only works if you uncheck then check the "Follow written tempo" box (Properties panel).

Jojo-Schmitz commented 11 months ago

Well, they do affect playback. They all (re-)set tempo to 120 BPM, regardless of the setting before. Of course when it is 120 BPM before, they appear to do nothing. See #20199

zacjansheski commented 11 months ago

Same since MuseScore 3.6 Definitely problematic, but easy workaround. I think this will be good to solve in 4.4

Jojo-Schmitz commented 11 months ago

Indeed a Mu3 issue too (and a regression vs. Mu2), see https://musescore.org/en/node/277320

NeroBlackstone commented 2 weeks ago

Definitely problematic, but easy workaround. I think this will be good to solve in 4.4

Still not work in ms 4.4, swing text will cause the playback speed to change to 120bpm