OpenWareLaboratory
FourierPitchDetector Class Reference

Public Member Functions

float computeFrequency ()
 
 FourierPitchDetector ()
 
 FourierPitchDetector (int fftSize, float aSamplingRate)
 
float getFrequency ()
 
int getSize ()
 
void init (int fftSize, float aSamplingRate)
 
int process (FloatArray input)
 
void setMaxFrequency (float aMaxFrequency)
 
void setMinFrequency (float aMinFrequency)
 
void setsamplingRate (float asamplingRate)
 
 ~FourierPitchDetector ()
 

Detailed Description

Definition at line 10 of file PitchDetector.h.

Constructor & Destructor Documentation

FourierPitchDetector::FourierPitchDetector ( )
inline

Definition at line 24 of file PitchDetector.h.

FourierPitchDetector::FourierPitchDetector ( int  fftSize,
float  aSamplingRate 
)
inline

Definition at line 27 of file PitchDetector.h.

References init().

FourierPitchDetector::~FourierPitchDetector ( )
inline

Definition at line 30 of file PitchDetector.h.

References ComplexFloatArray::destroy(), and FloatArray::destroy().

Member Function Documentation

float FourierPitchDetector::getFrequency ( )
inline

Definition at line 108 of file PitchDetector.h.

Referenced by computeFrequency().

int FourierPitchDetector::getSize ( )
inline

Definition at line 47 of file PitchDetector.h.

References FastFourierTransform::getSize().

void FourierPitchDetector::init ( int  fftSize,
float  aSamplingRate 
)
inline
void FourierPitchDetector::setMaxFrequency ( float  aMaxFrequency)
inline

Definition at line 56 of file PitchDetector.h.

void FourierPitchDetector::setMinFrequency ( float  aMinFrequency)
inline

Definition at line 53 of file PitchDetector.h.

void FourierPitchDetector::setsamplingRate ( float  asamplingRate)
inline

Definition at line 50 of file PitchDetector.h.


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