sel fp 16D

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

Inlets

int32 in

frac32 default value

Outlets

int32 chain out (in-16)

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

Displays

int32.bar16 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;
default:
  outlet_o = inlet_def;
}
outlet_chain = inlet_in - 16;
disp_in = inlet_in;

Privacy

© 2024 Zrna Research