boolean operators max msp

Nov 7, 2013 at 11:27am

boolean operators max msp

does anyone know how you would represent the equation ¬(¬a) and (¬a + b) • c on max msp? thanks

#270459
Nov 7, 2013 at 1:49pm

in boolean operations, not (not a) is just a.

but to answer your question:
not in Max is == 0
or in Max is ||
and in Max is &&

#270472
Nov 8, 2013 at 10:12am

Not to state the obvious but… be sure not to confuse ¬a+b which means “implies” with ¬(a+b) which means “nor”. They are very different.

Think of + as OR and * as AND. So ¬a+b means “not A or B”. ¬a+b*c means “not A or B and C”. Use logic operators with [expr] and [vexpr].

– Pasted Max Patch, click to expand. –
#270550

You must be logged in to reply to this topic.