CLAM::ThreeBandCompressor Class Reference

Limits the spectrum magnitude to different threshold for each of three bands. More...

#include <3BandCompressor.hxx>

Inheritance diagram for CLAM::ThreeBandCompressor:

CLAM::FrameTransformationTmpl< T > CLAM::FrameTransformation CLAM::Processing

List of all members.

Public Member Functions

const char * GetClassName () const
 Override it in every subclass and retur the name of that class.
 ThreeBandCompressor ()
 ~ThreeBandCompressor ()
virtual bool InitControls ()
 Virtual function to override when needing to give different default values to the controls.
bool Do (const Frame &in, Frame &out)
bool Do (const Spectrum &in, Spectrum &out)
bool Do ()
 Supervised mode execution method (using ports).


Detailed Description

Limits the spectrum magnitude to different threshold for each of three bands.

Notice that despite the name, this is a Limiter not a Compressor. Cutoff frequencies are normalized in the interval 0,1 which maps into the full spectral range of the input spectrum.

Parameters:
[in] In Spectrum [Port] Input spectrum
[out] Out Spectrum [Port] Output spectrum
[in] LowCutoff [Control] Normalized frequency that separes the first and second bands. [0..1]
[in] HighCutoff [Control] Normalized frequency that separes the second and third bands. [0..1]
[in] LowThreshold [Control] Threshold in dB's for the first band.
[in] MidThreshold [Control] Threshold in dB's for the second band.
[in] HighThreshold [Control] Threshold in dB's for the third band.

Definition at line 49 of file 3BandCompressor.hxx.


Constructor & Destructor Documentation

CLAM::ThreeBandCompressor::ThreeBandCompressor (  )  [inline]

CLAM::ThreeBandCompressor::~ThreeBandCompressor (  )  [inline]

Definition at line 79 of file 3BandCompressor.hxx.


Member Function Documentation

const char* CLAM::ThreeBandCompressor::GetClassName (  )  const [inline, virtual]

Override it in every subclass and retur the name of that class.

Implements CLAM::Processing.

Definition at line 60 of file 3BandCompressor.hxx.

virtual bool CLAM::ThreeBandCompressor::InitControls (  )  [inline, virtual]

Virtual function to override when needing to give different default values to the controls.

Reimplemented from CLAM::FrameTransformation.

Definition at line 81 of file 3BandCompressor.hxx.

References CLAM::InControl< ControlDataType >::DoControl().

bool CLAM::ThreeBandCompressor::Do ( const Frame &  in,
Frame &  out 
) [inline, virtual]

Implements CLAM::FrameTransformation.

Definition at line 93 of file 3BandCompressor.hxx.

References Do().

bool CLAM::ThreeBandCompressor::Do ( const Spectrum &  in,
Spectrum &  out 
)

bool CLAM::ThreeBandCompressor::Do (  )  [inline, virtual]

Supervised mode execution method (using ports).

Returns:
A boolean telling whether it has been output

Implements CLAM::Processing.

Definition at line 100 of file 3BandCompressor.hxx.

Referenced by Do().


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

Generated on Mon Oct 18 20:36:29 2010 for CLAM-Development by  doxygen 1.5.6