CLAM::SpectralShapeShift Class Reference

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

#include <SpectralShapeShift.hxx>

List of all members.

Public Member Functions

 SpectralShapeShift ()
 ~SpectralShapeShift ()
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 SpectralShapeShift.hxx.

Constructor & Destructor Documentation

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

Definition at line 81 of file SpectralShapeShift.hxx.

Member Function Documentation

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

Supervised mode execution method (using ports).

A boolean telling whether it has been output

Implements CLAM::Processing.

Definition at line 91 of file SpectralShapeShift.hxx.

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

Referenced by Do().

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

Implements CLAM::FrameTransformationTmpl< Spectrum >.

Definition at line 35 of file SpectralShapeShift.cxx.

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

Implements CLAM::FrameTransformation.

Definition at line 83 of file SpectralShapeShift.hxx.

References Do().

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