diff CepstrumPitchTracker.h @ 25:a15d8c89a36e

Clumsily cut-n-paste interpolation into pitch tracker as well
author Chris Cannam
date Thu, 05 Jul 2012 21:54:50 +0100
parents a949c0278d7d
children fb862b3418f3
line wrap: on
line diff
--- a/CepstrumPitchTracker.h	Thu Jul 05 20:50:56 2012 +0100
+++ b/CepstrumPitchTracker.h	Thu Jul 05 21:54:50 2012 +0100
@@ -128,6 +128,8 @@
     Hypothesis m_accepted;
 
     void filter(const double *in, double *out);
+    double cubicInterpolate(const double[4], double);
+    double findInterpolatedPeak(const double *in, int maxbin);
     void fft(unsigned int n, bool inverse,
              double *ri, double *ii, double *ro, double *io);
 };