sel dial 5

selectable constant. Output is v0 if s<1. v1 if s<2. v2 if s<3. v3 if more.
Author: Johannes Taelman
License: BSD
Github: lokki/sel/sel dial 5.axo

Inlets

int32 select

Outlets

frac32 output

Parameters

frac32.u.map v0

frac32.u.map v1

frac32.u.map v2

frac32.u.map v3

frac32.u.map v4

Control Rate
switch (inlet_s > 0 ? inlet_s : 0) {
case 0:
  outlet_o = param_v0;
  break;
case 1:
  outlet_o = param_v1;
  break;
case 2:
  outlet_o = param_v2;
  break;
case 3:
  outlet_o = param_v3;
  break;
case 4:
default:
  outlet_o = param_v4;
  break;
}

Privacy

© 2024 Zrna Research