#include <iso_synth_envelope_follower.h>
Inherits iso::synth::ProcessUnit.
Inheritance diagram for iso::synth::EnvelopeFollowerUnit:


Public Member Functions | ||||
| EnvelopeFollowerUnit () throw (SynthException) | ||||
| default constructor | ||||
| EnvelopeFollowerUnit (unsigned int pChannelCount) throw (SynthException) | ||||
| parameter based contructor | ||||
| EnvelopeFollowerUnit (const data::Values &pValues) throw (SynthException) | ||||
| values based constructor | ||||
| ~EnvelopeFollowerUnit () throw (SynthException) | ||||
| destructor | ||||
| void | setDecay (math::Vector< sample > pDecay) | |||
| virtual void | process (Buffer *pBuffer) throw (SynthException) | |||
| processes buffer | ||||
| virtual String | info (bool pPropagate=false, bool pShowPorts=true) const | |||
| obtain textual unit information | ||||
Static Public Attributes | ||||
| static const String | sClassName | |||
| default name | ||||
Protected Member Functions | ||||
| void | init () throw (SynthException) | |||
called by constructor
| ||||
Protected Attributes | ||||
| QVector< sample > | mDecay | |||
| decay values of each channel (value = max linear amplitude fallof during 1 s) | ||||
| QVector< sample > | mPreviousPeak | |||
| previous peaks | ||||
Static Protected Attributes | ||||
| static unsigned int | sUnitCount | |||
| total number of units created so far | ||||
| EnvelopeFollowerUnit::EnvelopeFollowerUnit | ( | ) | throw (SynthException) |
default constructor
| EnvelopeFollowerUnit::EnvelopeFollowerUnit | ( | unsigned int | pChannelCount | ) | throw (SynthException) |
parameter based contructor
| pChannelCount | channel count |
| EnvelopeFollowerUnit::EnvelopeFollowerUnit | ( | const data::Values & | pValues | ) | throw (SynthException) |
values based constructor
| pValues | unit values |
| SynthException | failed to create unit |
| EnvelopeFollowerUnit::~EnvelopeFollowerUnit | ( | ) | throw (SynthException) |
destructor
| void EnvelopeFollowerUnit::setDecay | ( | math::Vector< sample > | pDecay | ) |
| void EnvelopeFollowerUnit::process | ( | Buffer * | pBuffer | ) | throw (SynthException) [virtual] |
| String EnvelopeFollowerUnit::info | ( | bool | pPropagate = false, |
|
| bool | pShowPorts = true | |||
| ) | const [virtual] |
obtain textual unit information
| pPropagate | if true, the unit calls the info methods of its input ports | |
| pShowPorts | print port information |
Reimplemented from iso::synth::ProcessUnit.
| void EnvelopeFollowerUnit::init | ( | ) | throw (SynthException) [protected] |
const String EnvelopeFollowerUnit::sClassName [static] |
unsigned int EnvelopeFollowerUnit::sUnitCount [static, protected] |
QVector<sample> iso::synth::EnvelopeFollowerUnit::mDecay [protected] |
decay values of each channel (value = max linear amplitude fallof during 1 s)
QVector<sample> iso::synth::EnvelopeFollowerUnit::mPreviousPeak [protected] |
previous peaks
1.5.1