sel b 32

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

Inlets

bool32 default value

int32 in

Outlets

int32 chain out (in-32)

bool32 output

Parameters

bin32 b32

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

Privacy

© 2024 Zrna Research