Mercurial > hg > qm-dsp
comparison dsp/onsets/DetectionFunction.h @ 358:7a225d665ed2
Merge from branch kissfft
author | Chris Cannam <c.cannam@qmul.ac.uk> |
---|---|
date | Wed, 16 Oct 2013 12:52:44 +0100 |
parents | 42d416af5030 |
children | fdaa63607c15 |
comparison
equal
deleted
inserted
replaced
352:5ff562f5b521 | 358:7a225d665ed2 |
---|---|
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 |