diff TempogramPlugin.cpp @ 44:a908a5a56267

Some unsigned -> int (while bug hunting)
author Chris Cannam
date Thu, 25 Sep 2014 15:42:15 +0100
parents 4cf2d163127b
children e6a43500629b
line wrap: on
line diff
--- a/TempogramPlugin.cpp	Thu Sep 25 15:13:45 2014 +0100
+++ b/TempogramPlugin.cpp	Thu Sep 25 15:42:15 2014 +0100
@@ -505,10 +505,14 @@
     
     for (int block = 0; block < tempogramLength; block++){
         Feature tempogramACTFeature;
+
+//	cerr << "block = " << block << ", window length = " << m_tempogramWindowLength << ", max lag = " << m_tempogramMaxLag << ", min lag = " << m_tempogramMinLag << endl;
         
         for(int k = m_tempogramMaxLag; k >= (int)m_tempogramMinLag; k--){
+//	    cerr << "(" << block << "," << k << ") ";
             tempogramACTFeature.values.push_back(tempogramACT[block][k]);
         }
+//	cerr << endl;
         tempogramACTFeature.hasTimestamp = false;
         featureSet[2].push_back(tempogramACTFeature);
     }