int32 samples in
frac32 frequency out
if (inlet_smps) {
if (inlet_smps < (1 << 21))
outlet_freq = (int)(281474976710656.f / (inlet_smps * (128 << 3)));
else
outlet_freq = (281474976710656 >> 10) / ((inlet_smps >> 10) * (128 << 3));
} else
outlet_freq = 0;