if 9 streams are greater than x problem....

Robbie's icon

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

Max Patch
Copy patch and select New From Clipboard in Max.

Robbie's icon

AGH! sorry for posting it twice accidentally. nooooooooooooob.

Mike S's icon
Max Patch
Copy patch and select New From Clipboard in Max.

will this do?

Robbie's icon
Max Patch
Copy patch and select New From Clipboard in Max.

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;

Luke Hall's icon
Max Patch
Copy patch and select New From Clipboard in Max.

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

Robbie's icon
Max Patch
Copy patch and select New From Clipboard in Max.

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

Robbie's icon

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

Luke Hall's icon
Max Patch
Copy patch and select New From Clipboard in Max.

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

Robbie's icon

oh sorry, it does work! thanks!!