max4

max of 4 values
Author: Remco van der Most
License: BSD
Github: sss/math/max4.axo

Inlets

int32 in1

int32 in2

int32 in3

int32 in4

Outlets

int32 out

Control Rate
int32_t tmp = inlet_in1 > inlet_in2 ? inlet_in2 : inlet_in1;
tmp = inlet_in3 > tmp ? tmp : inlet_in3;
tmp = inlet_in4 > tmp ? tmp : inlet_in4;
outlet_out = tmp + 24;

Privacy

© 2024 Zrna Research