presets on banks >0 are not saved in score

• Jun 13, 2019 - 16:18
Reported version
3.x-dev
Priority
P0 - Critical
Type
Functional
Frequency
Many
Severity
S3 - Major
Reproducibility
Always
Status
active
Regression
Yes
Workaround
No
Project

Summary

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

  1. Create a new score with a single instrument (just select the "Treble Clef" preset).
  2. 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.
  3. Save the file and re-open it.
  4. 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>

Comments