Ardour  9.0-pre0-427-gd2a3450e2f
Chromagram Class Reference

#include <Chromagram.h>

Public Member Functions

 Chromagram (ChromaConfig Config)
 
 ~Chromagram ()
 
double * process (const double *data)
 
double * process (const double *real, const double *imag)
 
void unityNormalise (double *src)
 
double kabs (double real, double imag)
 
int getK ()
 
int getFrameSize ()
 
int getHopSize ()
 

Private Member Functions

int initialise (ChromaConfig Config)
 
int deInitialise ()
 

Private Attributes

Window< double > * m_window
 
double * m_windowbuf
 
double * m_chromadata
 
double m_FMin
 
double m_FMax
 
int m_BPO
 
int m_uK
 
MathUtilities::NormaliseType m_normalise
 
int m_frameSize
 
int m_hopSize
 
FFTRealm_FFT
 
ConstantQm_ConstantQ
 
double * m_FFTRe
 
double * m_FFTIm
 
double * m_CQRe
 
double * m_CQIm
 
bool m_skGenerated
 

Detailed Description

Definition at line 32 of file Chromagram.h.

Constructor & Destructor Documentation

◆ Chromagram()

Chromagram::Chromagram ( ChromaConfig  Config)

◆ ~Chromagram()

Chromagram::~Chromagram ( )

Member Function Documentation

◆ deInitialise()

int Chromagram::deInitialise ( )
private

◆ getFrameSize()

int Chromagram::getFrameSize ( )
inline

Definition at line 48 of file Chromagram.h.

◆ getHopSize()

int Chromagram::getHopSize ( )
inline

Definition at line 49 of file Chromagram.h.

◆ getK()

int Chromagram::getK ( )
inline

Definition at line 47 of file Chromagram.h.

◆ initialise()

int Chromagram::initialise ( ChromaConfig  Config)
private

◆ kabs()

double Chromagram::kabs ( double  real,
double  imag 
)

◆ process() [1/2]

double* Chromagram::process ( const double *  data)

◆ process() [2/2]

double* Chromagram::process ( const double *  real,
const double *  imag 
)

◆ unityNormalise()

void Chromagram::unityNormalise ( double *  src)

Member Data Documentation

◆ m_BPO

int Chromagram::m_BPO
private

Definition at line 61 of file Chromagram.h.

◆ m_chromadata

double* Chromagram::m_chromadata
private

Definition at line 58 of file Chromagram.h.

◆ m_ConstantQ

ConstantQ* Chromagram::m_ConstantQ
private

Definition at line 70 of file Chromagram.h.

◆ m_CQIm

double* Chromagram::m_CQIm
private

Definition at line 75 of file Chromagram.h.

◆ m_CQRe

double* Chromagram::m_CQRe
private

Definition at line 74 of file Chromagram.h.

◆ m_FFT

FFTReal* Chromagram::m_FFT
private

Definition at line 69 of file Chromagram.h.

◆ m_FFTIm

double* Chromagram::m_FFTIm
private

Definition at line 73 of file Chromagram.h.

◆ m_FFTRe

double* Chromagram::m_FFTRe
private

Definition at line 72 of file Chromagram.h.

◆ m_FMax

double Chromagram::m_FMax
private

Definition at line 60 of file Chromagram.h.

◆ m_FMin

double Chromagram::m_FMin
private

Definition at line 59 of file Chromagram.h.

◆ m_frameSize

int Chromagram::m_frameSize
private

Definition at line 66 of file Chromagram.h.

◆ m_hopSize

int Chromagram::m_hopSize
private

Definition at line 67 of file Chromagram.h.

◆ m_normalise

MathUtilities::NormaliseType Chromagram::m_normalise
private

Definition at line 64 of file Chromagram.h.

◆ m_skGenerated

bool Chromagram::m_skGenerated
private

Definition at line 77 of file Chromagram.h.

◆ m_uK

int Chromagram::m_uK
private

Definition at line 62 of file Chromagram.h.

◆ m_window

Window<double>* Chromagram::m_window
private

Definition at line 55 of file Chromagram.h.

◆ m_windowbuf

double* Chromagram::m_windowbuf
private

Definition at line 56 of file Chromagram.h.


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