Forums > Max For Live

observe devices inside chains – multiple output?

March 6, 2013 | 2:30 pm

Hi,

Im trying to observe the devices inside chains and using the following code. This observes the selected track and any changes to devices. Its working ok, however it is printing out multiple times. Could this be because of my use of zl iter?

Im just trying to receive lists like this:

Devices: id 1 id 2 id 3 id 4
Chains: id 1 id 2 id 3 id 4
Devices in chains: id 5 id 6 id 7 id 8

But instead it prints out each line between 2 and 4 times. so devices in chains is:

id 5 id 6 id 7 id 8 id 5 id 6 id 7 id 8 id 5 id 6 id 7 id 8 id 5 id 6 id 7 id 8

Im sure its something stupid I havent thought about. Would be very grateful if someone can point me in the right direction as to what I might be doing wrong.

– Pasted Max Patch, click to expand. –

March 6, 2013 | 10:20 pm

so I can see live.observer bangs twice every time I use a trigger to bang a "properties" message. Why is this? and can anyone suggest the proper way to query live observer?


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