#include <iso_synth_string_nl_unit.h>
Inherits iso::synth::ProcessUnit.
Inheritance diagram for iso::synth::StringNL:
Public Member Functions | |
StringNL (float pMaxDelay) | |
parameter based contructor | |
StringNL (const String &pName, float pMaxDelay) | |
parameter based contructor | |
StringNL (unsigned int pChannelCount, float pMaxDelay) | |
parameter based contructor | |
StringNL (const String &pName, unsigned int pChannelCount, float pMaxDelay) | |
parameter based contructor | |
StringNL (unsigned int pFrameCount, unsigned int pChannelCount, unsigned int pRate, float pMaxDelay) | |
parameter based contructor | |
StringNL (const String &pName, unsigned int pFrameCount, unsigned int pChannelCount, unsigned int pRate, float pMaxDelay) | |
name and parameter based contructor | |
StringNL (const StringNL &pUnit) | |
copy constructor | |
StringNL (const String &pName, const StringNL &pUnit) | |
name & copy constructor | |
StringNL (const data::Values &pValues) throw (SynthException) | |
values based constructor | |
~StringNL () | |
destructor | |
virtual void | process (Buffer *pBuffer=NULL) 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 () |
initializes ports | |
Protected Attributes | |
float | mMaxDelay |
MultiplyUnit * | mInputScale |
DelayUnit * | mDelayUnit |
LPIIRFilter * | mFilter |
DCBlocker * | mBlocker |
EnvFollower * | mEnvFollower |
MultiplyUnit * | mDelayScale |
AddUnit * | mDelayOffset |
Static Protected Attributes | |
static unsigned int | sUnitCount |
total number of units created so far | |
Friends | |
std::ostream & | operator<< (std::ostream &pOstream, const StringNL &pUnit) |
print unit information |
string model
Created by Daniel Bisig on 04/16/10.
StringNL::StringNL | ( | float | pMaxDelay | ) |
parameter based contructor
pMaxDelay | maximum delay (milisecs) |
StringNL::StringNL | ( | const String & | pName, | |
float | pMaxDelay | |||
) |
parameter based contructor
pName | unit name | |
pMaxDelay | maximum delay (milisecs) |
StringNL::StringNL | ( | unsigned int | pChannelCount, | |
float | pMaxDelay | |||
) |
parameter based contructor
pChannelCount | number of channels | |
pMaxDelay | maximum delay (milisecs) |
StringNL::StringNL | ( | const String & | pName, | |
unsigned int | pChannelCount, | |||
float | pMaxDelay | |||
) |
parameter based contructor
pName | unit name | |
pChannelCount | number of channels | |
pMaxDelay | maximum delay (milisecs) |
StringNL::StringNL | ( | unsigned int | pFrameCount, | |
unsigned int | pChannelCount, | |||
unsigned int | pRate, | |||
float | pMaxDelay | |||
) |
parameter based contructor
pFrameCount | number of frames | |
pChannelCount | number of channels | |
pRate | samping rate | |
pMaxDelay | maximum delay (milisecs) |
SynthException | unit ringbuffer channelcount mismatch |
StringNL::StringNL | ( | const String & | pName, | |
unsigned int | pFrameCount, | |||
unsigned int | pChannelCount, | |||
unsigned int | pRate, | |||
float | pMaxDelay | |||
) |
name and parameter based contructor
pName | unit name | |
pFrameCount | number of frames | |
pChannelCount | number of channels | |
pRate | samping rate | |
pMaxDelay | maximum delay (milisecs) |
SynthException | unit ringbuffer channelcount mismatch |
StringNL::StringNL | ( | const StringNL & | pUnit | ) |
copy constructor
pUnit | unit to copy properties from |
name & copy constructor
pName | unit name | |
pUnit | unit to copy properties from |
StringNL::StringNL | ( | const data::Values & | pValues | ) | throw (SynthException) |
values based constructor
pValues | unit values |
SynthException | failed to create unit |
StringNL::~StringNL | ( | ) |
destructor
void StringNL::process | ( | Buffer * | pBuffer = NULL |
) | throw (SynthException) [virtual] |
String StringNL::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 StringNL::init | ( | ) | [protected] |
initializes ports
std::ostream& operator<< | ( | std::ostream & | pOstream, | |
const StringNL & | pUnit | |||
) | [friend] |
print unit information
const String StringNL::sClassName [static] |
unsigned int StringNL::sUnitCount [static, protected] |
float iso::synth::StringNL::mMaxDelay [protected] |
MultiplyUnit* iso::synth::StringNL::mInputScale [protected] |
DelayUnit* iso::synth::StringNL::mDelayUnit [protected] |
LPIIRFilter* iso::synth::StringNL::mFilter [protected] |
DCBlocker* iso::synth::StringNL::mBlocker [protected] |
EnvFollower* iso::synth::StringNL::mEnvFollower [protected] |
MultiplyUnit* iso::synth::StringNL::mDelayScale [protected] |
AddUnit* iso::synth::StringNL::mDelayOffset [protected] |