Get List of Devices in a track, and turn them on or off

Sep 6, 2011 at 2:34am

Get List of Devices in a track, and turn them on or off


Is there a way to get a list of devices(do not need name, but if it had 3 devices(say drumkit + 2 effects) is there an object that would return 3, and another that would allow me to toggle a particular device on and off(ie sending device 3 on/off would toggle the last effect).


Sep 6, 2011 at 4:54am

Reading my last post again, i realize it was worded poorly,

This is a bit more direct,

I’d like to:
Query: Number of channels.
Query: How many devices any one of those channels has.
Toggle a device on any of the channels on/off


Sep 6, 2011 at 8:18am

I think your questions are answered in the LOM documentation

Sep 13, 2011 at 8:11pm

hi broc,

if possible could you look at the following snipit,

It should toggle a toggle box when i toggle on/off the first device on the first track.. live.path splits out Id 0, so it looks that i’m not sending it the correct path, but it’s what i gathered from the API as to what i should send it..

– Pasted Max Patch, click to expand. –
Sep 13, 2011 at 10:20pm

In your path you need to replace ‘is_enabled’ by ’0′, which is the number of the device on/off parameter.
I thought it was documented in the LOM but seems not there..

Sep 14, 2011 at 8:42pm

hey, that worked! thank you!


You must be logged in to reply to this topic.