tinit 4

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

Inlets

int32.positive offset

bool32.rising set!

Outlets

None

Parameters

frac32.s.map v0

frac32.s.map v1

frac32.s.map v2

frac32.s.map v3

Attributes

objref table

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

  attr_table.array[inlet_offset] = __SSAT(param_v0, 28) >> attr_table.GAIN;
  attr_table.array[inlet_offset + 1] = __SSAT(param_v1, 28) >> attr_table.GAIN;
  attr_table.array[inlet_offset + 2] = __SSAT(param_v2, 28) >> attr_table.GAIN;
  attr_table.array[inlet_offset + 3] = __SSAT(param_v3, 28) >> attr_table.GAIN;
}
if (!(inlet_trig > 0))
  ntrig = 0;

Privacy

© 2024 Zrna Research