#include <iso_synth_multi_delay_unit.h>
Inherits iso::synth::ProcessUnit.
Inheritance diagram for iso::synth::MultiDelayUnit:
Public Member Functions | |
MultiDelayUnit (float pMaxDelay, unsigned int pTapCount) | |
parameter based contructor | |
MultiDelayUnit (const String &pName, float pMaxDelay, unsigned int pTapCount) | |
parameter based contructor | |
MultiDelayUnit (unsigned int pChannelCount, float pMaxDelay, unsigned int pTapCount) | |
parameter based contructor | |
MultiDelayUnit (const String &pName, unsigned int pChannelCount, float pMaxDelay, unsigned int pTapCount) | |
parameter based contructor | |
MultiDelayUnit (unsigned int pFrameCount, unsigned int pChannelCount, unsigned int pRate, float pMaxDelay, unsigned int pTapCount) | |
parameter based contructor | |
MultiDelayUnit (const String &pName, unsigned int pFrameCount, unsigned int pChannelCount, unsigned int pRate, float pMaxDelay, unsigned int pTapCount) | |
name and parameter based contructor | |
MultiDelayUnit (const MultiDelayUnit &pUnit) | |
copy constructor | |
MultiDelayUnit (const String &pName, const MultiDelayUnit &pUnit) | |
name & copy constructor | |
MultiDelayUnit (const data::Values &pValues) throw (SynthException) | |
values based constructor | |
~MultiDelayUnit () | |
destructor | |
void | addTaps (unsigned int pTapCount) |
add further taps | |
void | setTapPositionAutoIncrement (bool pTapPositionAutoIncrement) |
set tap position auto increment | |
virtual void | process (Buffer *pBuffer=NULL) throw (SynthException) |
processes buffer | |
virtual void | processFM (Buffer *pBuffer=NULL) |
processes buffer (control port frame mode) | |
virtual void | processBM (Buffer *pBuffer=NULL) |
processes buffer (control port buffer mode) | |
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 (unsigned int pTapCount) |
create internal delayUnits, initialized switch ports | |
Protected Attributes | |
RingBuffer | mRingBuffer |
ringbuffer | |
QVector< DelayUnit * > | mDelayUnits |
internal delay units | |
Buffer * | mBuffer |
internal buffer | |
Static Protected Attributes | |
static unsigned int | sUnitCount |
total number of units created so far | |
Friends | |
std::ostream & | operator<< (std::ostream &pOstream, const MultiDelayUnit &pUnit) |
print unit information |
taps per ringbuffer
Created by Daniel Bisig on 08/15/06.
MultiDelayUnit::MultiDelayUnit | ( | float | pMaxDelay, | |
unsigned int | pTapCount | |||
) |
parameter based contructor
pMaxDelay | maximum delay (milisecs) | |
pTapCount | number of taps into ringbuffer |
MultiDelayUnit::MultiDelayUnit | ( | const String & | pName, | |
float | pMaxDelay, | |||
unsigned int | pTapCount | |||
) |
parameter based contructor
pName | unit name | |
pMaxDelay | maximum delay (milisecs) | |
pTapCount | number of taps into ringbuffer |
MultiDelayUnit::MultiDelayUnit | ( | unsigned int | pChannelCount, | |
float | pMaxDelay, | |||
unsigned int | pTapCount | |||
) |
parameter based contructor
pChannelCount | number of channels | |
pMaxDelay | maximum delay (milisecs) | |
pTapCount | number of taps into ringbuffer |
MultiDelayUnit::MultiDelayUnit | ( | const String & | pName, | |
unsigned int | pChannelCount, | |||
float | pMaxDelay, | |||
unsigned int | pTapCount | |||
) |
parameter based contructor
pName | unit name | |
pChannelCount | number of channels | |
pMaxDelay | maximum delay (milisecs) | |
pTapCount | number of taps into ringbuffer |
MultiDelayUnit::MultiDelayUnit | ( | unsigned int | pFrameCount, | |
unsigned int | pChannelCount, | |||
unsigned int | pRate, | |||
float | pMaxDelay, | |||
unsigned int | pTapCount | |||
) |
parameter based contructor
pFrameCount | number of frames | |
pChannelCount | number of channels | |
pRate | samping rate | |
pMaxDelay | maximum delay (milisecs) | |
pTapCount | number of taps into ringbuffer |
SynthException | unit ringbuffer channelcount mismatch |
MultiDelayUnit::MultiDelayUnit | ( | const String & | pName, | |
unsigned int | pFrameCount, | |||
unsigned int | pChannelCount, | |||
unsigned int | pRate, | |||
float | pMaxDelay, | |||
unsigned int | pTapCount | |||
) |
name and parameter based contructor
pName | unit name | |
pFrameCount | number of frames | |
pChannelCount | number of channels | |
pRate | samping rate | |
pMaxDelay | maximum delay (milisecs) | |
pTapCount | number of taps into ringbuffer |
SynthException | unit ringbuffer channelcount mismatch |
MultiDelayUnit::MultiDelayUnit | ( | const MultiDelayUnit & | pUnit | ) |
copy constructor
pUnit | unit to copy properties from |
MultiDelayUnit::MultiDelayUnit | ( | const String & | pName, | |
const MultiDelayUnit & | pUnit | |||
) |
name & copy constructor
pName | unit name | |
pUnit | unit to copy properties from |
MultiDelayUnit::MultiDelayUnit | ( | const data::Values & | pValues | ) | throw (SynthException) |
values based constructor
pValues | unit values |
SynthException | failed to create unit |
MultiDelayUnit::~MultiDelayUnit | ( | ) |
destructor
void MultiDelayUnit::addTaps | ( | unsigned int | pTapCount | ) |
add further taps
pTapCount | number of additional taps |
void MultiDelayUnit::setTapPositionAutoIncrement | ( | bool | pTapPositionAutoIncrement | ) |
set tap position auto increment
pTapPositionAutoIncrement | tap position auto increment |
void MultiDelayUnit::process | ( | Buffer * | pBuffer = NULL |
) | throw (SynthException) [virtual] |
void MultiDelayUnit::processFM | ( | Buffer * | pBuffer = NULL |
) | [virtual] |
processes buffer (control port frame mode)
pBuffer | buffer to process |
void MultiDelayUnit::processBM | ( | Buffer * | pBuffer = NULL |
) | [virtual] |
processes buffer (control port buffer mode)
pBuffer | buffer to process |
base::String MultiDelayUnit::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 MultiDelayUnit::init | ( | unsigned int | pTapCount | ) | [protected] |
create internal delayUnits, initialized switch ports
pTapCount | number of delayUnits to create |
std::ostream& operator<< | ( | std::ostream & | pOstream, | |
const MultiDelayUnit & | pUnit | |||
) | [friend] |
print unit information
const base::String MultiDelayUnit::sClassName [static] |
unsigned int MultiDelayUnit::sUnitCount [static, protected] |
RingBuffer iso::synth::MultiDelayUnit::mRingBuffer [protected] |
ringbuffer
QVector<DelayUnit*> iso::synth::MultiDelayUnit::mDelayUnits [protected] |
internal delay units
Buffer* iso::synth::MultiDelayUnit::mBuffer [protected] |