CLAM-Development
1.1
|
#include <SMSPitchDiscretization.hxx>
Public Member Functions | |
SMSPitchDiscretization () | |
~SMSPitchDiscretization () | |
bool | Do () |
Supervised mode execution method (using ports) | |
bool | Do (const Frame &in, Frame &out) |
bool | Do (const SpectralPeakArray &inPeaks, const Fundamental &inFund, const Spectrum &inSpectrum, SpectralPeakArray &outPeaks, Fundamental &outFund, Spectrum &outSpectrum) |
Definition at line 37 of file SMSPitchDiscretization.hxx.
CLAM::SMSPitchDiscretization::SMSPitchDiscretization | ( | ) | [inline] |
Definition at line 50 of file SMSPitchDiscretization.hxx.
References CLAM::Processing::Configure().
Definition at line 62 of file SMSPitchDiscretization.hxx.
bool CLAM::SMSPitchDiscretization::Do | ( | ) | [inline, virtual] |
Supervised mode execution method (using ports)
Implements CLAM::Processing.
Definition at line 64 of file SMSPitchDiscretization.hxx.
References CLAM::InPort< Token >::Consume(), CLAM::InPort< Token >::GetData(), CLAM::OutPort< Token >::GetData(), and CLAM::OutPort< Token >::Produce().
Referenced by Do().
bool CLAM::SMSPitchDiscretization::Do | ( | const Frame & | in, |
Frame & | out | ||
) | [virtual] |
Implements CLAM::FrameTransformation.
Definition at line 42 of file SMSPitchDiscretization.cxx.
References Do().
bool CLAM::SMSPitchDiscretization::Do | ( | const SpectralPeakArray & | inPeaks, |
const Fundamental & | inFund, | ||
const Spectrum & | inSpectrum, | ||
SpectralPeakArray & | outPeaks, | ||
Fundamental & | outFund, | ||
Spectrum & | outSpectrum | ||
) |
Definition at line 54 of file SMSPitchDiscretization.cxx.
References CLAM::Fundamental::AddElem(), CLAM_pow(), CLAM::SMSPitchShift::Do(), CLAM::Fundamental::GetFreq(), Round(), and CLAM::SendFloatToInControl().