summaryrefslogtreecommitdiff
path: root/libs/qm-dsp/dsp/onsets/DetectionFunction.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libs/qm-dsp/dsp/onsets/DetectionFunction.cpp')
-rw-r--r--libs/qm-dsp/dsp/onsets/DetectionFunction.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/qm-dsp/dsp/onsets/DetectionFunction.cpp b/libs/qm-dsp/dsp/onsets/DetectionFunction.cpp
index 1abed021f9..ae22cfb11d 100644
--- a/libs/qm-dsp/dsp/onsets/DetectionFunction.cpp
+++ b/libs/qm-dsp/dsp/onsets/DetectionFunction.cpp
@@ -250,7 +250,7 @@ double DetectionFunction::complexSD(unsigned int length, double *srcMagnitude, d
double tmpPhase = 0;
double tmpReal = 0;
double tmpImag = 0;
-
+
double dev = 0;
ComplexData meas = ComplexData( 0, 0 );
ComplexData j = ComplexData( 0, 1 );
@@ -287,7 +287,7 @@ double DetectionFunction::broadband(unsigned int length, double *src)
m_magHistory[i] = sqrmag;
}
return val;
-}
+}
double* DetectionFunction::getSpectrumMagnitude()
{