Amplifies the spectrum magnitude to different gain for each of three bands. More...
Public Member Functions
|const char *||GetClassName () const|
|Override it in every subclass and retur the name of that class. |
|bool||ConcreteConfigure (const ProcessingConfig &config)|
|Configuration method interface. |
|bool||Do (const Frame &in, Frame &out)|
|bool||Do (const Spectrum &in, Spectrum &out)|
|Supervised mode execution method (using ports). |
Amplifies the spectrum magnitude to different gain for each of three bands.
Cutoff frequencies are normalized in the interval 0,1 which maps into the full spectral range of the input spectrum. It applies one spectral bin transitions to avoid Gibbs effect.
|[in]||In Spectrum||[Port] Input spectrum|
|[out]||Out Spectrum||[Port] Output spectrum|
|[in]||LowCutoff||[Control] Normalized frequency that separes the first and second bands.|
|[in]||HighCutoff||[Control] Normalized frequency that separes the second and third bands. [0..1]|
|[in]||LowGain||[Control] Gain in dB's for the first band.|
|[in]||MidGain||[Control] Gain in dB's for the second band.|
|[in]||HighGain||[Control] Gain in dB's for the third band.|
|bool CLAM::ThreeBandFilter::ConcreteConfigure||(||const ProcessingConfig &||)||
Configuration method interface.
The Processing base class forces all the concrete classes derived from it to implement this method, which must actually perform the specific configuration tasks.
Note that the user can not call this method directly. He will use Configure instead. The argument is expected to be an object of the necesary concrete configuration class.
|Reference||to the configuration object.|
true if the processing object is left in a consistent state, and can be executed.
|This||method must throw a bad_cast exception if the argument is not an object of the expected configuration class.|
Reimplemented from CLAM::Processing.
Supervised mode execution method (using ports).
Referenced by Do().
|const char* CLAM::ThreeBandFilter::GetClassName||(||)|| const