Track input routing channel
Hi! Did anyone successfully manage to set a track’s input routing channel from a Reaction? I can’t get it to work using name of the channels or anything really.
The tooltip says that “Name must be available in the list of available_input_routing_channels for the track, which it is if I look in Live. Or am I suppose to print that list somewhere and see a list of names to use?
Cheers!
Hi Christian,
“self.song().view.selected_track.output_routing_type” is the current routing type class.
“self.song().view.selected_track.output_routing_type.display_name” is the name shown in the box you mentioned.
“self.song().view.selected_track.available_output_routing_types” gives you a list of available output routing types.
“self.song().view.selected_track.available_output_routing_types[i].display_name” is the name of the output routing type with index i.
Search the index k of the current output routing type name in the list of available types, then you can change this index (may be to k+1) and set the current output type by self.song().view.selected_track.output_routing_type = self.song().view.selected_track.available_output_routing_types[k+1].
That´s all. Regards
Dieter
Sign up
User registration is currently not allowed.