qm-dsp  1.8
ConstantQ Class Reference

#include <ConstantQ.h>

List of all members.

Classes

struct  SparseKernel

Public Member Functions

void process (const double *FFTRe, const double *FFTIm, double *CQRe, double *CQIm)
 ConstantQ (CQConfig Config)
 ~ConstantQ ()
double * process (const double *FFTData)
void sparsekernel ()
double hamming (int len, int n)
int getnumwin ()
double getQ ()
int getK ()
int getfftlength ()
int gethop ()

Private Member Functions

void initialise (CQConfig Config)
void deInitialise ()

Private Attributes

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

Detailed Description

Definition at line 31 of file ConstantQ.h.


Constructor & Destructor Documentation

Definition at line 64 of file ConstantQ.cpp.

References initialise().

Definition at line 70 of file ConstantQ.cpp.

References deInitialise().


Member Function Documentation

void ConstantQ::process ( const double *  FFTRe,
const double *  FFTIm,
double *  CQRe,
double *  CQIm 
)
double ConstantQ::hamming ( int  len,
int  n 
) [inline]

Definition at line 45 of file ConstantQ.h.

References PI.

Referenced by sparsekernel().

int ConstantQ::getnumwin ( ) [inline]

Definition at line 50 of file ConstantQ.h.

References m_numWin.

double ConstantQ::getQ ( ) [inline]

Definition at line 51 of file ConstantQ.h.

References m_dQ.

int ConstantQ::getK ( ) [inline]

Definition at line 52 of file ConstantQ.h.

References m_uK.

Referenced by ClusterMeltSegmenter::initialise().

int ConstantQ::gethop ( ) [inline]

Definition at line 54 of file ConstantQ.h.

References m_hop.

Referenced by Chromagram::initialise().

void ConstantQ::deInitialise ( ) [private]

Definition at line 311 of file ConstantQ.cpp.

References m_CQdata, and m_sparseKernel.

Referenced by ~ConstantQ().


Member Data Documentation

double* ConstantQ::m_CQdata [private]

Definition at line 60 of file ConstantQ.h.

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

unsigned int ConstantQ::m_FS [private]

Definition at line 61 of file ConstantQ.h.

Referenced by initialise(), and sparsekernel().

double ConstantQ::m_FMin [private]

Definition at line 62 of file ConstantQ.h.

Referenced by initialise(), and sparsekernel().

double ConstantQ::m_FMax [private]

Definition at line 63 of file ConstantQ.h.

Referenced by initialise().

double ConstantQ::m_dQ [private]

Definition at line 64 of file ConstantQ.h.

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

double ConstantQ::m_CQThresh [private]

Definition at line 65 of file ConstantQ.h.

Referenced by initialise(), and sparsekernel().

unsigned int ConstantQ::m_numWin [private]

Definition at line 66 of file ConstantQ.h.

Referenced by getnumwin().

unsigned int ConstantQ::m_hop [private]

Definition at line 67 of file ConstantQ.h.

Referenced by gethop(), and initialise().

unsigned int ConstantQ::m_BPO [private]

Definition at line 68 of file ConstantQ.h.

Referenced by initialise(), and sparsekernel().

unsigned int ConstantQ::m_FFTLength [private]

Definition at line 69 of file ConstantQ.h.

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

unsigned int ConstantQ::m_uK [private]

Definition at line 70 of file ConstantQ.h.

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

Definition at line 79 of file ConstantQ.h.

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


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