Forums > Max For Live

Can a device's status(i.e. enabled) be observed?

Mar 08 2014 | 8:28 pm

As an example, I have a vst loaded in the first slot of the first track. The path of its power button is "path live_set tracks 0 devices 0 parameters 0"

Is there a way to set up an observer to watch this? Property "is_enabled" can’t be listened to.
Thanks for any info.

Mar 08 2014 | 9:05 pm

Set up a with a path like:

path live_set tracks 0 devices 0 parameters 0

for the first device on track 1. the first parameter of any device is always it’s on/off switch.
Then set the property to ‘value’ for the observer. 1 = on, 0 = off.

-- Pasted Max Patch, click to expand. --


Mar 08 2014 | 10:33 pm

Thanks. I thought I tried "value", but your patch works! I really appreciate it.

Viewing 3 posts - 1 through 3 (of 3 total)

Forums > Max For Live