codebox
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 .
A brief guide to using the codebox object and its supported operators and constants can be found here .
Arguments
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 or , names of table objects, and variables ( , , , 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 or , names of table objects, and variables ( , , , 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~ |