13
0

fix Vamp Onset Detector.

This commit is contained in:
Robin Gareus 2015-10-08 16:18:39 +02:00
parent 4e39f13991
commit ef169ce2ff
2 changed files with 3 additions and 1 deletions

View File

@ -126,6 +126,8 @@ int PeakPicking::quadEval( vector<double> &src, vector<int> &idx )
m_maxFit.push_back(selMax);
}
TPolyFit::PolyFit2(m_err, m_maxFit, m_poly);
double f = m_poly[0];
double h = m_poly[2];

View File

@ -366,7 +366,7 @@ OnsetDetector::process(const float *const *inputBuffers,
// std::cerr << "OnsetDetector::process(" << timestamp << "): "
// << "dftype " << m_dfType << ", sens " << m_sensitivity
// << ", len " << len << ", mean " << mean << std::endl;
// << ", len " << len << std::endl;
double *magnitudes = new double[len];
double *phases = new double[len];