diff --git a/include/BPMDetect.h b/include/BPMDetect.h index c5989cf..848a12b 100644 --- a/include/BPMDetect.h +++ b/include/BPMDetect.h @@ -83,15 +83,6 @@ protected: /// RMS volume sliding average approximation level accumulator double RMSVolumeAccu; - /// Level below which to cut off signals - double cutCoeff; - - /// Accumulator for accounting what proportion of samples exceed cutCoeff level - double aboveCutAccu; - - /// Accumulator for total samples to calculate proportion of samples that exceed cutCoeff level - double totalAccu; - /// Sample average counter. int decimateCount; @@ -137,6 +128,9 @@ protected: int numsamples ///< Number of samples in buffer ); + /// remove constant bias from xcorr data + void removeBias(); + public: /// Constructor. BPMDetect(int numChannels, ///< Number of channels in sample data.