Forums > MaxMSP

pattr @bindto inconsistency

July 21, 2013 | 6:03 am

I’m using pattr to keep redundant ui components consistent with the "model".

The model consists of an LED with a pattr "on_off". The redundant ui components also sport an LED (I took the idea roughly from http://mspcafe.g2312.de/tLb/framework/patchdesign/)

When I toggle the "model" LED, everything works as expected. However, when toggling any of the @bindto-pattr-LEDs, the adjacent @bindto-pattrs get triggered twice (as seen by the connected counters).

I’m not sure I’m using the pattr as intended.

So if anyone could reproduce the behaviour and possibly provide an improved version of my patch without the excess triggering, that would be great.

Thank you
Bernhard

– Pasted Max Patch, click to expand. –

July 26, 2013 | 4:48 am

I did away with pattr for now and use pvar instead. There are 2 solutions in the attached patcher: The one on top uses pvar, the one below send/receive.

– Pasted Max Patch, click to expand. –

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