44 Yin (
int samplingFrequency);
61 return ((T) fs) / ((T) minPeriod);
69 T
pitchYin (
const std::vector<T>& frame);
78 T periodToPitch (T period);
86 long searchForOtherRecentMinima (
const std::vector<T>& delta);
95 T parabolicInterpolation (
unsigned long period,T y1,T y2,T y3);
101 unsigned long getPeriodCandidate (
const std::vector<T>& delta);
107 void cumulativeMeanNormalisedDifferenceFunction (
const std::vector<T>& frame);
111 return floor(val + 0.5);
115 T prevPeriodEstimate;
123 std::vector<T> delta;