Fold_state is_foldable not working for Device Chains

Post Reply
lx71
Posts: 44
Joined: Sat Jan 02, 2010 5:57 pm

Fold_state is_foldable not working for Device Chains

Post by lx71 » 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)
Check out the UltraDevice http://vimeo.com/21841158. A DeviceComponent with more than 8 controls!
Here is my music: http://soundcloud.com/goalex

hoffman2k
Posts: 14718
Joined: Tue Jun 15, 2004 6:40 pm
Location: Belgium
Contact:

Re: Fold_state is_foldable not working for Device Chains

Post by hoffman2k » Tue Sep 13, 2011 4:25 pm

This is a known issue:
1 if track can be (un)folded to hide resp. reveal the contained tracks. This is currently the case for group tracks. Instrument and drum racks return 0 although they can be openend/closed. This will be fixed in a later release.
From http://cycling74.com/docs/max5/refpages ... model.html

lx71
Posts: 44
Joined: Sat Jan 02, 2010 5:57 pm

Re: Fold_state is_foldable not working for Device Chains

Post by lx71 » Tue Sep 13, 2011 6:47 pm

Thanks for the quick reply.
I had seen it there on the Cycling LOM page, but didn't find it on the forum, so couldn't be sure it was being addressed and I'd really like it to work, so...
We'll be eagerly awaiting this fix.

-Alex
Check out the UltraDevice http://vimeo.com/21841158. A DeviceComponent with more than 8 controls!
Here is my music: http://soundcloud.com/goalex

Post Reply