presets on banks >0 are not saved in score
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
- 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>
Comments
It worked in 3.05, so a recent regression.
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.
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.
In reply to This seems to be fixed. I… by TheOtherJThistle
Bank definitions CC0 and / or CC32 must exist in the extracted MIDI file.
However, both are not available in the exported MIDI file.
tested with the latest master: OS: Windows 10 (10.0), Arch.: x86_64, MuseScore version (64-bit): 3.5.0.9823, revision: 070b30a
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 :)
I think I replied that this was another existing issue. I'm sorry.
Thank you too...
Ah yes, I see what you mean. I just got a bit confused :)
Automatically closed -- issue fixed for 2 weeks with no activity.