Ardour  9.0-pre0-582-g084a23a80d
TempoTrack Class Reference

#include <TempoTrack.h>

Public Member Functions

 TempoTrack (TTParams Params)
 
virtual ~TempoTrack ()
 
vector< int > process (vector< double > DF, vector< double > *tempoReturn=0)
 

Private Member Functions

void initialise (TTParams Params)
 
void deInitialise ()
 
int beatPredict (int FSP, double alignment, double period, int step)
 
int phaseMM (double *DF, double *weighting, int winLength, double period)
 
void createPhaseExtractor (double *Filter, int winLength, double period, int fsp, int lastBeat)
 
int findMeter (double *ACF, int len, double period)
 
void constDetect (double *periodP, int currentIdx, int *flag)
 
void stepDetect (double *periodP, double *periodG, int currentIdx, int *flag)
 
void createCombFilter (double *Filter, int winLength, int TSig, double beatLag)
 
double tempoMM (double *ACF, double *weight, int sig)
 

Private Attributes

int m_dataLength
 
int m_winLength
 
int m_lagLength
 
double m_rayparam
 
double m_sigma
 
double m_DFWVNnorm
 
vector< int > m_beats
 
double m_lockedTempo
 
double * m_tempoScratch
 
double * m_smoothRCF
 
double * m_rawDFFrame
 
double * m_smoothDFFrame
 
double * m_frameACF
 
double * m_ACoeffs
 
double * m_BCoeffs
 
Framer m_DFFramer
 
DFProcessm_DFConditioning
 
Correlation m_correlator
 
DFProcConfig m_DFPParams
 
DFProcessm_RCFConditioning
 
DFProcConfig m_RCFPParams
 

Detailed Description

Definition at line 49 of file TempoTrack.h.

Constructor & Destructor Documentation

◆ TempoTrack()

TempoTrack::TempoTrack ( TTParams  Params)

◆ ~TempoTrack()

virtual TempoTrack::~TempoTrack ( )
virtual

Member Function Documentation

◆ beatPredict()

int TempoTrack::beatPredict ( int  FSP,
double  alignment,
double  period,
int  step 
)
private

◆ constDetect()

void TempoTrack::constDetect ( double *  periodP,
int  currentIdx,
int *  flag 
)
private

◆ createCombFilter()

void TempoTrack::createCombFilter ( double *  Filter,
int  winLength,
int  TSig,
double  beatLag 
)
private

◆ createPhaseExtractor()

void TempoTrack::createPhaseExtractor ( double *  Filter,
int  winLength,
double  period,
int  fsp,
int  lastBeat 
)
private

◆ deInitialise()

void TempoTrack::deInitialise ( )
private

◆ findMeter()

int TempoTrack::findMeter ( double *  ACF,
int  len,
double  period 
)
private

◆ initialise()

void TempoTrack::initialise ( TTParams  Params)
private

◆ phaseMM()

int TempoTrack::phaseMM ( double *  DF,
double *  weighting,
int  winLength,
double  period 
)
private

◆ process()

vector<int> TempoTrack::process ( vector< double >  DF,
vector< double > *  tempoReturn = 0 
)

◆ stepDetect()

void TempoTrack::stepDetect ( double *  periodP,
double *  periodG,
int  currentIdx,
int *  flag 
)
private

◆ tempoMM()

double TempoTrack::tempoMM ( double *  ACF,
double *  weight,
int  sig 
)
private

Member Data Documentation

◆ m_ACoeffs

double* TempoTrack::m_ACoeffs
private

Definition at line 92 of file TempoTrack.h.

◆ m_BCoeffs

double* TempoTrack::m_BCoeffs
private

Definition at line 93 of file TempoTrack.h.

◆ m_beats

vector<int> TempoTrack::m_beats
private

Definition at line 79 of file TempoTrack.h.

◆ m_correlator

Correlation TempoTrack::m_correlator
private

Definition at line 98 of file TempoTrack.h.

◆ m_dataLength

int TempoTrack::m_dataLength
private

Definition at line 71 of file TempoTrack.h.

◆ m_DFConditioning

DFProcess* TempoTrack::m_DFConditioning
private

Definition at line 97 of file TempoTrack.h.

◆ m_DFFramer

Framer TempoTrack::m_DFFramer
private

Definition at line 96 of file TempoTrack.h.

◆ m_DFPParams

DFProcConfig TempoTrack::m_DFPParams
private

Definition at line 100 of file TempoTrack.h.

◆ m_DFWVNnorm

double TempoTrack::m_DFWVNnorm
private

Definition at line 77 of file TempoTrack.h.

◆ m_frameACF

double* TempoTrack::m_frameACF
private

Definition at line 89 of file TempoTrack.h.

◆ m_lagLength

int TempoTrack::m_lagLength
private

Definition at line 73 of file TempoTrack.h.

◆ m_lockedTempo

double TempoTrack::m_lockedTempo
private

Definition at line 81 of file TempoTrack.h.

◆ m_rawDFFrame

double* TempoTrack::m_rawDFFrame
private

Definition at line 87 of file TempoTrack.h.

◆ m_rayparam

double TempoTrack::m_rayparam
private

Definition at line 75 of file TempoTrack.h.

◆ m_RCFConditioning

DFProcess* TempoTrack::m_RCFConditioning
private

Definition at line 103 of file TempoTrack.h.

◆ m_RCFPParams

DFProcConfig TempoTrack::m_RCFPParams
private

Definition at line 105 of file TempoTrack.h.

◆ m_sigma

double TempoTrack::m_sigma
private

Definition at line 76 of file TempoTrack.h.

◆ m_smoothDFFrame

double* TempoTrack::m_smoothDFFrame
private

Definition at line 88 of file TempoTrack.h.

◆ m_smoothRCF

double* TempoTrack::m_smoothRCF
private

Definition at line 84 of file TempoTrack.h.

◆ m_tempoScratch

double* TempoTrack::m_tempoScratch
private

Definition at line 83 of file TempoTrack.h.

◆ m_winLength

int TempoTrack::m_winLength
private

Definition at line 72 of file TempoTrack.h.


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