mux16

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

Inlets

charptr32 i00

charptr32 i01

charptr32 i02

charptr32 i03

charptr32 i04

charptr32 i05

charptr32 i06

charptr32 i07

charptr32 i08

charptr32 i09

charptr32 i10

charptr32 i11

charptr32 i12

charptr32 i13

charptr32 i14

charptr32 i15

int32.positive sel

Outlets

charptr32 string

Control Rate
switch (inlet_sel & 15) {
case 0:
default:
  outlet_out = (char *)inlet_i00;
  break;
case 1:
  outlet_out = (char *)inlet_i01;
  break;
case 2:
  outlet_out = (char *)inlet_i02;
  break;
case 3:
  outlet_out = (char *)inlet_i03;
  break;
case 4:
  outlet_out = (char *)inlet_i04;
  break;
case 5:
  outlet_out = (char *)inlet_i05;
  break;
case 6:
  outlet_out = (char *)inlet_i06;
  break;
case 7:
  outlet_out = (char *)inlet_i07;
  break;
case 8:
  outlet_out = (char *)inlet_i08;
  break;
case 9:
  outlet_out = (char *)inlet_i09;
  break;
case 10:
  outlet_out = (char *)inlet_i10;
  break;
case 11:
  outlet_out = (char *)inlet_i11;
  break;
case 12:
  outlet_out = (char *)inlet_i12;
  break;
case 13:
  outlet_out = (char *)inlet_i13;
  break;
case 14:
  outlet_out = (char *)inlet_i14;
  break;
case 15:
  outlet_out = (char *)inlet_i15;
  break;
}

Privacy

© 2024 Zrna Research