Mercurial > hg > qm-dsp
comparison dsp/chromagram/ConstantQ.h @ 245:cdfd0948a852
* First cut at properly integrating the segmenter and making it work right
author | Chris Cannam <c.cannam@qmul.ac.uk> |
---|---|
date | Wed, 09 Jan 2008 16:50:04 +0000 |
parents | a98dd8ec96f8 |
children | 8bb764969d50 |
comparison
equal
deleted
inserted
replaced
244:f599563a4663 | 245:cdfd0948a852 |
---|---|
14 #include <vector> | 14 #include <vector> |
15 #include "maths/MathAliases.h" | 15 #include "maths/MathAliases.h" |
16 #include "maths/MathUtilities.h" | 16 #include "maths/MathUtilities.h" |
17 | 17 |
18 struct CQConfig{ | 18 struct CQConfig{ |
19 unsigned int FS; | 19 unsigned int FS; // samplerate |
20 double min; | 20 double min; // minimum frequency |
21 double max; | 21 double max; // maximum frequency |
22 unsigned int BPO; | 22 unsigned int BPO; // bins per octave |
23 double CQThresh; | 23 double CQThresh; // threshold |
24 }; | 24 }; |
25 | 25 |
26 class ConstantQ { | 26 class ConstantQ { |
27 | 27 |
28 //public functions incl. sparsekernel so can keep out of loop in main | 28 //public functions incl. sparsekernel so can keep out of loop in main |