RNBO Objects & Operators cond~
Open Help

cond~

Conditional operator

Description

Selects between the second and third inputs according to the boolean value of the first. If the first argument is true, the second argument will be output. Otherwise, the third argument will be output.

Inlets

Condition [auto]

Condition to test

If True [auto]

Value if true

If False [auto]

Value if false

Outlets

Output [signal]

Conditional output

Dynamic Attributes

These attributes can be modified in the code during execution using the set object

in1 [auto]

Condition to test

in2 [auto]

Value if true

in3 [auto]

Value if false

reset [bang] (default: 0)

Reset inlets to default values.

See Also

Name Description
eq Equals operator
neq Not equals operator
and logical AND operator
or Performs a logical OR