c@225: /* -*- c-basic-offset: 4 indent-tabs-mode: nil -*- vi:set ts=8 sts=4 sw=4: */ c@225: c@225: /* c@225: QM DSP Library c@225: c@225: Centre for Digital Music, Queen Mary, University of London. c@225: This file copyright 2005-2006 Christian Landone. c@225: All rights reserved. c@225: */ c@225: c@225: #ifndef CHROMAPROCESS_H c@225: #define CHROMAPROCESS_H c@225: c@225: #include c@225: c@225: using namespace std; c@225: c@225: class ChromaProcess c@225: { c@225: public: c@225: void findHistMaxMin( vector hist, double* max, int*maxIdx, double* min, int* minIdx ); c@225: vector mod( vector input, int res ); c@225: vector getPeaks( vector chroma, unsigned int BPO ); c@225: int findChromaBias( vector chromaVector, unsigned int BPO, unsigned int frames ); c@225: ChromaProcess(); c@225: virtual ~ChromaProcess(); c@225: c@225: }; c@225: c@225: #endif // !defined(CHROMAPROCESS_H)