Corrupted notes when transposing imported .ove(Overture 4) file
1. Open a .ove file with Musescore.
2. Click "Notes" menu -> Transpose.
3. Transpose with any key and the whole score is corrupted now.
But it still sounds right when clicking play button.
Edit: If you save this file as .mscz before transposing, then reopen it, it won't be corrupted.
Sample file: Where is your Heart.ove
GIT commit: 1efc609
Attachment | Size |
---|---|
Where is your Heart.ove | 28.03 KB |
Comments
I get a crash if I select all and try to transpose to Ab.
See #25462: Audit all import filters for the new TPC1/TPC2 construct - I assume the problem is that the tpc1/tpc2 mechanism has been been implemented for Overture import yet.
Indeed, the relevant code is here:
https://github.com/musescore/MuseScore/blob/master/mscore/importove.cpp…
Only the current tpc (normally tpc2) is set; the other is not. Presumably we'd need to caclulate tpc1 and set it here as well, but I don't know enough about how ".ove" files might be structured to trust that any fix I might make would work in any case other than this one file.
Fixed in a21d613329
I'm not really sure about my fix either but it's better than a crash. The overture support is a bit orphan currently. It would be great if someone would jump on the bandwagon to test it and improve it. We have for example a lot of tests that would benefit being moved to our new test infrastructure. If you are reading this and are interested to join, ping me on IRC (#musescore on freenode.net) or on the forum.
Automatically closed -- issue fixed for 2 weeks with no activity.