constrain p

Constrains a value to not exceed a maximum and minimum value.
Author: Jan Vantomme
License: BSD
Github: jv/math/constrain p.axo

Inlets

frac32.positive input

Outlets

frac32.positive output

Parameters

frac32.u.map minimum

frac32.u.map maximum

Control Rate
outlet_out = (inlet_in < param_minimum)
                 ? param_minimum
                 : ((inlet_in > param_maximum) ? param_maximum : inlet_in);

Privacy

© 2024 Zrna Research