frac32buffer in
frac32buffer out
int32 stack
int32_t in[33];
int32_t prev[33];
int i;
in[0] = inlet_in;
for (i = 0; i < param_stack; i++) {
in[i + 1] = (in[i] + prev[i] + prev[i + 1]) / 3;
}
for (i = 0; i < param_stack; i++) {
prev[i] = in[i];
}
outlet_out = in[param_stack];