frac32buffer.positive index in fraction of table size
frac32buffer table[a]
objref wave
uint32_t asat = inlet_smps << (27 - attr_wave.LENGTHPOW);
int32_t y1 = attr_wave.array[inlet_smps & attr_wave.LENGTHMASK]
<< attr_wave.GAIN;
int32_t y2 = attr_wave.array[(inlet_smps + 1) & attr_wave.LENGTHMASK]
<< attr_wave.GAIN;
int frac = (asat - (inlet_smps << (27 - attr_wave.LENGTHPOW)))
<< (attr_wave.LENGTHPOW + 3);
int32_t rr;
rr = ___SMMUL(y1, (1 << 30) - frac);
rr = ___SMMLA(y2, frac, rr);
outlet_wave = rr << 2;