mux4

string multiplexer
Author: Smashed Transistors
License: LGPL
Github: tiar/string/mux4.axo

Inlets

charptr32 i0

charptr32 i1

charptr32 i2

charptr32 i3

int32.positive sel

Outlets

charptr32 string

Control Rate
switch (inlet_sel & 3) {
case 0:
default:
  outlet_out = (char *)inlet_i0;
  break;
case 1:
  outlet_out = (char *)inlet_i1;
  break;
case 2:
  outlet_out = (char *)inlet_i2;
  break;
case 3:
  outlet_out = (char *)inlet_i3;
  break;
}

Privacy

© 2024 Zrna Research