Switching channels for a drumset instrument loses the sound bank (128) definition.

• Nov 15, 2020 - 12:42
Reported version
3.5
Type
Functional
Frequency
Once
Severity
S5 - Suggestion
Reproducibility
Always
Status
active
Regression
No
Workaround
Yes
Project

I am attempting to bring the documentation for the instruments file up to date (V3.5). I have found a number of problems that may be of no importance. Each is being reported as a separate ticket.

MuseScore allows channel changes for a drumset instrument. I am not sure how useful this is, but as the facility is there, it should work.

      <channel name="Bongos">
        <program>99</program>
      </channel>
      <channel name="Accessories">
        <program>98</program>
      </channel>

When you use stave text to change channels, you get a piano and not a drumset.

The workaround is to set the sound bank (in this case MSB 1*128 + LSB 0 = 128) in each channel.

      <channel name="Bongos">
        <controller ctrl="0" value="1" />
        <controller ctrl="32" value="0" />
        <program>99</program>
      </channel>
      <channel name="Accessories">
        <controller ctrl="0" value="1" />
        <controller ctrl="32" value="0" />
        <program>98</program>
      </channel>

I will document this workaround in instruments.xml documentation


Comments

Hello!
I also work on a second instrument.xml for my Clavinova CSP-170. I want to write songs using MuseScore and are on the really beginning.
I want to use the instruments from my ePiano and have a list for all MSB, LSB and programm changes. I tried the following coding:

              Boesendorfer
              Boe.
              Boesendorfer
              keyboard.piano
              2
              G
              1
              2
              2
              F
              21-108
              21-108
              0






                 100
                 95

              common
              jazz
              orchestra
              popular
              classroom
              choral

But only the program change ist working. MSB and LSB dont.
So I always have to change the midi-coding in MixMaster or else.

What didi I made wrong?
Thanks for your tipps!

Harald

In reply to by Djangobaer

"error on line 137 at column 25: Opening and ending tag mismatch: instrument-group line 0 and InstrumentGroup"

You can have xml here if enclosed with <xml>...</xml>

You have instrument-group instead of InstrumentGroup in line 76, so no wonder that it doesn't work.

Other than that your issue seems pretty much unrelated to the OP's