tinit 8

sets the indexes of table to the value of the sliders starting at index 'offset'
Author: Robert Schirmer
License: BSD
Github: rbrt/data/tinit 8.axo

Inlets

int32.positive offset

bool32.rising trig

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

Attributes

objref table

Declaration
uint32_t ntrig;
Control Rate
if ((inlet_trig > 0) && !ntrig) {
  ntrig = 1;

  attr_table.array[inlet_offset] = __SSAT(param_b0, 28) >> attr_table.GAIN;
  attr_table.array[inlet_offset + 1] = __SSAT(param_b1, 28) >> attr_table.GAIN;
  attr_table.array[inlet_offset + 2] = __SSAT(param_b2, 28) >> attr_table.GAIN;
  attr_table.array[inlet_offset + 3] = __SSAT(param_b3, 28) >> attr_table.GAIN;
  attr_table.array[inlet_offset + 4] = __SSAT(param_b4, 28) >> attr_table.GAIN;
  attr_table.array[inlet_offset + 5] = __SSAT(param_b5, 28) >> attr_table.GAIN;
  attr_table.array[inlet_offset + 6] = __SSAT(param_b6, 28) >> attr_table.GAIN;
  attr_table.array[inlet_offset + 7] = __SSAT(param_b7, 28) >> attr_table.GAIN;
}

if (!(inlet_trig > 0))
  ntrig = 0;

Privacy

© 2024 Zrna Research