iso::synth::Unit Class Reference

tabstract base class of all unit classes More...

#include <iso_synth_unit.h>

Inherits iso::synth::PortOwner.

Inherited by iso::synth::InputUnit, iso::synth::OutputUnit, and iso::synth::ProcessUnit.

Inheritance diagram for iso::synth::Unit:

Inheritance graph
[legend]
Collaboration diagram for iso::synth::Unit:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Unit ()
 default constructor
 Unit (const String &pName)
 name constructor
 Unit (unsigned int pChannelCount)
 parameter based contructor
 Unit (const String &pName, unsigned int pChannelCount)
 parameter based contructor
 Unit (const String &pName, unsigned int pFrameCount, unsigned int pChannelCount, unsigned int pRate) throw (SynthException)
 name and parameter based contructor
 Unit (const String &pName, const Unit &pUnit)
 name & copy constructor
 Unit (const data::Values &pValues) throw (SynthException)
 values based constructor
virtual ~Unit ()
 destructor
Unitoperator= (const Unit &pUnit)
 assignment operator
unsigned int frameCount () const
 returns frame count
unsigned int channelCount () const
 returns channel count
sample rate () const
 return sampling rate
unsigned long processStep () const
 returns process step
bool active () const
 returns unit's activity
void setControlType (ControlType pControlType)
 set control port handling
InputPortaudioIn () const
 returns input port
OutputPortaudioOut () const
 returns output port
ControlPortscontrolPorts ()
 return control ports
bool checkControlPort (const String &pPortName)
 check existence of control port
ControlPortcontrolPort (const String &pPortName) throw (SynthException)
 return control port
UnitcontrolUnit (const String &pPortName) throw (SynthException)
 returns control unit
SwitchPortsswitchPorts ()
 return switch ports
bool checkSwitchPort (const String &pPortName)
 check existence of switch port
SwitchPortswitchPort (const String &pPortName) throw (SynthException)
 return switch port
void connect (const Unit *pUnit, ChannelMap *pMap=NULL) throw (SynthException)
 connect two units
void connect (Unit *pUnit, const String &pPortName, ChannelMap *pMap=NULL) throw (SynthException)
 connect this unit to control port of a target unit
virtual void setFrameCount (unsigned int pFrameCount) throw (SynthException)
 set frame count
virtual void setChannelCount (unsigned int pChannelCount)
 set channel count
virtual void setRate (sample pRate)
 set rate
void setActive (bool pActive)
 activate or deactivate unit
data::Values values (const String &pPortName) throw (SynthException)
 return current port values (control port or switch port)
sample controlValue (const String &pPortName) throw (SynthException)
 return current control port value
Frame controlValues (const String &pPortName) throw (SynthException)
 return current port values
data::Values switchValues (const String &pPortName) throw (SynthException)
 return current switch port values
void set (const String &pPortName, const data::Values &pValues, sample pDuration=-1) throw (SynthException)
 set port to fixed values
void set (const String &pPortName, Unit *pUnit) throw (SynthException)
 connect unit to control port of this unit
void schedule (double pTime, const base::String &pPortName, data::Values pValues, double pDuration=-1, event::EventTime pTimeMode=event::EVENT_RELATIVE) throw (SynthException)
 set switch port via event
void change (const String &pPortName, const data::Values &pValues, sample pDuration=-1) throw (SynthException)
 change switch port values
bool checkConnection (Unit *pUnit) throw (SynthException)
 check if input port is connected to unit
bool checkConnection (Unit *pUnit, const base::String &pPortName) throw (SynthException)
 check if control port is connected to unit
void disconnect ()
 disconnect audioin of unit from all other units
void disconnect (Unit *pUnit)
 disconnect audioin of unit from other unit
void disconnect (Unit *pUnit, const base::String &pPortName) throw (SynthException)
 disconnect control port of unit from other unit
virtual void process (Buffer *pBuffer=NULL) throw (SynthException)
 processes buffer
virtual String info (bool pPropagate=false, bool pShowPorts=true) const
 obtain textual unit information
String portInfo (bool pPropagate=false) const
 obtain textual port information

Static Public Attributes

static const String sClassName
 default name

Protected Member Functions

ControlPortcreateControlPort (const String &pName)
 create a control port
ControlPortcreateControlPort (const String &pName, unsigned int pChannelCount)
 create a control port
template<class FunctionDataType>
SwitchPortcreateSwitchPort (const String &pName, const data::Values &pValues, void(PortOwner::*pSetFunction)(FunctionDataType))
 create a switch port
template<class DataType, class FunctionType>
SwitchPortcreateFadingSwitchPort (const String &pName, FunctionType pFunctionPointer)
template<class DataType1, class DataType2, class FunctionType>
SwitchPortcreateFadingSwitchPort (const String &pName, FunctionType pFunctionPointer)
template<class DataType, class FunctionType>
SwitchPortcreateDataSwitchPort (const String &pName, FunctionType pFunctionPointer)
template<class DataType1, class DataType2, class FunctionType>
SwitchPortcreateDataSwitchPort (const String &pName, FunctionType pFunctionPointer)

Protected Attributes

InputPortmAudioIn
 audio input port
OutputPortmAudioOut
 audio output port
ControlPorts mControls
 control ports
SwitchPorts mSwitches
 switch ports
unsigned int mFrameCount
 frame count
unsigned int mChannelCount
 channel count
sample mRate
 sampling rate
BuffermBuffer
 backup buffer
unsigned long mProcessStep
 number of times the unit has executed it's process function
bool mProcess
 feedback block set to false at the beginning of process function set to true at the end of process function blocks propagation of process function call to input ports when mProcess == false
bool mActive
 unit activity when inactive, a unit fills any buffer it receives with zero and returns before executing it's processing method
ControlType mControlType
 control port handling type

Static Protected Attributes

static unsigned int sUnitCount
 total number of units created so far
static ControlType sControlType
 default control port handling type

Friends

std::ostream & operator<< (std::ostream &pOstream, const Unit &pUnit)
 print unit information

Detailed Description

tabstract base class of all unit classes

class of all unit classes

This class represents the abstract base of all unit classes.
This class provides basic set and get methods, allows the creation of ports and their subsequent retrieval.
It manages connections to other units. And it propagates and distributes process calls from and to its ports.

ControlPorts

SwitchPorts:
name: active channelCount: 1 defaultValue: 1.0 resizable: false function: setActive

Created by Daniel Bisig on 5/17/06.
Copyright 2006 Daniel Bisig All rights reserved.


Constructor & Destructor Documentation

Unit::Unit (  ) 

default constructor

Unit::Unit ( const String pName  ) 

name constructor

Parameters:
pName unit name

Unit::Unit ( unsigned int  pChannelCount  ) 

parameter based contructor

Parameters:
pChannelCount number of channels

Unit::Unit ( const String pName,
unsigned int  pChannelCount 
)

parameter based contructor

Parameters:
pName unit name
pChannelCount number of channels

Unit::Unit ( const String pName,
unsigned int  pFrameCount,
unsigned int  pChannelCount,
unsigned int  pRate 
) throw (SynthException)

name and parameter based contructor

Parameters:
pName unit name
pFrameCount number of frames
pChannelCount number of channels
pRate samping rate
Exceptions:
SynthException frameCount not power of two

Unit::Unit ( const String pName,
const Unit pUnit 
)

name & copy constructor

Parameters:
pName unit name
pUnit unit to copy properties from
constructor copies frameCount, channelCount and rate but not unit name

Unit::Unit ( const data::Values &  pValues  )  throw (SynthException)

values based constructor

Parameters:
pValues unit values
Exceptions:
SynthException failed to create unit
pValues structure & data types: 0: const String& : unit name 1: unsigned int : number of frames 2: unsigned int : number of channels 3: unsigned int : samping rate

Unit::~Unit (  )  [virtual]

destructor


Member Function Documentation

Unit & Unit::operator= ( const Unit pUnit  ) 

assignment operator

Parameters:
pUnit unit to copy properties from
copies frameCount, channelCount and rate

unsigned int Unit::frameCount (  )  const

returns frame count

Returns:
frame count

unsigned int Unit::channelCount (  )  const

returns channel count

Returns:
channel count

sample Unit::rate (  )  const

return sampling rate

Returns:
sampling rate

unsigned long Unit::processStep (  )  const

returns process step

Returns:
process step

bool Unit::active (  )  const

returns unit's activity

Returns:
true: unit is active, false: unit is inactive

void Unit::setControlType ( ControlType  pControlType  ) 

set control port handling

Parameters:
pControlType control type

InputPort * Unit::audioIn (  )  const

returns input port

Returns:
input port

OutputPort * Unit::audioOut (  )  const

returns output port

Returns:
output port

ControlPorts & Unit::controlPorts (  ) 

return control ports

Returns:
control ports

bool Unit::checkControlPort ( const String pPortName  ) 

check existence of control port

Parameters:
pPortName name of control port
Returns:
true control port exists, false otherwise

ControlPort * Unit::controlPort ( const String pPortName  )  throw (SynthException)

return control port

Parameters:
pPortName name of control port
Returns:
ControlPort
Exceptions:
SynthException no control port with supplied name exists

Unit * Unit::controlUnit ( const String pPortName  )  throw (SynthException)

returns control unit

Parameters:
pPortName name of control port
Returns:
Unit
Exceptions:
SynthException no control port with supplied name exists
control port has no links
returns unit which is connected to the control port via the control port's link

SwitchPorts & Unit::switchPorts (  ) 

return switch ports

Returns:
switch ports

bool Unit::checkSwitchPort ( const String pPortName  ) 

check existence of switch port

Parameters:
pPortName name of switch port
Returns:
true switch port exists, false otherwise

SwitchPort * Unit::switchPort ( const String pPortName  )  throw (SynthException)

return switch port

Parameters:
pPortName name of switch port
Returns:
SwitchPort
Exceptions:
SynthException no switch port with supplied name exists

void Unit::connect ( const Unit pUnit,
ChannelMap pMap = NULL 
) throw (SynthException)

connect two units

Parameters:
pUnit target unit to connect to
pMap channel map
Exceptions:
Exception this unit has no audio output port
target unit has no audio input port
in effect, this connects output port of this unit to input port of target unit

void Unit::connect ( Unit pUnit,
const String pPortName,
ChannelMap pMap = NULL 
) throw (SynthException)

connect this unit to control port of a target unit

Parameters:
pUnit target unit
pPortName target unit control port name
pMap channel map
Exceptions:
Exception this unit has no output port
no control port with specifed name exists in target unit

void Unit::setFrameCount ( unsigned int  pFrameCount  )  throw (SynthException) [virtual]

set frame count

Parameters:
pFrameCount frame count
Exceptions:
Exception frame count not a power of two
if the unit is already connected to another unit, this function has no effect

void Unit::setChannelCount ( unsigned int  pChannelCount  )  [virtual]

set channel count

Parameters:
pChannelCount channel count
if the unit is already connected to another unit, this function has no effect

void Unit::setRate ( sample  pRate  )  [virtual]

set rate

Parameters:
pRate rate
The sample rate supplied will in general not be the sample rate that's actually set.
The final sample rate is the next larger number which corresponds to the output port sampling rate divided or multiplied by a power of two.
if the unit is already connected to another unit, this function has no effect

void Unit::setActive ( bool  pActive  ) 

activate or deactivate unit

Parameters:
pActive true : activate , false : deactivate

data::Values Unit::values ( const String pPortName  )  throw (SynthException)

return current port values (control port or switch port)

Parameters:
pPortName port name
Returns:
values
Exceptions:
SynthException port not found

sample Unit::controlValue ( const String pPortName  )  throw (SynthException)

return current control port value

Parameters:
pPortName control port name
Returns:
value
Exceptions:
SynthException port not found
if the port is a multichannel part, the value of the first channel is returned

Frame Unit::controlValues ( const String pPortName  )  throw (SynthException)

return current port values

Parameters:
pPortName port name
Returns:
frame
Exceptions:
SynthException port not found

data::Values Unit::switchValues ( const String pPortName  )  throw (SynthException)

return current switch port values

Parameters:
pPortName switch port name
Returns:
values
Exceptions:
SynthException port not found

void Unit::set ( const String pPortName,
const data::Values &  pValues,
sample  pDuration = -1 
) throw (SynthException)

set port to fixed values

Parameters:
pPortName port name
pValues fixed port values
pDuration duration (in milisecs) till the control port should reach fixed value
Exceptions:
SynthException failed to set port

void Unit::set ( const String pPortName,
Unit pUnit 
) throw (SynthException)

connect unit to control port of this unit

Parameters:
pPortName control port name (must be a control port)
pUnit unit
Exceptions:
SynthException unit has no output port
SynthException port not found

void Unit::schedule ( double  pTime,
const base::String &  pPortName,
data::Values  pValues,
double  pDuration = -1,
event::EventTime  pTimeMode = event::EVENT_RELATIVE 
) throw (SynthException)

set switch port via event

Parameters:
pTime time in milisecs when event will take place
pPortName port name
pValues port values
pDuration duration over which the port changes it's values (-1: ignore duration parameter)
pTimeMode whether pTime is relative to current time or absolute (with regard to start of program)
Exceptions:
SynthException failed to set port

void Unit::change ( const String pPortName,
const data::Values &  pValues,
sample  pDuration = -1 
) throw (SynthException)

change switch port values

Parameters:
pPortName port name (either switch port or control port)
pValues values the port is changed by
pDuration duration (in milisecs) over which the port values change
Exceptions:
SynthException port not found or invalid channel count

bool Unit::checkConnection ( Unit pUnit  )  throw (SynthException)

check if input port is connected to unit

Returns:
true if it is connected, false otherwise
Exceptions:
SynthException unit does not possess input port

bool Unit::checkConnection ( Unit pUnit,
const base::String &  pPortName 
) throw (SynthException)

check if control port is connected to unit

Returns:
true if it is connected, false otherwise
Exceptions:
SynthException control port not found

void Unit::disconnect (  ) 

disconnect audioin of unit from all other units

void Unit::disconnect ( Unit pUnit  ) 

disconnect audioin of unit from other unit

Parameters:
pUnit unit from which this unit is to be disconnected

void Unit::disconnect ( Unit pUnit,
const base::String &  pPortName 
) throw (SynthException)

disconnect control port of unit from other unit

Parameters:
pUnit unit from which this unit is to be disconnected
pPortName control port name that will be disconnected
Exceptions:
SynthException port not found

void Unit::process ( Buffer pBuffer = NULL  )  throw (SynthException) [virtual]

processes buffer

Parameters:
pBuffer buffer to process
two step processing procedure:
1. calls process function of all it's input ports
2. as soon as these other processing functions return, it changes the buffer according to it's function

Reimplemented in iso::synth::AbsUnit, iso::synth::DeltaUnit, iso::synth::InputUnit, iso::synth::JackInputUnit, iso::synth::JackOutputUnit, iso::synth::OutputUnit, iso::synth::ProcessUnit, iso::synth::PointEnvelope, iso::synth::WaveTableEnvelope, iso::synth::BLPulseGen, iso::synth::DCSPulseGen, iso::synth::FMUnit, iso::synth::Noise, iso::synth::NoiseH, iso::synth::NoiseI, iso::synth::PinkNoise, iso::synth::StochasticNoise, iso::synth::PulseUnit, iso::synth::RhythmUnit, iso::synth::SawtoothUnit, iso::synth::StringNL, iso::synth::TriggerSampleUnit, iso::synth::WaveTableOscil, iso::synth::AEPUnit, iso::synth::Decoder, iso::synth::Encoder, iso::synth::MultiAEPUnit, iso::synth::DelayUnit, iso::synth::MultiDelayUnit, iso::synth::WaveTableShaper, iso::synth::FFTAmpDerivative, iso::synth::FFTAmpScale, iso::synth::FFTPhaseMultiply, iso::synth::FFTPhaseScale, iso::synth::FFTStretch, iso::synth::FFTThreshold, iso::synth::FFTUnit, iso::synth::IFFTUnit, iso::synth::AllPassFilter, iso::synth::BWFilter, iso::synth::CombFilter, iso::synth::Filter, iso::synth::FSMFilter, iso::synth::LPIIRFilter, iso::synth::ResonFilter, iso::synth::VocalFormantFilter, iso::synth::GranularUnit, iso::synth::AddUnit, iso::synth::BinaryOpUnit, iso::synth::DCBlocker, iso::synth::EnvFollower, iso::synth::LimiterUnit, iso::synth::MultiplyUnit, iso::synth::InputFile, iso::synth::OutputFile, iso::synth::SampleUnit, iso::synth::ATEAverageUnit, iso::synth::ATEConditionalUnit, iso::synth::ATEMaxAmpUnit, iso::synth::ATEMaxUnit, iso::synth::ATEMinAmpUnit, iso::synth::ATEMinUnit, iso::synth::ATEUnit, iso::synth::CTFUnit, iso::synth::EnvelopeFollowerUnit, iso::synth::ETACustomFadeUnit, iso::synth::ETAFadeToValueUnit, iso::synth::ETAFadeUnit, iso::synth::ETAUnit, iso::synth::FTCUnit, iso::synth::MixUnit, and iso::synth::PulseToValueUnit.

base::String Unit::info ( bool  pPropagate = false,
bool  pShowPorts = true 
) const [virtual]

obtain textual unit information

Parameters:
pPropagate if true, the unit calls the info methods of its input ports
pShowPorts print port information
Returns:
String containing unit information

Reimplemented in iso::synth::InputUnit, iso::synth::JackInputUnit, iso::synth::JackOutputUnit, iso::synth::OutputUnit, iso::synth::ProcessUnit, iso::synth::PointEnvelope, iso::synth::WaveTableEnvelope, iso::synth::BLPulseGen, iso::synth::DCSPulseGen, iso::synth::FMUnit, iso::synth::Noise, iso::synth::NoiseH, iso::synth::NoiseI, iso::synth::PinkNoise, iso::synth::StochasticNoise, iso::synth::PulseUnit, iso::synth::RhythmUnit, iso::synth::SawtoothUnit, iso::synth::StringNL, iso::synth::TriggerSampleUnit, iso::synth::WaveTableOscil, iso::synth::AEPUnit, iso::synth::Decoder, iso::synth::Encoder, iso::synth::MultiAEPUnit, iso::synth::DelayUnit, iso::synth::MultiDelayUnit, iso::synth::WaveTableShaper, iso::synth::FFTAmpDerivative, iso::synth::FFTAmpScale, iso::synth::FFTPhaseMultiply, iso::synth::FFTPhaseScale, iso::synth::FFTStretch, iso::synth::FFTThreshold, iso::synth::FFTUnit, iso::synth::IFFTUnit, iso::synth::AllPassFilter, iso::synth::BWFilter, iso::synth::CombFilter, iso::synth::Filter, iso::synth::FSMFilter, iso::synth::LPIIRFilter, iso::synth::ResonFilter, iso::synth::VocalFormantFilter, iso::synth::GranularUnit, iso::synth::AddUnit, iso::synth::DCBlocker, iso::synth::EnvFollower, iso::synth::LimiterUnit, iso::synth::MultiplyUnit, iso::synth::InputFile, iso::synth::OutputFile, iso::synth::SampleUnit, iso::synth::ATEAverageUnit, iso::synth::ATEConditionalUnit, iso::synth::ATEMaxAmpUnit, iso::synth::ATEMaxUnit, iso::synth::ATEMinAmpUnit, iso::synth::ATEMinUnit, iso::synth::ATEUnit, iso::synth::CTFUnit, iso::synth::EnvelopeFollowerUnit, iso::synth::ETACustomFadeUnit, iso::synth::ETAFadeToValueUnit, iso::synth::ETAFadeUnit, iso::synth::ETAUnit, iso::synth::FTCUnit, and iso::synth::PulseToValueUnit.

base::String Unit::portInfo ( bool  pPropagate = false  )  const

obtain textual port information

Parameters:
pPropagate if true, the ports propagate the input call via their links
Returns:
String containing port information

ControlPort * Unit::createControlPort ( const String pName  )  [protected]

create a control port

Parameters:
pName name of control port
Returns:
pointer to control port
warning: this function does not check whether a control port of the same name already exists

ControlPort * Unit::createControlPort ( const String pName,
unsigned int  pChannelCount 
) [protected]

create a control port

Parameters:
pName name of control port
pChannelCount number of channels
Returns:
pointer to control port
warning: this function does not check whether a control port of the same name already exists

template<class FunctionDataType>
SwitchPort * iso::synth::Unit::createSwitchPort ( const String pName,
const data::Values &  pValues,
void(PortOwner::*)(FunctionDataType)  pSetFunction 
) [protected]

create a switch port

Parameters:
pName name of switch port
pValues switch port values
pSetFunction set function called by switch port
Returns:
pointer to switch port
warning: this function does not check whether a switch port of the same name already exists

template<class DataType, class FunctionType>
SwitchPort * iso::synth::Unit::createFadingSwitchPort ( const String pName,
FunctionType  pFunctionPointer 
) [protected]

template<class DataType1, class DataType2, class FunctionType>
SwitchPort * iso::synth::Unit::createFadingSwitchPort ( const String pName,
FunctionType  pFunctionPointer 
) [protected]

template<class DataType, class FunctionType>
SwitchPort * iso::synth::Unit::createDataSwitchPort ( const String pName,
FunctionType  pFunctionPointer 
) [protected]

template<class DataType1, class DataType2, class FunctionType>
SwitchPort * iso::synth::Unit::createDataSwitchPort ( const String pName,
FunctionType  pFunctionPointer 
) [protected]


Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  pOstream,
const Unit pUnit 
) [friend]

print unit information


Member Data Documentation

const base::String Unit::sClassName [static]

default name

Reimplemented in iso::synth::AbsUnit, iso::synth::DeltaUnit, iso::synth::InputUnit, iso::synth::JackInputUnit, iso::synth::JackOutputUnit, iso::synth::OutputUnit, iso::synth::ProcessUnit, iso::synth::PointEnvelope, iso::synth::WaveTableEnvelope, iso::synth::BLPulseGen, iso::synth::DCSPulseGen, iso::synth::FMUnit, iso::synth::Noise, iso::synth::NoiseH, iso::synth::NoiseI, iso::synth::PinkNoise, iso::synth::StochasticNoise, iso::synth::PulseUnit, iso::synth::RhythmUnit, iso::synth::SawtoothUnit, iso::synth::StringNL, iso::synth::TriggerSampleUnit, iso::synth::WaveTableOscil, iso::synth::AEPUnit, iso::synth::Decoder, iso::synth::Encoder, iso::synth::MultiAEPUnit, iso::synth::DelayUnit, iso::synth::MultiDelayUnit, iso::synth::WaveTableShaper, iso::synth::FFTAmpDerivative, iso::synth::FFTAmpScale, iso::synth::FFTPhaseMultiply, iso::synth::FFTPhaseScale, iso::synth::FFTStretch, iso::synth::FFTThreshold, iso::synth::FFTUnit, iso::synth::IFFTUnit, iso::synth::AllPassFilter, iso::synth::BWFilter, iso::synth::CombFilter, iso::synth::Filter, iso::synth::FSMFilter, iso::synth::LPIIRFilter, iso::synth::ResonFilter, iso::synth::VocalFormantFilter, iso::synth::GranularUnit, iso::synth::AddUnit, iso::synth::BinaryOpUnit, iso::synth::DCBlocker, iso::synth::EnvFollower, iso::synth::LimiterUnit, iso::synth::MultiplyUnit, iso::synth::InputFile, iso::synth::OutputFile, iso::synth::SampleUnit, iso::synth::ATEAverageUnit, iso::synth::ATEConditionalUnit, iso::synth::ATEMaxAmpUnit, iso::synth::ATEMaxUnit, iso::synth::ATEMinAmpUnit, iso::synth::ATEMinUnit, iso::synth::ATEUnit, iso::synth::CTFUnit, iso::synth::EnvelopeFollowerUnit, iso::synth::ETACustomFadeUnit, iso::synth::ETAFadeToValueUnit, iso::synth::ETAFadeUnit, iso::synth::ETAUnit, iso::synth::FTCUnit, and iso::synth::PulseToValueUnit.

unsigned int Unit::sUnitCount [static, protected]

total number of units created so far

Reimplemented in iso::synth::AbsUnit, iso::synth::DeltaUnit, iso::synth::InputUnit, iso::synth::JackInputUnit, iso::synth::JackOutputUnit, iso::synth::OutputUnit, iso::synth::ProcessUnit, iso::synth::PointEnvelope, iso::synth::WaveTableEnvelope, iso::synth::BLPulseGen, iso::synth::DCSPulseGen, iso::synth::FMUnit, iso::synth::Noise, iso::synth::NoiseH, iso::synth::NoiseI, iso::synth::PinkNoise, iso::synth::StochasticNoise, iso::synth::PulseUnit, iso::synth::RhythmUnit, iso::synth::SawtoothUnit, iso::synth::StringNL, iso::synth::TriggerSampleUnit, iso::synth::WaveTableOscil, iso::synth::AEPUnit, iso::synth::Decoder, iso::synth::Encoder, iso::synth::MultiAEPUnit, iso::synth::DelayUnit, iso::synth::MultiDelayUnit, iso::synth::WaveTableShaper, iso::synth::FFTAmpDerivative, iso::synth::FFTAmpScale, iso::synth::FFTPhaseMultiply, iso::synth::FFTPhaseScale, iso::synth::FFTStretch, iso::synth::FFTThreshold, iso::synth::FFTUnit, iso::synth::IFFTUnit, iso::synth::AllPassFilter, iso::synth::BWFilter, iso::synth::CombFilter, iso::synth::Filter, iso::synth::FSMFilter, iso::synth::LPIIRFilter, iso::synth::ResonFilter, iso::synth::VocalFormantFilter, iso::synth::GranularUnit, iso::synth::AddUnit, iso::synth::DCBlocker, iso::synth::MultiplyUnit, iso::synth::InputFile, iso::synth::OutputFile, iso::synth::SampleUnit, iso::synth::ATEAverageUnit, iso::synth::ATEConditionalUnit, iso::synth::ATEMaxAmpUnit, iso::synth::ATEMaxUnit, iso::synth::ATEMinAmpUnit, iso::synth::ATEMinUnit, iso::synth::ATEUnit, iso::synth::CTFUnit, iso::synth::EnvelopeFollowerUnit, iso::synth::ETACustomFadeUnit, iso::synth::ETAFadeToValueUnit, iso::synth::ETAFadeUnit, iso::synth::ETAUnit, iso::synth::FTCUnit, and iso::synth::PulseToValueUnit.

ControlType Unit::sControlType [static, protected]

default control port handling type

InputPort* iso::synth::Unit::mAudioIn [protected]

audio input port

OutputPort* iso::synth::Unit::mAudioOut [protected]

audio output port

ControlPorts iso::synth::Unit::mControls [protected]

control ports

SwitchPorts iso::synth::Unit::mSwitches [protected]

switch ports

unsigned int iso::synth::Unit::mFrameCount [protected]

frame count

unsigned int iso::synth::Unit::mChannelCount [protected]

channel count

sample iso::synth::Unit::mRate [protected]

sampling rate

Buffer* iso::synth::Unit::mBuffer [protected]

backup buffer

Reimplemented in iso::synth::MultiDelayUnit.

unsigned long iso::synth::Unit::mProcessStep [protected]

number of times the unit has executed it's process function

bool iso::synth::Unit::mProcess [protected]

feedback block set to false at the beginning of process function set to true at the end of process function blocks propagation of process function call to input ports when mProcess == false

bool iso::synth::Unit::mActive [protected]

unit activity when inactive, a unit fills any buffer it receives with zero and returns before executing it's processing method

ControlType iso::synth::Unit::mControlType [protected]

control port handling type


The documentation for this class was generated from the following files:
Generated on Fri Feb 25 14:18:43 2011 for synth by  doxygen 1.5.1