Forums > MaxMSP

if 9 streams are greater than x problem….

February 10, 2011 | 5:12 pm

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. –

February 10, 2011 | 5:14 pm

AGH! sorry for posting it twice accidentally. nooooooooooooob.


February 10, 2011 | 5:23 pm

will this do?

– Pasted Max Patch, click to expand. –

February 10, 2011 | 5:28 pm

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. –

February 10, 2011 | 5:41 pm

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. –

February 10, 2011 | 5:51 pm

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

– Pasted Max Patch, click to expand. –

February 10, 2011 | 5:54 pm

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


February 10, 2011 | 6:05 pm

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

– Pasted Max Patch, click to expand. –

February 10, 2011 | 7:47 pm

oh sorry, it does work! thanks!!


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