Mercurial > hg > qm-dsp
diff dsp/tempotracking/TempoTrack.h @ 479:7e52c034cf62
Untabify, indent, tidy
author | Chris Cannam <cannam@all-day-breakfast.com> |
---|---|
date | Fri, 31 May 2019 10:35:08 +0100 |
parents | 64fc3009d0a3 |
children | 701233f8ed41 |
line wrap: on
line diff
--- a/dsp/tempotracking/TempoTrack.h Thu May 30 18:40:16 2019 +0100 +++ b/dsp/tempotracking/TempoTrack.h Fri May 31 10:35:08 2019 +0100 @@ -54,7 +54,7 @@ vector<int> process( vector <double> DF, vector <double> *tempoReturn = 0); - + private: void initialise( TTParams Params ); void deInitialise(); @@ -67,7 +67,7 @@ void stepDetect( double* periodP, double* periodG, int currentIdx, int* flag ); void createCombFilter( double* Filter, int winLength, int TSig, double beatLag ); double tempoMM( double* ACF, double* weight, int sig ); - + int m_dataLength; int m_winLength; int m_lagLength; @@ -76,13 +76,13 @@ double m_sigma; double m_DFWVNnorm; - vector<int> m_beats; // Vector of detected beats + vector<int> m_beats; // Vector of detected beats double m_lockedTempo; double* m_tempoScratch; double* m_smoothRCF; // Smoothed Output of Comb Filterbank (m_tempoScratch) - + // Processing Buffers double* m_rawDFFrame; // Original Detection Function Analysis Frame double* m_smoothDFFrame; // Smoothed Detection Function Analysis Frame @@ -91,7 +91,7 @@ //Low Pass Coefficients for DF Smoothing double* m_ACoeffs; double* m_BCoeffs; - + // Objetcs/operators declaration Framer m_DFFramer; DFProcess* m_DFConditioning; @@ -99,13 +99,10 @@ // Config structure for DFProcess DFProcConfig m_DFPParams; - // also want to smooth m_tempoScratch + // also want to smooth m_tempoScratch DFProcess* m_RCFConditioning; // Config structure for RCFProcess DFProcConfig m_RCFPParams; - - - }; #endif