Forums > MaxMSP

boolean operators max msp

November 7, 2013 | 11:27 am

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


November 7, 2013 | 1:49 pm

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 &&


November 8, 2013 | 10:12 am

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. –

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