presets on banks >0 are not saved in score

• Jun 13, 2019 - 16:18
Reported version
3.x-dev
Priority
P1 - High
Type
Functional
Frequency
Once
Severity
S3 - Major
Reproducibility
Always
Status
closed
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

Closely related to this:
No bank messages are exported in the "export => midi file " command.
However, many sound-fonts contain sub-bank messages.
After exporting, you need to manually find out which banks are used (that most of the time you would not be able to find it) and manually enter the midi file.

Status active fixed

This seems to be fixed in latest master. I would have thought that this pr (merged on 15th June) or another one from me around about that time may have done that, but if Ziya says it's still happening in November, then I have no idea what might have fixed it. Closing this as fixed for now.

Status active fixed

Hmmm, but that's a different issue, isn't it? In MuseScore and in the mscx, the bank is saved. If it's not exported to MIDI, then that's a different issue entirely. Could you please create a different issue for that, if you don't mind? Then I'll take a look and see if I can fix it. Thank you :)