diff dsp/tonal/ChangeDetectionFunction.h @ 482:cbe668c7d724

Untabify, indent, tidy
author Chris Cannam <cannam@all-day-breakfast.com>
date Fri, 31 May 2019 11:02:28 +0100
parents d5014ab8b0e5
children 701233f8ed41
line wrap: on
line diff
--- a/dsp/tonal/ChangeDetectionFunction.h	Fri May 31 10:54:02 2019 +0100
+++ b/dsp/tonal/ChangeDetectionFunction.h	Fri May 31 11:02:28 2019 +0100
@@ -16,33 +16,31 @@
 #ifndef _CHANGEDETECTIONFUNCTION_
 #define _CHANGEDETECTIONFUNCTION_
 
-//#define DEBUG_CHANGE_DETECTION_FUNCTION 1
-
 #include "TCSgram.h"
 
 #include <valarray>
 using std::valarray;
 
-typedef	valarray<double> ChangeDistance;
+typedef valarray<double> ChangeDistance;
 
 struct ChangeDFConfig
 {
-	int smoothingWidth;
+    int smoothingWidth;
 };
 
 class ChangeDetectionFunction
 {
 public:
-	ChangeDetectionFunction(ChangeDFConfig);
-	~ChangeDetectionFunction();
-	ChangeDistance process(const TCSGram& rTCSGram);
+    ChangeDetectionFunction(ChangeDFConfig);
+    ~ChangeDetectionFunction();
+    ChangeDistance process(const TCSGram& rTCSGram);
 private:
-	void setFilterWidth(const int iWidth);
-	
+    void setFilterWidth(const int iWidth);
+        
 private:
-	valarray<double> m_vaGaussian;
-	double m_dFilterSigma;
-	int m_iFilterWidth;
+    valarray<double> m_vaGaussian;
+    double m_dFilterSigma;
+    int m_iFilterWidth;
 };
 
 #endif // _CHANGDETECTIONFUNCTION_