allocate 32u 16 sliders

table in RAM memory, direct from sliders
Author: Remco van der Most
License: BSD
Github: sss/table/allocate 32u 16 sliders.axo

Inlets

None

Outlets

None

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

Declaration
static const uint32_t LENGTHPOW = 4;
static const uint32_t LENGTH = 1 << 4;
static const uint32_t LENGTHMASK = (1 << 4) - 1;
static const uint32_t BITS = 32;
static const uint32_t GAIN = 0;
int32_t array[LENGTH];
Init
{
  int i;
  for (i = 0; i < LENGTH; i++)
    array[i] = 0;
}
Control Rate
array[0] = param_b0;
array[1] = param_b1;
array[2] = param_b2;
array[3] = param_b3;
array[4] = param_b4;
array[5] = param_b5;
array[6] = param_b6;
array[7] = param_b7;
array[8] = param_b8;
array[9] = param_b9;
array[10] = param_b10;
array[11] = param_b11;
array[12] = param_b12;
array[13] = param_b13;
array[14] = param_b14;
array[15] = param_b15;

Privacy

© 2024 Zrna Research