IO Variants: 5
Variant: 1
int32.positive select
charptr32 input 0
charptr32 input 1
charptr32 input 2
charptr32 input 3
charptr32 output
switch (inlet_s > 0 ? inlet_s : 0) {
case 0:
outlet_o = (char *)inlet_i0;
break;
case 1:
outlet_o = (char *)inlet_i1;
break;
case 2:
outlet_o = (char *)inlet_i2;
break;
case 3:
outlet_o = (char *)inlet_i3;
break;
default:
outlet_o = (char *)inlet_i3;
break;
}
Variant: 2
frac32 input 0
frac32 input 1
frac32 input 2
frac32 input 3
int32.positive select
frac32 output
switch (inlet_s > 0 ? inlet_s : 0) {
case 0:
outlet_o = inlet_i0;
break;
case 1:
outlet_o = inlet_i1;
break;
case 2:
outlet_o = inlet_i2;
break;
case 3:
outlet_o = inlet_i3;
break;
default:
outlet_o = inlet_i3;
break;
}
Variant: 3
bool32 input 0
bool32 input 1
bool32 input 2
bool32 input 3
int32.positive select
bool32 output
switch (inlet_s > 0 ? inlet_s : 0) {
case 0:
outlet_o = inlet_i0;
break;
case 1:
outlet_o = inlet_i1;
break;
case 2:
outlet_o = inlet_i2;
break;
case 3:
outlet_o = inlet_i3;
break;
default:
outlet_o = inlet_i3;
break;
}
Variant: 4
int32.positive select
int32 input 0
int32 input 1
int32 input 2
int32 input 3
int32 output
switch (inlet_s > 0 ? inlet_s : 0) {
case 0:
outlet_o = inlet_i0;
break;
case 1:
outlet_o = inlet_i1;
break;
case 2:
outlet_o = inlet_i2;
break;
case 3:
outlet_o = inlet_i3;
break;
default:
outlet_o = inlet_i3;
break;
}
Variant: 5
frac32buffer input 0
frac32buffer input 1
frac32buffer input 2
frac32buffer input 3
int32.positive select
frac32buffer output
switch (inlet_s > 0 ? inlet_s : 0) {
case 0:
outlet_o = inlet_i0;
break;
case 1:
outlet_o = inlet_i1;
break;
case 2:
outlet_o = inlet_i2;
break;
case 3:
outlet_o = inlet_i3;
break;
default:
outlet_o = inlet_i3;
break;
}