frac32buffer.bipolar wf12 waveform
bool32 update
None
int8array128.vbar wf16
uint8_t v[128];
for (int i = 0; i < 128; i++)
v[i] = 0;
if (inlet_update) {
const int16_t *xStartEnd = (const int16_t *)inlet_wf16;
int cpt = 0;
for (int i = 0; i < 16; i++) {
int cv = xStartEnd[i * 2];
int dv = (xStartEnd[i * 2 + 1] - xStartEnd[i * 2]) >> 3;
for (int j = 0; j < 8; j++) {
v[cpt] = cv >> 9;
cv += dv;
cpt++;
}
}
}
for (int i = 0; i < 128; i++)
disp_wf16[i] = v[i];