frac32buffer.bipolar in
frac32buffer out
frac32.u.map gain
float x0, x1, y0, y1;
x0 = y0 = 0;
x1 = x0;
y1 = y0;
x0 = arm::q_to_float(___SMMUL(inlet_in, param_gain), 27 - 5 - 3);
float f0 = x0 + 16.5f;
f0 = 2 * (f0 - ((int32_t)f0)) - 1.0f;
y0 = 0.25f * f0 * f0;
float x1_x0 = x1 - x0;
if (fabs(x1_x0) > 0.001f) {
outlet_out = arm::float_to_q((y1 - y0) / (x1_x0), 27);
} else {
outlet_out = arm::float_to_q(f0, 27);
}