codebox Reference

Evaluate an expression using the rnbo expr language.

codebox

Examples

Arguments

expr [symbol]

Optional

The argument to the expr object is a mathematical expression composed of numbers, arithmetic operators such as + or * , comparisons such as < or > , C functions such as min() or pow() , names of table objects, and variables ( $in1 , $in2 , $in3 , etc.) passed as values to the number of inlets specified in the equation.

Fixed Attributes

These attributes must be set in the object box and determine the behavior of the object at runtime.

expr [symbol]

The argument to the expr object is a mathematical expression composed of numbers, arithmetic operators such as + or * , comparisons such as < or > , C functions such as min() or pow() , names of table objects, and variables ( $in1 , $in2 , $in3 , etc.) passed as values to the number of inlets specified in the equation.

hot [bool] (default: false)

Trigger computation on all inlets.

safemath [bool] (default: true)

Use safe math expressions (e.g.: division by 0 will not crash).

Dynamic Attributes

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

reset [bang]

Reset all state and params to initial values

See Also

Name Description
expr~ Evaluate an expression using the rnbo expr language.
expr Evaluate an expression using the rnbo expr language.
gen~ gen~