frac32buffer.positive in
frac32.bipolar mod
frac32buffer.positive out
frac32.u.map.gain amp
uint32_t param;
param = param_amp + (inlet_mod << 4);
if (inlet_in < 1 << 26)
outlet_out = ___SMMUL(param, inlet_in) << 2;
else
{
int32_t yy = ___SMMUL(inlet_in - (1 << 26), (1 << 31) - param) << 2;
yy = yy >> 1;
yy += ((param) >> 5);
if (yy < 0)
yy = -yy;
outlet_out = yy << 1;
}