CLAM::SpectralFocus Class Reference

Pitch shift with timbre preservation using the SMS model. More...

#include <SpectralFocus.hxx>

List of all members.

Public Member Functions

 SpectralFocus ()
 ~SpectralFocus ()
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 &inpeaks, Spectrum &out)
bool Do ()
 Supervised mode execution method (using ports).

Detailed Description

Pitch shift with timbre preservation using the SMS model.

In order to preserve timbre, the original spectral shape is extracted and then applied back.

Definition at line 45 of file SpectralFocus.hxx.


Constructor & Destructor Documentation

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

Definition at line 74 of file SpectralFocus.hxx.


Member Function Documentation

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

Supervised mode execution method (using ports).

Returns:
A boolean telling whether it has been output

Implements CLAM::Processing.

Definition at line 92 of file SpectralFocus.hxx.

References CLAM::InPort< Token >::Consume(), CLAM::OutPort< Token >::GetData(), CLAM::InPort< Token >::GetData(), and CLAM::OutPort< Token >::Produce().

Referenced by Do().

bool CLAM::SpectralFocus::Do ( const Spectrum inpeaks,
Spectrum out 
) [virtual]

Implements CLAM::FrameTransformationTmpl< Spectrum >.

Definition at line 36 of file SpectralFocus.cxx.

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

Implements CLAM::FrameTransformation.

Definition at line 84 of file SpectralFocus.hxx.

References Do().

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

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

Reimplemented from CLAM::FrameTransformation.

Definition at line 76 of file SpectralFocus.hxx.

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


The documentation for this class was generated from the following files:
Generated by  doxygen 1.6.3