constrain b

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

Inlets

frac32.bipolar input

Outlets

frac32.bipolar output

Parameters

frac32.s.map minimum

frac32.s.map maximum

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

Privacy

© 2024 Zrna Research