CLAM-Development
1.1
|
Processing class for performing a STFT. More...
#include <AudioWindowing.hxx>
Public Types | |
typedef AudioWindowingConfig | Config |
Public Member Functions | |
const char * | GetClassName () const |
Override it in every subclass and retur the name of that class. | |
AudioWindowing (const Config &config=Config()) | |
~AudioWindowing () | |
const ProcessingConfig & | GetConfig () const |
Configuration getter. | |
bool | Do (void) |
Supervised mode execution method (using ports) | |
bool | Do (const Audio &in, Audio &out) |
Processing class for performing a STFT.
Its main functionality is to obtain a spectrum out of an incoming audio signal, applying windowing, circular shift and zero padding. Its different
Definition at line 42 of file AudioWindowing.hxx.
Reimplemented from CLAM::Processing.
Definition at line 46 of file AudioWindowing.hxx.
CLAM::AudioWindowing::AudioWindowing | ( | const Config & | config = Config() | ) | [inline] |
Definition at line 51 of file AudioWindowing.hxx.
References CLAM::Processing::Configure().
Definition at line 42 of file AudioWindowing.cxx.
bool CLAM::AudioWindowing::Do | ( | void | ) | [virtual] |
Supervised mode execution method (using ports)
Implements CLAM::ProcessingComposite.
Definition at line 128 of file AudioWindowing.cxx.
References CLAM::InPort< Token >::Consume(), CLAM::AudioInPort::GetAudio(), CLAM::OutPort< Token >::GetData(), and CLAM::OutPort< Token >::Produce().
bool CLAM::AudioWindowing::Do | ( | const Audio & | in, |
Audio & | out | ||
) |
Definition at line 138 of file AudioWindowing.cxx.
References CLAM::CircularShift::Do(), CLAM::BinaryAudioOp< BinOp >::Do(), CLAM::eNone, CLAM::Audio::GetAudioChunk(), CLAM::Audio::GetSize(), and CLAM::Audio::SetSize().
const char* CLAM::AudioWindowing::GetClassName | ( | ) | const [inline, virtual] |
Override it in every subclass and retur the name of that class.
Reimplemented from CLAM::ProcessingComposite.
Definition at line 49 of file AudioWindowing.hxx.
const ProcessingConfig& CLAM::AudioWindowing::GetConfig | ( | ) | const [inline, virtual] |
Configuration getter.
Gets the configuration parameters used to create the object.
Implements CLAM::ProcessingComposite.
Definition at line 60 of file AudioWindowing.hxx.