Mercurial > hg > qm-dsp
diff dsp/keydetection/GetKeyMode.h @ 265:c1a952d9017c
* Add key strength output; increase chromagram lower bound so as to shorten
hop size
author | Chris Cannam <c.cannam@qmul.ac.uk> |
---|---|
date | Fri, 01 Feb 2008 16:45:49 +0000 |
parents | 60bbe2d98066 |
children | b4921bfd2aea |
line wrap: on
line diff
--- a/dsp/keydetection/GetKeyMode.h Fri Feb 01 16:45:14 2008 +0000 +++ b/dsp/keydetection/GetKeyMode.h Fri Feb 01 16:45:49 2008 +0000 @@ -14,7 +14,7 @@ * */ -#if !defined GETKEYMODE_H +#ifndef GETKEYMODE_H #define GETKEYMODE_H @@ -42,6 +42,8 @@ double* getMeanHPCP() { return m_MeanHPCP; } + double *getKeyStrengths() { return m_keyStrengths; } + int isModeMinor( int key ); protected: @@ -87,6 +89,8 @@ double* m_Keys; int* m_MedianFilterBuffer; int* m_SortedBuffer; + + double *m_keyStrengths; }; #endif // !defined GETKEYMODE_H