Fold_state is_foldable not working for Device Chains
Posted: Tue Sep 13, 2011 2:52 pm
Hi,
I am trying to add functionality to my ControlSurface (Python scripts) so that I can control the mixer(s) of device chains (vol,pan,mute,solo).
Ideally I'd want to do this only if the track with the rack is unfolded in the mixer view, but due to an apparent bug, devicechain tracks don't work with fold_state/is_foldable.
I think right now only grouped tracks can have is_foldable. Tracks with racks in them generate errors when you query their fold_state (track cannot be folded)
I could work around this if it were possible to show the device chains in the rack, by using the functionality of the 'Show/Hide Devices'-button in the script, but this one seems unreachable as well.
This is very unfortunate because now if you have say a drum rack with a drum kit, you can not easily adjust volumes of the different pads, you'd have to mouse your way to mix a drum kit.
Is there a smarter workaround for this and is the bug (if it is one) being worked on?
btw, I (un)fold tracks through midi translator (it sends +/-). This does not discriminate between group tracks and devicechain tracks.
Any help would be appreciated.
Apologies if there are threads on this topic already. I searched but didn't find any.
Thanks,
Alex
(using Live 8.2.5)
I am trying to add functionality to my ControlSurface (Python scripts) so that I can control the mixer(s) of device chains (vol,pan,mute,solo).
Ideally I'd want to do this only if the track with the rack is unfolded in the mixer view, but due to an apparent bug, devicechain tracks don't work with fold_state/is_foldable.
I think right now only grouped tracks can have is_foldable. Tracks with racks in them generate errors when you query their fold_state (track cannot be folded)
I could work around this if it were possible to show the device chains in the rack, by using the functionality of the 'Show/Hide Devices'-button in the script, but this one seems unreachable as well.
This is very unfortunate because now if you have say a drum rack with a drum kit, you can not easily adjust volumes of the different pads, you'd have to mouse your way to mix a drum kit.
Is there a smarter workaround for this and is the bug (if it is one) being worked on?
btw, I (un)fold tracks through midi translator (it sends +/-). This does not discriminate between group tracks and devicechain tracks.
Any help would be appreciated.
Apologies if there are threads on this topic already. I searched but didn't find any.
Thanks,
Alex
(using Live 8.2.5)