fix Vamp Onset Detector.
This commit is contained in:
parent
4e39f13991
commit
ef169ce2ff
@ -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];
|
||||
|
||||
|
@ -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];
|
||||
|
Loading…
Reference in New Issue
Block a user