TDAbleton troubleshooting questions

I have a couple questions regarding workflow for how to expand TDAbleton’s ability.

I learned python through TD and my knowledge is sort of like swiss-cheese.

Based on this post here I was able to gain some access to the console.
Link

But I don’t understand how to get access to what i assume is a dict?

Example:

>>> SONG.tracks[4].output_routing_channel
<Track.RoutingChannel object at 0x000000002195BED0>

Thanks, d

So, the console is a direct connection with the Python environment that runs inside Live. This environment is not officially documented, but you can find the latest info here: https://nsuspray.github.io/Live_API_Doc/11.0.0.xml

There’s not much about Track.RoutingChannel in those docs, so you’d have to use Python introspection to start looking into it. e.g.
dir(SONG.tracks[4].output_routing_channel)

Fair warning: it will be a bit of a learning curve to deal with the TD Python to Live Python interface if you don’t know much Python. What are you trying to achieve?

Thanks for the response Ivan.

I am trying to change the output_routing_channel of a track. It is my understanding that this would give me the ability to change the “Audio To” or “MIDI To” section of a track in Live.

Example: Change track 2’s output from ‘Main’ to ‘track 1’.

Although, I am having trouble accessing this dictionary that the output_routing_channel is returning.

I am attempting to do this is Max For Live, although the results are not as expected.
The same request returns this dict:

{
	"output_routing_channel" : 	{
		"output_routing_channel" : 		{
			"display_name" : "",
			"identifier" : 0
		}
	}
}

thanks, d

I notice there’s a property called “available_output_routing_channels”. I’d dig into that and try setting output_routing_channel to one of those.

I’ll also add this to my todo list for more direct access in TDAbleton

Thanks again Ivan. I think I found a better solution, which took some rearranging in Live, but now I can just automate solo-ing the track as a solution.

1 Like