CLAM::SMSSpectralShapeShift Class Reference

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

#include <SMSSpectralShapeShift.hxx>

List of all members.

Public Member Functions

 SMSSpectralShapeShift ()
 ~SMSSpectralShapeShift ()
bool Do (const Frame &in, Frame &out)
bool Do (const SpectralPeakArray &inpeaks, SpectralPeakArray &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 44 of file SMSSpectralShapeShift.hxx.


Constructor & Destructor Documentation

CLAM::SMSSpectralShapeShift::SMSSpectralShapeShift (  )  [inline]

Definition at line 55 of file SMSSpectralShapeShift.hxx.

References CLAM::Processing::Configure().

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

Definition at line 65 of file SMSSpectralShapeShift.hxx.


Member Function Documentation

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

Supervised mode execution method (using ports).

Returns:
A boolean telling whether it has been output

Implements CLAM::Processing.

Definition at line 75 of file SMSSpectralShapeShift.hxx.

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

Referenced by Do().

bool CLAM::SMSSpectralShapeShift::Do ( const SpectralPeakArray inpeaks,
SpectralPeakArray out 
)
bool CLAM::SMSSpectralShapeShift::Do ( const Frame in,
Frame out 
) [inline, virtual]

Implements CLAM::FrameTransformation.

Definition at line 67 of file SMSSpectralShapeShift.hxx.

References Do().


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