Forums > MaxMSP

OR-gate possible in Max?

November 9, 2013 | 9:04 am

Hello everyone,

although I’m pretty sure it’s possible to develop OR-gates in Max, I didn’t succeed yet in making the following patch:

-2 toggles, if one of them (or both) is/are checked, a 3rd toggle should be checked. This 3rd toggle should only be unchecked (off) if BOTH initial toggles are in off-position.

Can someone help me with this?

thank you!


November 9, 2013 | 9:44 am

<code>

– Pasted Max Patch, click to expand. –

</code>


November 9, 2013 | 9:48 am

Thank you Christopher!! I really should check out this trigger object..


November 9, 2013 | 10:19 am

[if $i1 || $i2 then 1 else 0] or [if ($i1*$i2)==1 then 1 else 0]

110 *hides behind some arithmetic bushes*


November 9, 2013 | 1:29 pm

Thank you Roman, I will try this also.


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