diff data/model/FFTModel.h @ 1576:0f62bce0f0be spectrogramparam

Further adjustments to peak picking, to try to avoid a surfeit of peaks in the higher frequencies
author Chris Cannam
date Tue, 13 Nov 2018 13:29:37 +0000
parents fad8f533ca13
children c01cbe41aeb5
line wrap: on
line diff
--- a/data/model/FFTModel.h	Mon Nov 12 14:48:15 2018 +0000
+++ b/data/model/FFTModel.h	Tue Nov 13 13:29:37 2018 +0000
@@ -156,7 +156,7 @@
     mutable breakfastquay::FFT m_fft;
     
     int getPeakPickWindowSize(PeakPickType type, sv_samplerate_t sampleRate,
-                              int bin, float &percentile) const;
+                              int bin, double &dist) const;
 
     std::pair<sv_frame_t, sv_frame_t> getSourceSampleRange(int column) const {
         sv_frame_t startFrame = m_windowIncrement * sv_frame_t(column);