diff SimpleCepstrum.h @ 20:7786d595d2f2 track

Introduce peak-to-second-peak ratio, which looks like a reasonable proxy for harmonic-ness. Use it to ascribe a confidence to estimates in the pitch tracker & rely on that to determine how many similar estimates make a satisfied hypothesis
author Chris Cannam
date Mon, 02 Jul 2012 21:37:02 +0100
parents 960868d5f841
children 0a3c1ecff644
line wrap: on
line diff
--- a/SimpleCepstrum.h	Sun Jul 01 11:33:37 2012 +0100
+++ b/SimpleCepstrum.h	Mon Jul 02 21:37:02 2012 +0100
@@ -92,6 +92,7 @@
     mutable int m_esOutput;
     mutable int m_ppOutput;
     mutable int m_totOutput;
+    mutable int m_pkoOutput;
 
     int m_binFrom;
     int m_binTo;