Wrong bank number for Zerberus channels
Discovered using the MDL extension, but would apply to any instrument files, scores, or templates that contain instrument definitions. Basically, if the channel definition is Zerberus, we should be setting the bank to 0, but we aren't, we are setting it to 128. The first obvious clue something is wrong is that the Mixer shows Standard drumkit. Probably other things would be off to, but playback isn't one of them - it seems to be fine.
Steps to reproduce:
1) install MDL extension
2) File / New
3) use MDL Snare template
4) View / Mixer
Result: drumset shows as Standard
If that is literally the only problem, maybe it's not worth the pain of a fix. But I have to suspect wrong bank would cause other problems somewhere.
Fix is simple and forthcoming.
Comments
https://github.com/musescore/MuseScore/pull/3774
I'm pretty confident the change is good - there is no way comparing the channel name (normally something like "normal", "arco", "mute", etc) against either "Fluid" or "Zerberus" could possibly work. It seems obvious to me this should be "synti" and not "name". But as for when we should be using bank 0 versus 128, that's black magic to me. I just made it so Fluid gets bank 128 and Zerberus 0, which I'm told is as it should have been all along.
Fixed in branch 2.3, commit ce86617a01
fix #273823: wrong bank for zerberus channel
Fixed in branch 2.3, commit 25247d93f0
Merge pull request #3774 from MarcSabatella/synti
fix #273823: wrong bank for zerberus channel
Fixed in branch master, commit f1d55cd6c2
fix #273823: wrong bank for zerberus channel
Automatically closed -- issue fixed for 2 weeks with no activity.