mirror of
https://github.com/azahar-emu/soundtouch
synced 2025-11-07 23:50:03 +01:00
Adjustments in beat detection
This commit is contained in:
parent
0462e450a6
commit
a63d88dc78
@ -83,15 +83,6 @@ protected:
|
|||||||
/// RMS volume sliding average approximation level accumulator
|
/// RMS volume sliding average approximation level accumulator
|
||||||
double RMSVolumeAccu;
|
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.
|
/// Sample average counter.
|
||||||
int decimateCount;
|
int decimateCount;
|
||||||
|
|
||||||
@ -137,6 +128,9 @@ protected:
|
|||||||
int numsamples ///< Number of samples in buffer
|
int numsamples ///< Number of samples in buffer
|
||||||
);
|
);
|
||||||
|
|
||||||
|
/// remove constant bias from xcorr data
|
||||||
|
void removeBias();
|
||||||
|
|
||||||
public:
|
public:
|
||||||
/// Constructor.
|
/// Constructor.
|
||||||
BPMDetect(int numChannels, ///< Number of channels in sample data.
|
BPMDetect(int numChannels, ///< Number of channels in sample data.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user