Mercurial > hg > qm-dsp
comparison dsp/chromagram/ChromaProcess.h @ 225:49844bc8a895
* Queen Mary C++ DSP library
| author | Chris Cannam <c.cannam@qmul.ac.uk> |
|---|---|
| date | Wed, 05 Apr 2006 17:35:59 +0000 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 225:49844bc8a895 |
|---|---|
| 1 /* -*- c-basic-offset: 4 indent-tabs-mode: nil -*- vi:set ts=8 sts=4 sw=4: */ | |
| 2 | |
| 3 /* | |
| 4 QM DSP Library | |
| 5 | |
| 6 Centre for Digital Music, Queen Mary, University of London. | |
| 7 This file copyright 2005-2006 Christian Landone. | |
| 8 All rights reserved. | |
| 9 */ | |
| 10 | |
| 11 #ifndef CHROMAPROCESS_H | |
| 12 #define CHROMAPROCESS_H | |
| 13 | |
| 14 #include <vector> | |
| 15 | |
| 16 using namespace std; | |
| 17 | |
| 18 class ChromaProcess | |
| 19 { | |
| 20 public: | |
| 21 void findHistMaxMin( vector<double> hist, double* max, int*maxIdx, double* min, int* minIdx ); | |
| 22 vector <int> mod( vector <int> input, int res ); | |
| 23 vector <int> getPeaks( vector <double> chroma, unsigned int BPO ); | |
| 24 int findChromaBias( vector<double> chromaVector, unsigned int BPO, unsigned int frames ); | |
| 25 ChromaProcess(); | |
| 26 virtual ~ChromaProcess(); | |
| 27 | |
| 28 }; | |
| 29 | |
| 30 #endif // !defined(CHROMAPROCESS_H) |
