qm-dsp
1.8
|
#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 |
SparseKernel * | m_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 | ||
) |
Definition at line 195 of file ConstantQ.cpp.
References ConstantQ::SparseKernel::imag, ConstantQ::SparseKernel::is, ConstantQ::SparseKernel::js, m_FFTLength, m_sparseKernel, m_uK, and ConstantQ::SparseKernel::real.
Referenced by ClusterMeltSegmenter::extractFeaturesConstQ(), and Chromagram::process().
double * ConstantQ::process | ( | const double * | FFTData | ) |
Definition at line 160 of file ConstantQ.cpp.
References ConstantQ::SparseKernel::imag, ConstantQ::SparseKernel::is, ConstantQ::SparseKernel::js, m_CQdata, m_FFTLength, m_sparseKernel, m_uK, and ConstantQ::SparseKernel::real.
void ConstantQ::sparsekernel | ( | ) |
Definition at line 38 of file ConstantQ.cpp.
References Window< T >::cut(), HammingWindow, ConstantQ::SparseKernel::imag, ConstantQ::SparseKernel::is, ConstantQ::SparseKernel::js, m_BPO, m_CQThresh, m_dQ, m_FFTLength, m_FMin, m_FS, m_sparseKernel, m_uK, FFT::process(), ConstantQ::SparseKernel::real, and squaredModule().
Referenced by ClusterMeltSegmenter::initialise(), and Chromagram::process().
|
inline |
Definition at line 44 of file ConstantQ.h.
|
inline |
Definition at line 45 of file ConstantQ.h.
Referenced by ClusterMeltSegmenter::initialise(), and Chromagram::initialise().
|
inline |
Definition at line 46 of file ConstantQ.h.
Referenced by ClusterMeltSegmenter::extractFeaturesConstQ(), ClusterMeltSegmenter::initialise(), and Chromagram::initialise().
|
inline |
Definition at line 47 of file ConstantQ.h.
Referenced by Chromagram::initialise().
|
private |
Definition at line 129 of file ConstantQ.cpp.
References CQConfig::BPO, CQConfig::CQThresh, CQConfig::FS, m_BPO, m_CQdata, m_CQThresh, m_dQ, m_FFTLength, m_FMax, m_FMin, m_FS, m_hop, m_uK, CQConfig::max, CQConfig::min, and MathUtilities::nextPowerOfTwo().
Referenced by ConstantQ().
|
private |
Definition at line 153 of file ConstantQ.cpp.
References m_CQdata, and m_sparseKernel.
Referenced by ~ConstantQ().
Member Data Documentation
|
private |
Definition at line 53 of file ConstantQ.h.
Referenced by deInitialise(), initialise(), and process().
|
private |
Definition at line 54 of file ConstantQ.h.
Referenced by initialise(), and sparsekernel().
|
private |
Definition at line 55 of file ConstantQ.h.
Referenced by initialise(), and sparsekernel().
|
private |
Definition at line 56 of file ConstantQ.h.
Referenced by initialise().
|
private |
Definition at line 57 of file ConstantQ.h.
Referenced by initialise(), and sparsekernel().
|
private |
Definition at line 58 of file ConstantQ.h.
Referenced by initialise(), and sparsekernel().
|
private |
Definition at line 59 of file ConstantQ.h.
Referenced by initialise().
|
private |
Definition at line 60 of file ConstantQ.h.
Referenced by initialise(), and sparsekernel().
|
private |
Definition at line 61 of file ConstantQ.h.
Referenced by initialise(), process(), and sparsekernel().
|
private |
Definition at line 62 of file ConstantQ.h.
Referenced by initialise(), process(), and 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:
Generated by 1.8.11