diff TempogramPlugin.cpp @ 26:ff6110f1144b

* Added an additional buffer in AutocorrelationProcessor::process() - possibly a little bit slower, but much easier to debug!
author Carl Bussey <c.bussey@se10.qmul.ac.uk>
date Wed, 20 Aug 2014 16:32:52 +0100
parents fe23998968b4
children 723af5b3303a
line wrap: on
line diff
--- a/TempogramPlugin.cpp	Wed Aug 20 16:00:37 2014 +0100
+++ b/TempogramPlugin.cpp	Wed Aug 20 16:32:52 2014 +0100
@@ -474,8 +474,7 @@
     delete []hannWindow;
     hannWindow = 0;
     
-    int tempogramLag = 1;
-    AutocorrelationProcessor autocorrelationProcessor(m_tempogramWindowLength, m_tempogramHopSize, tempogramLag);
+    AutocorrelationProcessor autocorrelationProcessor(m_tempogramWindowLength, m_tempogramHopSize);
     Tempogram tempogramACT = autocorrelationProcessor.process(&noveltyCurve[0], numberOfBlocks);
     
     int tempogramLength = tempogramDFT.size();