int 8

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

Inlets

int32 input 1

Outlets

bool32 output 0

bool32 output 1

bool32 output 2

bool32 output 3

bool32 output 4

bool32 output 5

bool32 output 6

bool32 output 7

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_o4 = (inlet_i1 == 4) ? 1 : 0;
outlet_o5 = (inlet_i1 == 5) ? 1 : 0;
outlet_o6 = (inlet_i1 == 6) ? 1 : 0;
outlet_o7 = (inlet_i1 == 7) ? 1 : 0;
outlet_chain = (inlet_i1 - 8);

Privacy

© 2024 Zrna Research