CLAM-Development
1.1
|
#include <EnvelopeModulator.hxx>
Public Member Functions | |
EnvelopeModulator (const EnvModulatorConfig &c=EnvModulatorConfig()) | |
const char * | GetClassName () const |
Override it in every subclass and retur the name of that class. | |
const ProcessingConfig & | GetConfig () const |
Configuration getter. | |
void | Attach (Envelope &env, Audio &inp, Audio &out) |
bool | Do (void) |
Supervised mode execution method (using ports) | |
bool | Do (const Envelope &env, const Audio &inp, Audio &out) |
Public Attributes | |
InPort< Envelope > | InputEnvelope |
InPort< Audio > | InputAudio |
OutPort< Audio > | Output |
Definition at line 47 of file EnvelopeModulator.hxx.
Definition at line 38 of file EnvelopeModulator.cxx.
References CLAM::Processing::Configure().
void CLAM::EnvelopeModulator::Attach | ( | Envelope & | env, |
Audio & | inp, | ||
Audio & | out | ||
) |
bool CLAM::EnvelopeModulator::Do | ( | void | ) | [virtual] |
Supervised mode execution method (using ports)
Implements CLAM::Processing.
Definition at line 68 of file EnvelopeModulator.cxx.
References CLAM::InPort< Token >::Consume(), CLAM::InPort< Token >::GetData(), CLAM::OutPort< Token >::GetData(), InputAudio, InputEnvelope, Output, and CLAM::OutPort< Token >::Produce().
bool CLAM::EnvelopeModulator::Do | ( | const Envelope & | env, |
const Audio & | inp, | ||
Audio & | out | ||
) |
Definition at line 79 of file EnvelopeModulator.cxx.
References CLAM::Audio::GetSize(), and CLAM::BPFTmpl< TX, TY >::GetValue().
const char* CLAM::EnvelopeModulator::GetClassName | ( | ) | const [inline, virtual] |
Override it in every subclass and retur the name of that class.
Implements CLAM::Processing.
Definition at line 67 of file EnvelopeModulator.hxx.
const ProcessingConfig& CLAM::EnvelopeModulator::GetConfig | ( | ) | const [inline, virtual] |
Configuration getter.
Gets the configuration parameters used to create the object.
Reimplemented from CLAM::Processing.
Definition at line 69 of file EnvelopeModulator.hxx.
Definition at line 52 of file EnvelopeModulator.hxx.
Referenced by Do().
Definition at line 51 of file EnvelopeModulator.hxx.
Referenced by Do().
Definition at line 53 of file EnvelopeModulator.hxx.
Referenced by Do().