IO Variants: 2
Variant: 1
int32.positive index (integer, not fraction)
frac32 value
bool32.rising trigger
None
objref table
int ntrig;
int ntrig = 0;
if ((inlet_trig > 0) && !ntrig) {
ntrig = 1;
if (inlet_a < attr_table.LENGTH)
attr_table.array[inlet_a] = __SSAT(inlet_v, 28) >> attr_table.GAIN;
}
if (!(inlet_trig > 0))
ntrig = 0;
Variant: 2
frac32.positive index in fraction of table size
frac32 value
bool32.rising trigger
None
objref table
int ntrig;
int ntrig = 0;
if ((inlet_trig > 0) && !ntrig) {
ntrig = 1;
attr_table.array[__USAT(inlet_a, 27) >> (27 - attr_table.LENGTHPOW)] =
__SSAT(inlet_v, 28) >> attr_table.GAIN;
}
if (!(inlet_trig > 0))
ntrig = 0;