sel fb 16

select one out of 16 bipolar fractionals, with chain i/o
Author: Johannes Taelman
License: BSD
Github: sel/sel fb 16.axo

Inlets

int32 in

frac32 default value

Outlets

int32 chain out (in-16)

frac32 output

Parameters

frac32.s.mapvsl b0

frac32.s.mapvsl b1

frac32.s.mapvsl b2

frac32.s.mapvsl b3

frac32.s.mapvsl b4

frac32.s.mapvsl b5

frac32.s.mapvsl b6

frac32.s.mapvsl b7

frac32.s.mapvsl b8

frac32.s.mapvsl b9

frac32.s.mapvsl b10

frac32.s.mapvsl b11

frac32.s.mapvsl b12

frac32.s.mapvsl b13

frac32.s.mapvsl b14

frac32.s.mapvsl b15

Control Rate
switch (inlet_in) {
case 0:
  outlet_o = param_b0;
  break;
case 1:
  outlet_o = param_b1;
  break;
case 2:
  outlet_o = param_b2;
  break;
case 3:
  outlet_o = param_b3;
  break;
case 4:
  outlet_o = param_b4;
  break;
case 5:
  outlet_o = param_b5;
  break;
case 6:
  outlet_o = param_b6;
  break;
case 7:
  outlet_o = param_b7;
  break;
case 8:
  outlet_o = param_b8;
  break;
case 9:
  outlet_o = param_b9;
  break;
case 10:
  outlet_o = param_b10;
  break;
case 11:
  outlet_o = param_b11;
  break;
case 12:
  outlet_o = param_b12;
  break;
case 13:
  outlet_o = param_b13;
  break;
case 14:
  outlet_o = param_b14;
  break;
case 15:
  outlet_o = param_b15;
  break;
default:
  outlet_o = inlet_def;
}
outlet_chain = inlet_in - 16;

Privacy

© 2024 Zrna Research