🔥 Lifetime deal! Get Control Surface Studio for Just £67 👉 Click Here To Get It
Time left... mailtimers.com
⚠️ Lifetime licenses are ending soon, get yours before they're gone ⚠️
Your shopping cart is empty.

Track input routing channel

Submitted by Christian Björklund on Sat, 01/08/2022 - 19:56
Christian Björklund
Control Surface Studio User

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!

Topic Category: 

2 Responses

Comments

Christian Björklund
Control Surface Studio User
#1

Ok, so if the track is set to Ext. In i can actually set the input channel this way, like 1/2, 3/4 etc. so that's something. :)
BUT what I'm trying to do is choose from the internal channels, which is the box above that should be routing type rather than channel. Still I can't make it happen.
Anyone?

HDV
Control Surface Studio User
#2

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