comparison dsp/onsets/DetectionFunction.h @ 133:ef42b60d0100

Merge from branch kissfft
author Chris Cannam
date Wed, 16 Oct 2013 12:52:44 +0100
parents 2053a308bb4d
children fdaa63607c15
comparison
equal deleted inserted replaced
132:0523dbfda035 133:ef42b60d0100
27 #define DF_COMPLEXSD (4) 27 #define DF_COMPLEXSD (4)
28 #define DF_BROADBAND (5) 28 #define DF_BROADBAND (5)
29 29
30 struct DFConfig{ 30 struct DFConfig{
31 unsigned int stepSize; // DF step in samples 31 unsigned int stepSize; // DF step in samples
32 unsigned int frameLength; // DF analysis window - usually 2*step 32 unsigned int frameLength; // DF analysis window - usually 2*step. Must be even!
33 int DFType; // type of detection function ( see defines ) 33 int DFType; // type of detection function ( see defines )
34 double dbRise; // only used for broadband df (and required for it) 34 double dbRise; // only used for broadband df (and required for it)
35 bool adaptiveWhitening; // perform adaptive whitening 35 bool adaptiveWhitening; // perform adaptive whitening
36 double whiteningRelaxCoeff; // if < 0, a sensible default will be used 36 double whiteningRelaxCoeff; // if < 0, a sensible default will be used
37 double whiteningFloor; // if < 0, a sensible default will be used 37 double whiteningFloor; // if < 0, a sensible default will be used