muxs4

input multiplexer. Output is i1 when s < 1, i[i] when....
Author: Johannes Taelman
License: BSD
Github: jaffa/mux/muxs4.axo

Inlets

frac32buffer input 0

frac32buffer input 1

frac32buffer input 2

frac32buffer input 3

frac32buffer input 4

frac32buffer input 5

frac32buffer input 6

frac32buffer input 7

Outlets

frac32buffer output

Parameters

int32 Sel

Audio Rate
switch (param_Sel - 1 > 0 ? param_Sel - 1 : 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;
case 4:
  outlet_o = inlet_i4;
  break;
case 5:
  outlet_o = inlet_i5;
  break;
case 6:
  outlet_o = inlet_i6;
  break;
case 7:
  outlet_o = inlet_i7;
  break;
default:
  outlet_o = inlet_i7;
  break;
}

Privacy

© 2024 Zrna Research