|
qm-dsp 1.8
|
#include <ConstantQ.h>
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 |
| SparseKernel * | m_sparseKernel |
Definition at line 31 of file ConstantQ.h.
| ConstantQ::ConstantQ | ( | CQConfig | Config | ) |
Definition at line 64 of file ConstantQ.cpp.
References initialise(), and m_sparseKernel.
| ConstantQ::~ConstantQ | ( | ) |
Definition at line 70 of file ConstantQ.cpp.
References deInitialise().
| void ConstantQ::process | ( | const double * | FFTRe, |
| const double * | FFTIm, | ||
| double * | CQRe, | ||
| double * | CQIm ) |
Definition at line 317 of file ConstantQ.cpp.
References ConstantQ::SparseKernel::imag, ConstantQ::SparseKernel::is, ConstantQ::SparseKernel::js, m_FFTLength, m_sparseKernel, m_uK, and ConstantQ::SparseKernel::real.
| double * ConstantQ::process | ( | const double * | FFTData | ) |
Definition at line 250 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 76 of file ConstantQ.cpp.
References hamming(), 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, PI, FFT::process(), ConstantQ::SparseKernel::real, and squaredModule().
|
inline |
|
inline |
Definition at line 50 of file ConstantQ.h.
References m_numWin.
|
inline |
Definition at line 51 of file ConstantQ.h.
References m_dQ.
|
inline |
Definition at line 52 of file ConstantQ.h.
References m_uK.
|
inline |
Definition at line 53 of file ConstantQ.h.
References m_FFTLength.
|
inline |
Definition at line 54 of file ConstantQ.h.
References m_hop.
|
private |
Definition at line 287 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 nextpow2().
Referenced by ConstantQ().
|
private |
Definition at line 311 of file ConstantQ.cpp.
References m_CQdata, and m_sparseKernel.
Referenced by ~ConstantQ().
|
private |
Definition at line 60 of file ConstantQ.h.
Referenced by deInitialise(), initialise(), and process().
|
private |
Definition at line 61 of file ConstantQ.h.
Referenced by initialise(), and sparsekernel().
|
private |
Definition at line 62 of file ConstantQ.h.
Referenced by initialise(), and sparsekernel().
|
private |
Definition at line 63 of file ConstantQ.h.
Referenced by initialise().
|
private |
Definition at line 64 of file ConstantQ.h.
Referenced by getQ(), initialise(), and sparsekernel().
|
private |
Definition at line 65 of file ConstantQ.h.
Referenced by initialise(), and sparsekernel().
|
private |
Definition at line 66 of file ConstantQ.h.
Referenced by getnumwin().
|
private |
Definition at line 67 of file ConstantQ.h.
Referenced by gethop(), and initialise().
|
private |
Definition at line 68 of file ConstantQ.h.
Referenced by initialise(), and sparsekernel().
|
private |
Definition at line 69 of file ConstantQ.h.
Referenced by getfftlength(), initialise(), process(), process(), and sparsekernel().
|
private |
Definition at line 70 of file ConstantQ.h.
Referenced by getK(), initialise(), process(), process(), and sparsekernel().
|
private |
Definition at line 79 of file ConstantQ.h.
Referenced by ConstantQ(), deInitialise(), process(), process(), and sparsekernel().