PitchEstimator.h

Go to the documentation of this file.
00001 // PitchEstimator.h: interface for the PitchEstimator class.
00002 //
00004 
00005 #if !defined(AFX_PITCHESTIMATOR_H__74E951F6_45DC_479B_A53E_489542CE866D__INCLUDED_)
00006 #define AFX_PITCHESTIMATOR_H__74E951F6_45DC_479B_A53E_489542CE866D__INCLUDED_
00007 
00008 #if _MSC_VER > 1000
00009 #pragma once
00010 #endif // _MSC_VER > 1000
00011 
00012 class PitchEstimator  
00013 {
00014 public:
00015         PitchEstimator( double dEnergy1,double dPitch1,
00016                                         double dEnergy2,double dPitch2,
00017                                         double dEnergy3,double dPitch3);
00018         virtual ~PitchEstimator();
00019         void    computePitchCoefficients(       double e1,double p1,
00020                                                                                 double e2,double p2,
00021                                                                                 double e3,double p3);
00022         double  getCoefficientA();
00023         double  getCoefficientB();
00024         double  getCoefficientC();
00025 
00026 private:
00027         double _dEnergy1;
00028         double _dEnergy2;
00029         double _dEnergy3;
00030         double _dPitch1;
00031         double _dPitch2;
00032         double _dPitch3;
00033 
00034         double _dCoeffA;
00035         double _dCoeffB;
00036         double _dCoeffC;
00037 
00038 
00039 };
00040 
00041 #endif // !defined(AFX_PITCHESTIMATOR_H__74E951F6_45DC_479B_A53E_489542CE866D__INCLUDED_)

Generated on Fri Jul 10 10:31:55 2009 for Utils Library by  doxygen 1.4.5