if 9 streams are greater than x problem….

Feb 10, 2011 at 5:12pm

if 9 streams are greater than x problem….

i am trying to find a computationally fast way of outing a 1 if 9 separate streams of data go over a threshold. Kind of like the below patch, but working… any ideas? thanks in advance, rgb

– Pasted Max Patch, click to expand. –
#54901
Feb 10, 2011 at 5:14pm

AGH! sorry for posting it twice accidentally. nooooooooooooob.

#197719
Feb 10, 2011 at 5:23pm

will this do?

– Pasted Max Patch, click to expand. –
#197720
Feb 10, 2011 at 5:28pm

the problem is that each stream changes individually, so I only want a 1 when ever they all go over X….. I thought pak would save the day, but alas, no go there either… like below;

– Pasted Max Patch, click to expand. –
#197721
Feb 10, 2011 at 5:41pm

That patch should be fine. Here’s an easier way to do it using [vexpr] rather than [if] which might be interesting.

– Pasted Max Patch, click to expand. –
#197722
Feb 10, 2011 at 5:51pm

that is closer but it still doesnt work when the streams are individually changing…. like this;

– Pasted Max Patch, click to expand. –
#197723
Feb 10, 2011 at 5:54pm

a better example would be is the line objects had a variety of ramp times

#197724
Feb 10, 2011 at 6:05pm

It does work. Either that or I’m not understanding the question.

– Pasted Max Patch, click to expand. –
#197725
Feb 10, 2011 at 7:47pm

oh sorry, it does work! thanks!!

#197726

You must be logged in to reply to this topic.