MS3 - Insane bug: from-MS2 imported score plays with whatever instrument the last score used!!!

• Feb 12, 2019 - 02:57

OS: macOS 10.14, Arch.: x86_64, MuseScore version (64-bit): 3.0.2.20666, revision: 8ca4d2c

This MS2 score I downloaded from another user and changed a couple of chords has a most remarkable property (in MS3). It clearly was written for solo piano. But if you open it, and play some choral score already open in another tab, it acquires choral voices! If you then play a Bach cantata aria you have open whose topmost line is oboe, it becomes all oboes (and sounds better, btw). Something is not initialized somewhere, and I suspect it will reveal the stuttering bug.

I took care to write out this MSCZ, and verify that I could reproduce the problem with it.

Attachment Size
NoInstrument.mscz 28.46 KB

Comments

Interesting! Not sure how this score was created, but your description and filename are accurate - the score contains no instrument definition. Well, it has an instrument tag, but no "program" information (the MIDI patch number) in it. My guess is the user had created a custom instruments.xml file that contains a syntax error. Or maybe he did this on purpose. Anyhow, since the information is not there in the score, MuseScore has no information to go on in selecting sounds, so pretty much anything it chooses to do is fair game.

In reply to by [DELETED] 1831606

Since XML was mentioned, my guess is that the MusicXML file this was imported from did not contain any instrument information at all, so MuseScore 2 dutifully created a MSCZ file with only limited instrument information as well. Impossible to say without seeing the MsuicXML file this was apparently imported from. Would be nice to see it, so we can see if maybe MuseScore 3 could be changed to do something different. Not sure what the "right" thing to do is if the MusicXML contains literally no information about intended instrument at all, but I guess making it be a piano sound is as good as anything. We could also "fix" files already imported that lack this info to include some, potentially. But again, it would be good to understand what the MusicXML file actually specified.

Meanwhile, to fix this, simply change instrument to whatever you want (piano, presumably).

Do you still have an unanswered question? Please log in first to post your question.