#include <FDCombFilter.hxx>

Public Member Functions | |
| const char * | GetClassName () const |
| This method returns the name of the object. | |
| FDCombFilter (const Config &c=Config()) | |
| Constructor with an object of FDCombFilterConfig class by parameter. | |
| ~FDCombFilter () | |
| Destructor of the class. | |
| bool | Do () |
| Supervised Do() function, not implemented yet. | |
| bool | Do (const Spectrum &input, Spectrum &output) |
| Unsupervised Do function, applies an spectral envelope to incoming spectrum. | |
Public Attributes | |
| FloatInControl | mFreq |
It has one control (mFreq) which sets the fundamental of harmonic series that wants to be amplified.
Definition at line 39 of file FDCombFilter.hxx.
Constructor with an object of FDCombFilterConfig class by parameter.
| c | FDCombFilterConfig object created by the user |
Definition at line 32 of file FDCombFilter.cxx.
References CLAM::Processing::Configure(), CLAM::InControl< ControlDataType >::DoControl(), and mFreq.
| CLAM::FDCombFilter::~FDCombFilter | ( | ) |
| const char* CLAM::FDCombFilter::GetClassName | ( | ) | const [inline, virtual] |
This method returns the name of the object.
Implements CLAM::Processing.
Definition at line 45 of file FDCombFilter.hxx.
| bool CLAM::FDCombFilter::Do | ( | void | ) | [virtual] |
Supervised Do() function, not implemented yet.
Implements CLAM::Processing.
Definition at line 45 of file FDCombFilter.cxx.
References CLAM_ASSERT, and CLASS.
Referenced by CLAM::SMSPitchShift::Do().
Unsupervised Do function, applies an spectral envelope to incoming spectrum.
| input | The Spectrum we want to filter | |
| output | The filtered spectrum |
Definition at line 53 of file FDCombFilter.cxx.
References CLAM_atan2(), CLAM_cos(), CLAM_sin(), CLAM_sqrt(), CLAM::EScale::eLinear, CLAM::EScale::eLog, CLAM::InControl< ControlDataType >::GetLastValue(), CLAM::Spectrum::GetSize(), mFreq, CLAM::Spectrum::SetSize(), CLAM::Spectrum::ToDB(), CLAM::Spectrum::ToLinear(), and TWO_PI.
Definition at line 65 of file FDCombFilter.hxx.
Referenced by CLAM::SMSPitchShift::Do(), Do(), and FDCombFilter().
1.5.6