Logic Gates? (And, Nor, NAND, NOR etc.)


    Dec 03 2012 | 7:42 pm
    Hi all
    How can I create Logic Gates inside of max? All I want to do is check to see if three separate numbers are equal to '1', or true, and if they are send a bang out. Don't really understand why it's taking me so long to find an answer to this...
    Cheers

    • Dec 03 2012 | 8:32 pm
      Something like this?
    • Dec 03 2012 | 8:55 pm
      or all in one box: [if ($f1 == 1)&&($f2 == 1) &&($f3 == 1) then bang] although maybe more appropriate to use $i instead of $f
    • Dec 03 2012 | 9:40 pm
      Didn't know you could put multiple logic operands in the if object! Always thought it was a downfall... Nice one terry!
    • Dec 03 2012 | 9:47 pm
      I don't think i realised either until after using max for a number of years....
    • Dec 03 2012 | 10:13 pm
      Stunning, thanks guys. I managed to get it working with a series of If statements and additions, but this way allows me to slim it down some more. Cheers :)