RNBO Objects & Operators expr~
Open Help

expr~

Evaluate an expression using the rnbo expr language.

Description

Evaluate an expression using the rnbo expr language. For more info on designing equations from expr, see Designing Equations .

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.

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.
codebox~ Evaluate an expression using the rnbo expr language.
gen~ gen~