sel b 16

select one out of 16 booleans, chainable
Author: Johannes Taelman
License: BSD
Github: sel/sel b 16.axo

Inlets

int32 in

bool32 default value

Outlets

int32 chain out (in-16)

bool32 output

Parameters

bin16 b16

Control Rate
if ((inlet_in >= 0) && (inlet_in < 16))
  outlet_o = param_b16 & (1 << inlet_in);
else
  outlet_o = inlet_def;
outlet_chain = inlet_in - 16;

Privacy

© 2024 Zrna Research