#include <ConstantQ.h>

Classes

struct  SparseKernel
 

Public Member Functions

 ConstantQ (CQConfig config)
 
 ~ConstantQ ()
 
void process (const double *FFTRe, const double *FFTIm, double *CQRe, double *CQIm)
 
double * process (const double *FFTData)
 
void sparsekernel ()
 
double getQ ()
 
int getK ()
 
int getFFTLength ()
 
int getHop ()
 

Private Member Functions

void initialise (CQConfig config)
 
void deInitialise ()
 

Private Attributes

double * m_CQdata
 
double m_FS
 
double m_FMin
 
double m_FMax
 
double m_dQ
 
double m_CQThresh
 
int m_hop
 
int m_BPO
 
int m_FFTLength
 
int m_uK
 
SparseKernelm_sparseKernel
 

Detailed Description

Definition at line 31 of file ConstantQ.h.

Constructor & Destructor Documentation

ConstantQ::ConstantQ ( CQConfig  config)

Definition at line 23 of file ConstantQ.cpp.

References initialise().

ConstantQ::~ConstantQ ( )

Definition at line 29 of file ConstantQ.cpp.

References deInitialise().

Member Function Documentation

void ConstantQ::process ( const double *  FFTRe,
const double *  FFTIm,
double *  CQRe,
double *  CQIm 
)
double * ConstantQ::process ( const double *  FFTData)
double ConstantQ::getQ ( )
inline

Definition at line 44 of file ConstantQ.h.

int ConstantQ::getK ( )
inline

Definition at line 45 of file ConstantQ.h.

Referenced by ClusterMeltSegmenter::initialise(), and Chromagram::initialise().

int ConstantQ::getFFTLength ( )
inline
int ConstantQ::getHop ( )
inline

Definition at line 47 of file ConstantQ.h.

Referenced by Chromagram::initialise().

void ConstantQ::initialise ( CQConfig  config)
private
void ConstantQ::deInitialise ( )
private

Definition at line 153 of file ConstantQ.cpp.

References m_CQdata, and m_sparseKernel.

Referenced by ~ConstantQ().

Member Data Documentation

double* ConstantQ::m_CQdata
private

Definition at line 53 of file ConstantQ.h.

Referenced by deInitialise(), initialise(), and process().

double ConstantQ::m_FS
private

Definition at line 54 of file ConstantQ.h.

Referenced by initialise(), and sparsekernel().

double ConstantQ::m_FMin
private

Definition at line 55 of file ConstantQ.h.

Referenced by initialise(), and sparsekernel().

double ConstantQ::m_FMax
private

Definition at line 56 of file ConstantQ.h.

Referenced by initialise().

double ConstantQ::m_dQ
private

Definition at line 57 of file ConstantQ.h.

Referenced by initialise(), and sparsekernel().

double ConstantQ::m_CQThresh
private

Definition at line 58 of file ConstantQ.h.

Referenced by initialise(), and sparsekernel().

int ConstantQ::m_hop
private

Definition at line 59 of file ConstantQ.h.

Referenced by initialise().

int ConstantQ::m_BPO
private

Definition at line 60 of file ConstantQ.h.

Referenced by initialise(), and sparsekernel().

int ConstantQ::m_FFTLength
private

Definition at line 61 of file ConstantQ.h.

Referenced by initialise(), process(), and sparsekernel().

int ConstantQ::m_uK
private

Definition at line 62 of file ConstantQ.h.

Referenced by initialise(), process(), and sparsekernel().

SparseKernel* ConstantQ::m_sparseKernel
private

Definition at line 71 of file ConstantQ.h.

Referenced by deInitialise(), process(), and sparsekernel().


The documentation for this class was generated from the following files: