diff src/BTrack.cpp @ 29:bddd59087c36 develop

Overloaded initialise in OnsetDetectionFunction so the hopSize and frameSize can be set independently of the window type and onset detection function type
author Adam <adamstark.uk@gmail.com>
date Tue, 28 Jan 2014 00:49:53 +0000
parents 7af87d3f2ce2
children
line wrap: on
line diff
--- a/src/BTrack.cpp	Tue Jan 28 00:31:17 2014 +0000
+++ b/src/BTrack.cpp	Tue Jan 28 00:49:53 2014 +0000
@@ -152,7 +152,7 @@
 void BTrack::updateHopAndFrameSize(int hopSize_,int frameSize_)
 {
     // update the onset detection function object
-    odf.initialise(hopSize_, frameSize_, ComplexSpectralDifferenceHWR, HanningWindow);
+    odf.initialise(hopSize_, frameSize_);
     
     // update the hop size being used by the beat tracker
     setHopSize(hopSize_);