Mercurial > hg > qm-dsp
comparison dsp/keydetection/GetKeyMode.h @ 458:e7e36ecd7ad2
make m_BPO const and rename to kBinsPerOctave
author | Daniel Schürmann <daschuer@mixxx.org> |
---|---|
date | Fri, 24 May 2019 20:31:32 +0200 |
parents | f5b5f64835b9 |
children | b7e10277a84c |
comparison
equal
deleted
inserted
replaced
457:8a8cf7296e58 | 458:e7e36ecd7ad2 |
---|---|
31 | 31 |
32 unsigned int getBlockSize() { return m_ChromaFrameSize*m_DecimationFactor; } | 32 unsigned int getBlockSize() { return m_ChromaFrameSize*m_DecimationFactor; } |
33 unsigned int getHopSize() { return m_ChromaHopSize*m_DecimationFactor; } | 33 unsigned int getHopSize() { return m_ChromaHopSize*m_DecimationFactor; } |
34 | 34 |
35 double* getChroma() { return m_ChrPointer; } | 35 double* getChroma() { return m_ChrPointer; } |
36 unsigned int getChromaSize() { return m_BPO; } | 36 unsigned int getChromaSize(); |
37 | 37 |
38 double* getMeanHPCP() { return m_MeanHPCP; } | 38 double* getMeanHPCP() { return m_MeanHPCP; } |
39 | 39 |
40 double *getKeyStrengths() { return m_keyStrengths; } | 40 double *getKeyStrengths() { return m_keyStrengths; } |
41 | 41 |
61 | 61 |
62 //Framesize | 62 //Framesize |
63 unsigned int m_ChromaFrameSize; | 63 unsigned int m_ChromaFrameSize; |
64 //Hop | 64 //Hop |
65 unsigned int m_ChromaHopSize; | 65 unsigned int m_ChromaHopSize; |
66 //Bins per octave | |
67 unsigned int m_BPO; | |
68 | 66 |
69 | 67 |
70 unsigned int m_ChromaBuffersize; | 68 unsigned int m_ChromaBuffersize; |
71 unsigned int m_MedianWinsize; | 69 unsigned int m_MedianWinsize; |
72 | 70 |