Mercurial > hg > qm-dsp
comparison dsp/keydetection/GetKeyMode.h @ 9:381758cfbe64
* Various changes in progress for debugging key mode plugin
author | cannam |
---|---|
date | Mon, 22 Jan 2007 17:32:09 +0000 |
parents | 85a9e268a8c4 |
children | 163f6e03e9e7 |
comparison
equal
deleted
inserted
replaced
8:9774e6ad0dd2 | 9:381758cfbe64 |
---|---|
23 | 23 |
24 | 24 |
25 class GetKeyMode | 25 class GetKeyMode |
26 { | 26 { |
27 public: | 27 public: |
28 GetKeyMode( double hpcpAverage, double medianAverage ); | 28 GetKeyMode( int sampleRate, float tuningFrequency, |
29 double hpcpAverage, double medianAverage ); | |
29 | 30 |
30 virtual ~GetKeyMode(); | 31 virtual ~GetKeyMode(); |
31 | 32 |
32 int process( double* PCMData ); | 33 int process( double* PCMData ); |
33 | 34 |
51 | 52 |
52 //Decimator (fixed) | 53 //Decimator (fixed) |
53 Decimator* m_Decimator; | 54 Decimator* m_Decimator; |
54 | 55 |
55 //chroma configuration | 56 //chroma configuration |
56 ChromaConfig m_CromaConfig; | 57 ChromaConfig m_ChromaConfig; |
57 | 58 |
58 //Chromagram object | 59 //Chromagram object |
59 Chromagram* m_Chroma; | 60 Chromagram* m_Chroma; |
60 | 61 |
61 //Chromagram output pointer | 62 //Chromagram output pointer |