The Multiplexer takes several inputs and relays one of them depending on the selected input. You can specify how many inputs there are in the inspector view.

Inputs for n inputs

  • Selected (Data)
  • in[0] (any type)
  • in[n] (any type)

Outputs

  • Output (same as selected input)

With the state saver you can keep an input saved (cached). If the signal input is 1 the value on the input is saved. While the signal input is 0 the last saved input value is still on the output of the patch.

Inputs

  • Signal (Number,Bool)
  • Input (any type)

Outputs

  • Output (same type as Input)

Use this Patch for basic logical operations. Below you can see the full truth table of all supported operations.

Inputs

  • Operation (see above)
  • P (Number,Bool)
  • Q (Number,Bool)

Outputs

  • Result (Number,Bool)

Truth Table

P 0 0 1 1
Q 0 1 0 1
True 1 1 1 1
False 0 0 0 0
P 0 0 1 1
NOT 1 1 0 0
AND 0 0 0 1
OR 0 1 1 1
Implies 1 1 0 1
XOR 0 1 1 0
NAND 1 1 1 0
NOR 1 0 0 0
XNOR 1 0 0 1

Compare two values, possible operations are:

  • Equal ‘==’
  • Not Equal ‘!=’
  • Greater than ‘>’
  • Greater than or equal ‘>=’
  • Less than ‘<‘
  • Less than or equal ‘<=’

Please note that all options except equal and not equal require numbers as input.

Inputs

  • Operation (see above)
  • A (all types accepted)
  • B (all types accepted)

Outputs

  • Comparison (Number,Bool)