16 #ifndef DETECTIONFUNCTION_H
17 #define DETECTIONFUNCTION_H
25 #define DF_SPECDIFF (2)
26 #define DF_PHASEDEV (3)
27 #define DF_COMPLEXSD (4)
28 #define DF_BROADBAND (5)
PhaseVocoder * m_phaseVoc
unsigned int m_dataLength
double broadband(unsigned int length, double *srcMagnitude)
virtual ~DetectionFunction()
Window< double > * m_window
double complexSD(unsigned int length, double *srcMagnitude, double *srcPhase)
unsigned int m_halfLength
double specDiff(unsigned int length, double *src)
DetectionFunction(DFConfig Config)
double m_whitenRelaxCoeff
double phaseDev(unsigned int length, double *srcPhase)
double * getSpectrumMagnitude()
void initialise(DFConfig Config)
double processFrequencyDomain(const double *reals, const double *imags)
double HFC(unsigned int length, double *src)
double processTimeDomain(const double *samples)
double * m_phaseHistoryOld
PBD::PropertyDescriptor< timecnt_t > length
double whiteningRelaxCoeff