frac32buffer.bipolar in
frac32buffer.bipolar older
frac32buffer.bipolar y2
frac32buffer.bipolar y1
frac32buffer.bipolar y0
float x0, x1, x2, x3, x4, x5;
int32_t y4;
x0 = x1 = x2 = x3 = x4 = x5 = y4 = 0;
x0 = x1;
x1 = x2;
x2 = x3;
x3 = x4;
x4 = x5;
x5 = (float)inlet_in;
// First stage interpolator
outlet_y2 = (int32_t)x2;
outlet_y3 = (outlet_y2 + y4) >> 1;
y4 = outlet_y0 = (int32_t)((x5 + x0) * 0.025665914601895386f +
(x4 + x1) * -0.04277652433649233f +
(x3 + x2) * 0.517110609734597f);
// second stage interpolator
outlet_y1 = (outlet_y0 + outlet_y2) >> 1;