diff src/OnsetDetectionFunction.h @ 111:8fb1610c9192

Code style updates
author Adam Stark <adamstark.uk@gmail.com>
date Thu, 17 Aug 2023 09:31:30 +0200
parents 4aa362058011
children
line wrap: on
line diff
--- a/src/OnsetDetectionFunction.h	Sun Oct 31 23:34:44 2021 +0000
+++ b/src/OnsetDetectionFunction.h	Thu Aug 17 09:31:30 2023 +0200
@@ -70,7 +70,7 @@
      * @param hopSize_ the hop size in audio samples
      * @param frameSize_ the frame size in audio samples
      */
-	OnsetDetectionFunction (int hopSize_, int frameSize_);
+	OnsetDetectionFunction (int hopSize, int frameSize);
     
     
     /** Constructor 
@@ -79,7 +79,7 @@
      * @param onsetDetectionFunctionType_ the type of onset detection function to use - (see OnsetDetectionFunctionType)
      * @param windowType the type of window to use (see WindowType)
      */
-	OnsetDetectionFunction (int hopSize_, int frameSize_, int onsetDetectionFunctionType_, int windowType_);
+	OnsetDetectionFunction (int hopSize, int frameSize, int onsetDetectionFunctionType, int windowType);
     
     /** Destructor */
 	~OnsetDetectionFunction();
@@ -89,7 +89,7 @@
      * @param hopSize_ the hop size in audio samples
      * @param frameSize_ the frame size in audio samples
      */
-	void initialise (int hopSize_, int frameSize_);
+	void initialise (int hopSize, int frameSize);
     
     /** Initialisation Function 
      * @param hopSize_ the hop size in audio samples
@@ -97,7 +97,7 @@
      * @param onsetDetectionFunctionType_ the type of onset detection function to use - (see OnsetDetectionFunctionType)
      * @param windowType the type of window to use (see WindowType)
      */
-	void initialise (int hopSize_, int frameSize_, int onsetDetectionFunctionType_, int windowType_);
+	void initialise (int hopSize, int frameSize, int onsetDetectionFunctionType, int windowType);
 	
     /** Process input frame and calculate detection function sample 
      * @param buffer a pointer to an array containing the audio samples to be processed
@@ -108,7 +108,7 @@
     /** Set the detection function type 
      * @param onsetDetectionFunctionType_ the type of onset detection function to use - (see OnsetDetectionFunctionType)
      */
-	void setOnsetDetectionFunctionType (int onsetDetectionFunctionType_);
+	void setOnsetDetectionFunctionType (int onsetDetectionFunctionType);
 	
 private:
 	
@@ -207,8 +207,7 @@
     std::vector<double> phase;          /**< FFT phase values */
     std::vector<double> prevPhase;      /**< previous phase values */
     std::vector<double> prevPhase2;     /**< second order previous phase values */
-
 };
 
 
-#endif
\ No newline at end of file
+#endif