diff src/BTrack.cpp @ 66:b387d8327729

Overloaded initialise in OnsetDetectionFunction so the hopSize and frameSize can be set independently of the window type and onset detection function type
author Adam Stark <adamstark@users.noreply.github.com>
date Tue, 28 Jan 2014 00:49:53 +0000
parents 105999275c2e
children 866024f9f95a
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_);