@Christoph-Hart this is your code and it works great in the standalone Hise, this is only 6 channels but it should work for more I guess :)
// Bass side ---------------------------- inline function onOutBassControl(component, value) { // this variable checks if the output channel exists. local success = true; switch(value) { case 1: // Routes the first two input channels (= sine wave); // to the first to output channels matrix.addConnection(0, 0); matrix.addConnection(1, 1); break; case 2: // Routes the first two input channels // to the second stereo output matrix.addConnection(0, 2); // addConnection returns true if the connection could be added // if the host doesn't support multichannels, this returns false // and you can reset the connections to default later (see below) success = matrix.addConnection(1, 3); break; case 3: matrix.addConnection(0, 4); success = matrix.addConnection(1, 5); break; } if(!success) { // Reset to Channel 1+2 in case of an error matrix.addConnection(0, 0); matrix.addConnection(1, 1); } //SucessLabel.set("text", success ? "OK" : "Error"); }; Content.getComponent("OutBass").setControlCallback(onOutBassControl); // Treble side -------------------------------- inline function onOutTrebleControl(component, value) { // this variable checks if the output channel exists. local success = true; switch(value) { case 1: matrix.addConnection(2, 0); matrix.addConnection(3, 1); break; case 2: matrix.addConnection(2, 2); success = matrix.addConnection(3, 3); break; case 3: matrix.addConnection(2, 4); success = matrix.addConnection(3, 5); break; } if(!success) { matrix.addConnection(2, 0); matrix.addConnection(3, 1); } //SucessLabel.set("text", success ? "OK" : "Error"); }; Content.getComponent("OutTreble").setControlCallback(onOutTrebleControl);M