CL_PitchDetect Class Reference

#include <CL_PitchDetect.h>

Inheritance diagram for CL_PitchDetect:

CL_SlidingWindow

List of all members.

Public Member Functions

 CL_PitchDetect (int size, float freqres)
virtual ~CL_PitchDetect ()
void setPitchMode (int multi)
void setMultiParms (float start, float end, int divs, int log, float *results)
void setBandwidth (float low, float high)
void setMinLevel (float min)
void setFloatingBandwidth (int on, float bandwidth)
void setHarmonicCompensation (int on, int correct, float error)
void setSmoothJumps (int on, float minjump)
void setFrequencyHint (int on, float hint, float bandwidth)
void getPitchResult (float &pitch, float &volume)
float * getPitchResult ()
virtual void reset (float val=0.0F)
virtual int maxFilterSamples ()
void clearSamples (int from)

Protected Attributes

float myMinLevel
float myFreqRes
float myLowFreq
float myHighFreq
int myFloatingBandwidthOn
float myFloatingBandwidth
int myHarmonicCompensation
float myHarmonicError
int myHarmonicCorrect
int mySmoothJumps
float myMinJumpLevel
int myUseHint
float myFrequencyHint
float myHintBandwidth
float myLastFreq
float myPitchFreq
float myPitchVolume
int myMode
int myLogMode
int myDivisions
float * myMultiResults
float * myWindow
float * myData
float * myReal
float * myImag
float * myKernel
float * myFiltered
int myKernelSize
UT_FFTmyTransform
UT_RefArray< cl_PitchNodemyHarmonics


Detailed Description

Definition at line 32 of file CL_PitchDetect.h.


Constructor & Destructor Documentation

CL_PitchDetect::CL_PitchDetect ( int  size,
float  freqres 
)

virtual CL_PitchDetect::~CL_PitchDetect (  )  [virtual]


Member Function Documentation

void CL_PitchDetect::clearSamples ( int  from  ) 

float* CL_PitchDetect::getPitchResult (  ) 

void CL_PitchDetect::getPitchResult ( float &  pitch,
float &  volume 
)

virtual int CL_PitchDetect::maxFilterSamples (  )  [virtual]

Reimplemented from CL_SlidingWindow.

virtual void CL_PitchDetect::reset ( float  val = 0.0F  )  [virtual]

Reimplemented from CL_SlidingWindow.

void CL_PitchDetect::setBandwidth ( float  low,
float  high 
)

void CL_PitchDetect::setFloatingBandwidth ( int  on,
float  bandwidth 
)

void CL_PitchDetect::setFrequencyHint ( int  on,
float  hint,
float  bandwidth 
)

void CL_PitchDetect::setHarmonicCompensation ( int  on,
int  correct,
float  error 
)

void CL_PitchDetect::setMinLevel ( float  min  ) 

void CL_PitchDetect::setMultiParms ( float  start,
float  end,
int  divs,
int  log,
float *  results 
)

void CL_PitchDetect::setPitchMode ( int  multi  ) 

void CL_PitchDetect::setSmoothJumps ( int  on,
float  minjump 
)


Member Data Documentation

float* CL_PitchDetect::myData [protected]

Definition at line 104 of file CL_PitchDetect.h.

int CL_PitchDetect::myDivisions [protected]

Definition at line 100 of file CL_PitchDetect.h.

float* CL_PitchDetect::myFiltered [protected]

Definition at line 108 of file CL_PitchDetect.h.

Definition at line 81 of file CL_PitchDetect.h.

Definition at line 80 of file CL_PitchDetect.h.

float CL_PitchDetect::myFreqRes [protected]

Definition at line 74 of file CL_PitchDetect.h.

Definition at line 91 of file CL_PitchDetect.h.

Definition at line 83 of file CL_PitchDetect.h.

Definition at line 85 of file CL_PitchDetect.h.

Definition at line 84 of file CL_PitchDetect.h.

Definition at line 112 of file CL_PitchDetect.h.

float CL_PitchDetect::myHighFreq [protected]

Definition at line 78 of file CL_PitchDetect.h.

Definition at line 92 of file CL_PitchDetect.h.

float* CL_PitchDetect::myImag [protected]

Definition at line 106 of file CL_PitchDetect.h.

float* CL_PitchDetect::myKernel [protected]

Definition at line 107 of file CL_PitchDetect.h.

Definition at line 109 of file CL_PitchDetect.h.

float CL_PitchDetect::myLastFreq [protected]

Definition at line 94 of file CL_PitchDetect.h.

int CL_PitchDetect::myLogMode [protected]

Definition at line 99 of file CL_PitchDetect.h.

float CL_PitchDetect::myLowFreq [protected]

Definition at line 77 of file CL_PitchDetect.h.

float CL_PitchDetect::myMinJumpLevel [protected]

Definition at line 88 of file CL_PitchDetect.h.

float CL_PitchDetect::myMinLevel [protected]

Definition at line 73 of file CL_PitchDetect.h.

int CL_PitchDetect::myMode [protected]

Definition at line 98 of file CL_PitchDetect.h.

float* CL_PitchDetect::myMultiResults [protected]

Definition at line 101 of file CL_PitchDetect.h.

float CL_PitchDetect::myPitchFreq [protected]

Definition at line 95 of file CL_PitchDetect.h.

float CL_PitchDetect::myPitchVolume [protected]

Definition at line 96 of file CL_PitchDetect.h.

float* CL_PitchDetect::myReal [protected]

Definition at line 105 of file CL_PitchDetect.h.

Definition at line 87 of file CL_PitchDetect.h.

Definition at line 110 of file CL_PitchDetect.h.

int CL_PitchDetect::myUseHint [protected]

Definition at line 90 of file CL_PitchDetect.h.

float* CL_PitchDetect::myWindow [protected]

Definition at line 103 of file CL_PitchDetect.h.


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

Generated on Fri May 25 00:10:20 2012 for HDK by  doxygen 1.5.9