sel fp 32D

select one out of 32 positive fractionals, with chain i/o
Author: Johannes Taelman Edited by Jaffasplaffa
License: BSD
Github: jaffa/sel/sel fp 32D.axo

Inlets

int32 in

frac32 default value

Outlets

int32 chain out (in-32)

frac32.positive output

Parameters

frac32.u.mapvsl b0

frac32.u.mapvsl b1

frac32.u.mapvsl b2

frac32.u.mapvsl b3

frac32.u.mapvsl b4

frac32.u.mapvsl b5

frac32.u.mapvsl b6

frac32.u.mapvsl b7

frac32.u.mapvsl b8

frac32.u.mapvsl b9

frac32.u.mapvsl b10

frac32.u.mapvsl b11

frac32.u.mapvsl b12

frac32.u.mapvsl b13

frac32.u.mapvsl b14

frac32.u.mapvsl b15

frac32.u.mapvsl b16

frac32.u.mapvsl b17

frac32.u.mapvsl b18

frac32.u.mapvsl b19

frac32.u.mapvsl b20

frac32.u.mapvsl b21

frac32.u.mapvsl b22

frac32.u.mapvsl b23

frac32.u.mapvsl b24

frac32.u.mapvsl b25

frac32.u.mapvsl b26

frac32.u.mapvsl b27

frac32.u.mapvsl b28

frac32.u.mapvsl b29

frac32.u.mapvsl b30

frac32.u.mapvsl b31

Displays

int32.bar32 in

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;
case 16:
  outlet_o = param_b16;
  break;
case 17:
  outlet_o = param_b17;
  break;
case 18:
  outlet_o = param_b18;
  break;
case 19:
  outlet_o = param_b19;
  break;
case 20:
  outlet_o = param_b20;
  break;
case 21:
  outlet_o = param_b21;
  break;
case 22:
  outlet_o = param_b22;
  break;
case 23:
  outlet_o = param_b23;
  break;
case 24:
  outlet_o = param_b24;
  break;
case 25:
  outlet_o = param_b25;
  break;
case 26:
  outlet_o = param_b26;
  break;
case 27:
  outlet_o = param_b27;
  break;
case 28:
  outlet_o = param_b28;
  break;
case 29:
  outlet_o = param_b29;
  break;
case 30:
  outlet_o = param_b30;
  break;
case 31:
  outlet_o = param_b31;
  break;
default:
  outlet_o = inlet_def;
}
outlet_chain = inlet_in - 32;
disp_in = inlet_in;

Privacy

© 2024 Zrna Research