Hello everyone,
as stated in the subject, i'm trying to create a little Max device which can turn off all the devices on the track where it's sitting, for optimization purposes.
In fact i noticed that muting a track doesn't stop Live from calculating the content of the track.
As i'm working on a project with many tracks, and they will not be all playing at the same time, i need something to completely turn off a track when it is not being used.
Is there already a command in Live for this purpose? Freeze track doesn't seem to be what i need, plus it's not accessible from the Live API... (right?)
I am already able to retrieve the relative path of the track where the max device is, using this_device canonical_parent, and i can turn off a specific device.
What i don't know is how to turn off all devices together.
I can count the devices on the track, but it seems like the live.path is not able to output a list of several id (only one at a time), and same goes for the live.object, it can only operate on one id at a time.
Does anybody know a way to do what i need, or at least know if it's something possible?
Thanks a lot for your help!
Best,
Pedro