#include <assert.h>
#include <cmath>
#include <cstddef>
+#include <math.h>
+#include <vector>
using namespace std;
CorrelationMeasurer::CorrelationMeasurer(unsigned sample_rate,
float lowpass_cutoff_hz,
- float falloff_seconds)
+ float falloff_seconds)
: w1(2.0 * M_PI * lowpass_cutoff_hz / sample_rate),
w2(1.0 / (falloff_seconds * sample_rate))
{