Ardour  9.0-pre0-582-g084a23a80d
MFCC Class Reference

#include <MFCC.h>

Public Member Functions

 MFCC (MFCCConfig config)
 
virtual ~MFCC ()
 
int process (const double *inframe, double *outceps)
 
int process (const double *real, const double *imag, double *outceps)
 
int getfftlength () const
 

Private Attributes

double lowestFrequency
 
int linearFilters
 
double linearSpacing
 
int logFilters
 
double logSpacing
 
int fftSize
 
int totalFilters
 
double logPower
 
int samplingRate
 
int nceps
 
double * ceps
 
double ** mfccDCTMatrix
 
double ** mfccFilterWeights
 
Window< double > * window
 
double * realOut
 
double * imagOut
 
double * fftMag
 
double * earMag
 
FFTRealfft
 
int WANT_C0
 

Detailed Description

Definition at line 35 of file MFCC.h.

Constructor & Destructor Documentation

◆ MFCC()

MFCC::MFCC ( MFCCConfig  config)

◆ ~MFCC()

virtual MFCC::~MFCC ( )
virtual

Member Function Documentation

◆ getfftlength()

int MFCC::getfftlength ( ) const
inline

Definition at line 56 of file MFCC.h.

◆ process() [1/2]

int MFCC::process ( const double *  inframe,
double *  outceps 
)

Process time-domain input data. inframe must contain getfftlength() samples. outceps must contain space for nceps values, plus one if want_c0 is specified.

◆ process() [2/2]

int MFCC::process ( const double *  real,
const double *  imag,
double *  outceps 
)

Process time-domain input data. real and imag must contain getfftlength()/2+1 elements (i.e. the conjugate half of the FFT is not expected). outceps must contain space for nceps values, plus one if want_c0 is specified.

Member Data Documentation

◆ ceps

double* MFCC::ceps
private

Definition at line 77 of file MFCC.h.

◆ earMag

double* MFCC::earMag
private

Definition at line 89 of file MFCC.h.

◆ fft

FFTReal* MFCC::fft
private

Definition at line 90 of file MFCC.h.

◆ fftMag

double* MFCC::fftMag
private

Definition at line 88 of file MFCC.h.

◆ fftSize

int MFCC::fftSize
private

Definition at line 67 of file MFCC.h.

◆ imagOut

double* MFCC::imagOut
private

Definition at line 87 of file MFCC.h.

◆ linearFilters

int MFCC::linearFilters
private

Definition at line 61 of file MFCC.h.

◆ linearSpacing

double MFCC::linearSpacing
private

Definition at line 62 of file MFCC.h.

◆ logFilters

int MFCC::logFilters
private

Definition at line 63 of file MFCC.h.

◆ logPower

double MFCC::logPower
private

Definition at line 70 of file MFCC.h.

◆ logSpacing

double MFCC::logSpacing
private

Definition at line 64 of file MFCC.h.

◆ lowestFrequency

double MFCC::lowestFrequency
private

Definition at line 60 of file MFCC.h.

◆ mfccDCTMatrix

double** MFCC::mfccDCTMatrix
private

Definition at line 79 of file MFCC.h.

◆ mfccFilterWeights

double** MFCC::mfccFilterWeights
private

Definition at line 80 of file MFCC.h.

◆ nceps

int MFCC::nceps
private

Definition at line 74 of file MFCC.h.

◆ realOut

double* MFCC::realOut
private

Definition at line 86 of file MFCC.h.

◆ samplingRate

int MFCC::samplingRate
private

Definition at line 73 of file MFCC.h.

◆ totalFilters

int MFCC::totalFilters
private

Definition at line 69 of file MFCC.h.

◆ WANT_C0

int MFCC::WANT_C0
private

Definition at line 93 of file MFCC.h.

◆ window

Window<double>* MFCC::window
private

Definition at line 83 of file MFCC.h.


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