31 using ProgressFn = std::function<void(
long long num,
long long den)>;
39 size_t windowSize,
double rate,
40 const float *data,
size_t dataLen,
41 float *pYMin = NULL,
float *pYMax = NULL,
44 const float *GetProcessed()
const;
45 int GetProcessedSize()
const;
47 float GetProcessedValue(
float freq0,
float freq1)
const;
48 float FindPeak(
float xPos,
float *pY)
const;
51 float CubicInterpolate(
float y0,
float y1,
float y2,
float y3,
float x)
const;
52 float CubicMaximize(
float y0,
float y1,
float y2,
float y3,
float * max)
const;
Used for finding the peaks, for snapping to peaks.
std::vector< float > mProcessed
@ EnhancedAutocorrelation
@ CubeRootAutocorrelation
std::function< void(long long num, long long den)> ProgressFn