boolean operators max msp
does anyone know how you would represent the equation ¬(¬a) and (¬a + b) • c on max msp? thanks
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 &&
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].
Max Patch
Copy patch and select New From Clipboard in Max.