diff dsp/onsets/DetectionFunction.h @ 130:2053a308bb4d kissfft

Frame length no longer needs to be a power of two
author Chris Cannam
date Tue, 15 Oct 2013 11:52:00 +0100
parents 2020c73dc997
children fdaa63607c15
line wrap: on
line diff
--- a/dsp/onsets/DetectionFunction.h	Tue Oct 15 11:38:18 2013 +0100
+++ b/dsp/onsets/DetectionFunction.h	Tue Oct 15 11:52:00 2013 +0100
@@ -29,7 +29,7 @@
 
 struct DFConfig{
     unsigned int stepSize; // DF step in samples
-    unsigned int frameLength; // DF analysis window - usually 2*step
+    unsigned int frameLength; // DF analysis window - usually 2*step. Must be even!
     int DFType; // type of detection function ( see defines )
     double dbRise; // only used for broadband df (and required for it)
     bool adaptiveWhitening; // perform adaptive whitening