diff audioio/PhaseVocoderTimeStretcher.h @ 21:7da85e0b85e9

* Add some internal feedback to the time stretcher to try to make it maintain tempo within variable timestretching situations -- not ideal but perhaps better than nothing. * Better tooltip text for play speeed control; make play sharpening control remember its last state
author Chris Cannam
date Thu, 14 Sep 2006 16:08:23 +0000
parents e125f0dde7a3
children 80126455d169
line wrap: on
line diff
--- a/audioio/PhaseVocoderTimeStretcher.h	Thu Sep 14 13:41:56 2006 +0000
+++ b/audioio/PhaseVocoderTimeStretcher.h	Thu Sep 14 16:08:23 2006 +0000
@@ -140,11 +140,15 @@
     Window<float> *m_analysisWindow;
     Window<float> *m_synthesisWindow;
 
+    int m_totalCount;
+    int m_transientCount;
+    int m_n2sum;
+
     float **m_prevPhase;
     float **m_prevAdjustedPhase;
 
     float *m_prevTransientMag;
-    int  m_prevTransientCount;
+    int  m_prevTransientScore;
     bool m_prevTransient;
 
     float *m_tempbuf;