Mercurial > hg > qm-vamp-plugins
diff plugins/KeyDetect.cpp @ 233:c9c562f37dd7
Update tests and versions for qm-dsp fixes
author | Chris Cannam <cannam@all-day-breakfast.com> |
---|---|
date | Thu, 30 May 2019 16:22:09 +0100 |
parents | dcf5800f0f00 |
children | 3e882621e2dd |
line wrap: on
line diff
--- a/plugins/KeyDetect.cpp Fri May 24 15:09:10 2019 +0100 +++ b/plugins/KeyDetect.cpp Thu May 30 16:22:09 2019 +0100 @@ -75,7 +75,7 @@ int KeyDetector::getPluginVersion() const { - return 4; + return 5; } string @@ -288,7 +288,6 @@ m_inputFrame[i] = (double)inputBuffers[0][i]; } -// int key = (m_getKeyMode->process(m_inputFrame) % 24); int key = m_getKeyMode->process(m_inputFrame); bool minor = m_getKeyMode->isModeMinor(key); int tonic = key; @@ -301,7 +300,6 @@ Feature feature; feature.hasTimestamp = true; feature.timestamp = now; -// feature.timestamp = now; feature.values.push_back((float)tonic); feature.label = getKeyName(tonic, minor, false); returnFeatures[0].push_back(feature); // tonic