Change audio routing?

jesseam's icon

I want to be able to change audio routing with a push of a monome button. Is there a M4L device or api for this? For example - channel 15 is routed to Bus channel A and with a button press the output changes to Bus channel B.

broc's icon

It can be done with the Live API by setting the property 'output_routings' of a track.

Lance Green's icon

broc`s suggestion made sense,tks