Reduce p level for trough picker. The behaviour here is not what I'd hoped

This commit is contained in:
Chris Cannam
2022-06-07 14:13:24 +01:00
parent 07b339df13
commit 36f993b9a6
2 changed files with 3 additions and 1 deletions

View File

@@ -654,7 +654,7 @@ R3StretcherImpl::analyseChannel(int c, int inhop, int prevInhop, int prevOuthop)
cd->nextSegmentation = cd->segmenter->segment(cd->nextClassification.data());
m_troughPicker.findNearestAndNextPeaks
(classifyScale->mag.data(), 3, nullptr,
(classifyScale->mag.data(), 1, nullptr,
classifyScale->troughs.data());
double instantaneousRatio = double(prevOuthop) / double(prevInhop);