No sound for dynamics with additional text when importing from MS2 to MS3
When importing a MuseScore 2 file into MuseScore 3 (current 3.1+nightly) that contains text-enhanced dynamics, no sound is played back in the affected staff from the point at which these changed dynamics occur.
Apparently the original dynamic (e.g. mf) is ignored during import and the value for the keystroke is set to 0.
P.S.: I couldn't attach my original file for copyright reasons, so I added a modified one from the MuseScore pool as an example.
OS: macOS High Sierra (10.13), Arch.: x86_64, MuseScore version (64-bit): 3.1.0.22425, revision: e26f7c4
Comments
The problem arises when there is text before the dynamic. It imports properly when the text is after the dynamic. Since velocity is stored in the version 2 score, why not always get the velocity from there to ensure better import of the score into version 3? BTW, I'm not asking you enkidu.
In reply to The problem arises when… by mike320
After further research I see the only time the velocity is not put into the score is when text is added before the dynamic mark. I'm working on a bug report.
In reply to After further research I see… by mike320
Before (temporal) or in front of (spatial)? I am pretty sure that I first dragged a dynamic mark from the palette to the note and then (spatially) added a text behind it, i.e. I made the dynamic editable with a double click and added a text to it.
Otherwise I would have had to add a text to a note first and then insert a dynamic as a special character into the text via the symbol (text) platette. This dynamic would certainly not be recognized as a dynamic, but would simply remain text. As I said, I'm sure I didn't do the latter.
In my case, the text is behind the dynamic character. Here is a screenshot of the above MuseScore file:
See #290487: Use correct velocities on dynamics imported from MuseScore version 2 files
In reply to See #290487: Import… by mike320
#289916: Dynamics with zero velocity make playback play with almost no velocity is very much related and has an outstanding PR.