Mercurial > hg > qm-dsp
diff dsp/onsets/DetectionFunction.h @ 356:42d416af5030
Frame length no longer needs to be a power of two
author | Chris Cannam <c.cannam@qmul.ac.uk> |
---|---|
date | Tue, 15 Oct 2013 11:52:00 +0100 |
parents | 5eb9c2387108 |
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