Found in the Input Configuration panel, Expressions allow shaping of a Module's property value.
Input from an Audio Feature, MIDI CC or Tween are all routed through the Expression, allowing Expressions to boost, dampen, shape or entirely change the incoming value.
value is the incoming value.
value * 2 doubles the incoming value.
value / 2 halves the incoming value.
value > 0.5 ? 10 : 0 sets the value to 10 if the incoming value is over 0.5. If under, the value will be 0.
Methods from Math.js (opens new window) are available in Expressions.
Other variables in the scope:
| ||Number||The time returned from |
Expressions get evaluated when the Module's property will update, through UI interaction or incoming value from an Input Configuration assignment.
You cannot use Expressions to create oscillating values.