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)

Using the String Formatter Patch you can build strings out of placeholders and fixed strings.

Examples

String: %%first%% %%last%%
Input 'first': "Max"
Input 'last' : "Mustermann"
Result: Max Mustermann

Inputs

  • Depending on format String (Supports every type)

Outputs

  • String (String)

The LFO patch outputs an oscillating number. You can change its duration and type. Using the FPS input you can set how often the output is refreshed in one second.

Inputs

  • Type (Enum[Sine,Sawtooth,Triangle,Square,Random])
  • FPS (Number)
  • Duration (Number)

Outputs

  • Output (Number)

The Math Evaluator is a powerful patch to evaluate complex mathematical terms. There are predefined functions and variables and unknown variables will be added as input to the patch. You can edit the expression in the inspector view.

As this patch builds up on DDMathParser you can view the built in functions here.

Inputs

  • Depending on Expression (Number)

Outputs

  • Result (Number)