Currently there’s no way to use a state number/index/program as the controller number so this is a bit tricky. Also, you’re probably going to need to send a CC to de-activate the previous state controller right?
I had misunderstood or overlooked a few things in Chameleon.
So it is possible to use the buttons with Controllervalues 0-128
and now all Buttons work perfekt with my Racks in Cantabile.
For the record… it wouldn’t be hard to implement a MIDI filter that maps CC values to a range of CC controllers in a radio button style fashion. You could then put that filter on the output port. If anyone else wants this, please vote here.