change midi channels from instruments.xml

• Jul 1, 2021 - 19:19

I've looked all over and can't find an example. I know how to change MSB/LSB and program numbers from instruments.xml. I am using a Roland Fantom8 and for reasons I've yet to understand, scene changes are kept on a separate channel from what they call tone changes. Tones are layered into instruments or instruments by themselves. Tones become zones that then get built into scenes. I can set the scene change channel to 1 in the fantom and then that score can select either a scene or a tone. I would prefer to be able to make the channel change within instruments.xml.

Here's a typical bank and program change. I don't know how to add the channel number (0-15) to this or even if it is possible:

                  <Channel>
         <controller ctrl="0" value="87"/> <!-- MSB -->
         <controller ctrl="32" value="66"/> <!-- LSB -->
                        <program value="25"/> <!--custom VPNO-->
                  </Channel>

Actually, that code above would work on channel 1 because it is a tone change (with the msb set to 87) but with the scene control channel set to 16 in the fantom, for instance, this below won't work with the default score channel 1. Setting the scene control channel to 1 on the fantom allows me to change either tones or scenes (e.g. msb 87 or 85) but I haven't tested it with my DAW that sends scene changes on 16. I should be able to change it but a cleaner approach would be to have a channel number in the instruments.xml as in below. I can also just change the midi channel in the score but I was hoping to be able to select scenes or tones dynamically.

        <Channel>
             <controller number="16"/>  <- note  this doesn't exist or work, just offering a future way to do it.
           <controller ctrl="0" value="85"/> <!-- MSB -->
         <controller ctrl="32" value="00"/> <!-- LSB -->
                        <program value="15"/> <!--select scene a15-->
                  </Channel>

Thanks

Jerry


Comments

Do you still have an unanswered question? Please log in first to post your question.