HI,
I have a problem I've dealt with in max, using an "if" object. I always assumed there was one in Pd, but I can't find one.
I'm trying to resolve this with regular vanilla type objects, but the solution is escaping me.
I have 5 number boxes, each one is sending mostly 0. When a non-zero number comes from one of the number boxes I want that to be output, and all the zeros be ignored.
In Max, in my "if" object I have this:
[if ($i1 == 0) && ($i2 == 0) && ($i3 == 0) && ($i4 == 0) && ($i5 == 0) then zero else out2 $i1 $i2 $i3 $i4 $i5]
The object has 5 inlets and two outlets, one for zeros and one for all the other values.
I guess I could do this with a [sel 0] object and take the right outlet, to filter out all the zeros. But just curious if there is a more elegant way someone can think of.
Thanks, nick