Scaling fixes

This commit is contained in:
Chris Cannam
2022-05-23 17:36:26 +01:00
parent fb9edfb20d
commit 9d82d58c36
2 changed files with 44 additions and 28 deletions

View File

@@ -114,6 +114,7 @@ protected:
std::vector<int> m_numeric;
MovingMedian<int> m_classFilter;
//!!! dupes
int binForFrequency(double f) const {
return int(round(f * double(m_parameters.fftSize) /
m_parameters.sampleRate));