Mercurial > hg > qm-dsp
comparison dsp/onsets/DetectionFunction.h @ 483:fdaa63607c15
Untabify, indent, tidy
author | Chris Cannam <cannam@all-day-breakfast.com> |
---|---|
date | Fri, 31 May 2019 11:54:32 +0100 |
parents | 42d416af5030 |
children | 701233f8ed41 |
comparison
equal
deleted
inserted
replaced
482:cbe668c7d724 | 483:fdaa63607c15 |
---|---|
63 double HFC( unsigned int length, double* src); | 63 double HFC( unsigned int length, double* src); |
64 double specDiff( unsigned int length, double* src); | 64 double specDiff( unsigned int length, double* src); |
65 double phaseDev(unsigned int length, double *srcPhase); | 65 double phaseDev(unsigned int length, double *srcPhase); |
66 double complexSD(unsigned int length, double *srcMagnitude, double *srcPhase); | 66 double complexSD(unsigned int length, double *srcMagnitude, double *srcPhase); |
67 double broadband(unsigned int length, double *srcMagnitude); | 67 double broadband(unsigned int length, double *srcMagnitude); |
68 | 68 |
69 private: | 69 private: |
70 void initialise( DFConfig Config ); | 70 void initialise( DFConfig Config ); |
71 void deInitialise(); | 71 void deInitialise(); |
72 | 72 |
73 int m_DFType; | 73 int m_DFType; |
88 double* m_magnitude; // Magnitude of analysis frame ( frequency domain ) | 88 double* m_magnitude; // Magnitude of analysis frame ( frequency domain ) |
89 double* m_thetaAngle;// Phase of analysis frame ( frequency domain ) | 89 double* m_thetaAngle;// Phase of analysis frame ( frequency domain ) |
90 double* m_unwrapped; // Unwrapped phase of analysis frame | 90 double* m_unwrapped; // Unwrapped phase of analysis frame |
91 | 91 |
92 Window<double> *m_window; | 92 Window<double> *m_window; |
93 PhaseVocoder* m_phaseVoc; // Phase Vocoder | 93 PhaseVocoder* m_phaseVoc; // Phase Vocoder |
94 }; | 94 }; |
95 | 95 |
96 #endif | 96 #endif |