presets on banks >0 are not saved in score
When selecting a preset in the mixer that is located on a bank higher than 0, the bank number is not being saved in the .mscx file.
Steps to reproduce
- Create a new score with a single instrument (just select the "Treble Clef" preset).
- Go to the mixer and select "12-String Guitar". This is preset 25 on bank 8, but you can't tell from the mixer. Just look for the guitars a bit down and find it in there.
- Save the file and re-open it.
- Open the mixer.
Result: The guitar is now set to "Steel String Guitar".
What's happening is the bank information is no longer being saved in the score .mscx as it used to be in MuseScore 2. I'm not sure when this got broken, so it's possible it wasn't until a recent 3.x version. The preset information in the saved file shows this:
<Channel> <program value="25"/> <synti>Fluid</synti> </Channel>
...but it should be this:
<Channel> <controller ctrl="32" value="8"/> <program value="25"/> <synti>Fluid</synti> </Channel>