int 4

integer decoder
Author: Johannes Taelman
License: BSD
Github: logic/decode/int 4.axo

Inlets

int32 input 1

Outlets

bool32 output 0

bool32 output 1

bool32 output 2

bool32 output 3

int32 chain output

Control Rate
outlet_o0 = (inlet_i1 == 0) ? 1 : 0;
outlet_o1 = (inlet_i1 == 1) ? 1 : 0;
outlet_o2 = (inlet_i1 == 2) ? 1 : 0;
outlet_o3 = (inlet_i1 == 3) ? 1 : 0;
outlet_chain = (inlet_i1 - 4);

Privacy

© 2024 Zrna Research