#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:
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 | |
Unit & | operator= (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 | |
InputPort * | audioIn () const |
returns input port | |
OutputPort * | audioOut () const |
returns output port | |
ControlPorts & | controlPorts () |
return control ports | |
bool | checkControlPort (const String &pPortName) |
check existence of control port | |
ControlPort * | controlPort (const String &pPortName) throw (SynthException) |
return control port | |
Unit * | controlUnit (const String &pPortName) throw (SynthException) |
returns control unit | |
SwitchPorts & | switchPorts () |
return switch ports | |
bool | checkSwitchPort (const String &pPortName) |
check existence of switch port | |
SwitchPort * | switchPort (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 | |
ControlPort * | createControlPort (const String &pName) |
create a control port | |
ControlPort * | createControlPort (const String &pName, unsigned int pChannelCount) |
create a control port | |
template<class FunctionDataType> | |
SwitchPort * | createSwitchPort (const String &pName, const data::Values &pValues, void(PortOwner::*pSetFunction)(FunctionDataType)) |
create a switch port | |
template<class DataType, class FunctionType> | |
SwitchPort * | createFadingSwitchPort (const String &pName, FunctionType pFunctionPointer) |
template<class DataType1, class DataType2, class FunctionType> | |
SwitchPort * | createFadingSwitchPort (const String &pName, FunctionType pFunctionPointer) |
template<class DataType, class FunctionType> | |
SwitchPort * | createDataSwitchPort (const String &pName, FunctionType pFunctionPointer) |
template<class DataType1, class DataType2, class FunctionType> | |
SwitchPort * | createDataSwitchPort (const String &pName, FunctionType pFunctionPointer) |
Protected Attributes | |
InputPort * | mAudioIn |
audio input port | |
OutputPort * | mAudioOut |
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 | |
Buffer * | mBuffer |
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 |
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.
Unit::Unit | ( | ) |
default constructor
Unit::Unit | ( | const String & | pName | ) |
name constructor
pName | unit name |
Unit::Unit | ( | unsigned int | pChannelCount | ) |
parameter based contructor
pChannelCount | number of channels |
Unit::Unit | ( | const String & | pName, | |
unsigned int | pChannelCount | |||
) |
parameter based contructor
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
pName | unit name | |
pFrameCount | number of frames | |
pChannelCount | number of channels | |
pRate | samping rate |
SynthException | frameCount not power of two |
name & copy constructor
pName | unit name | |
pUnit | unit to copy properties from |
Unit::Unit | ( | const data::Values & | pValues | ) | throw (SynthException) |
values based constructor
pValues | unit values |
SynthException | failed to create unit |
Unit::~Unit | ( | ) | [virtual] |
destructor
assignment operator
pUnit | unit to copy properties from |
unsigned int Unit::frameCount | ( | ) | const |
returns frame count
unsigned int Unit::channelCount | ( | ) | const |
returns channel count
sample Unit::rate | ( | ) | const |
return sampling rate
unsigned long Unit::processStep | ( | ) | const |
returns process step
bool Unit::active | ( | ) | const |
returns unit's activity
void Unit::setControlType | ( | ControlType | pControlType | ) |
set control port handling
pControlType | control type |
InputPort * Unit::audioIn | ( | ) | const |
returns input port
OutputPort * Unit::audioOut | ( | ) | const |
returns output port
ControlPorts & Unit::controlPorts | ( | ) |
return control ports
bool Unit::checkControlPort | ( | const String & | pPortName | ) |
check existence of control port
pPortName | name of control port |
ControlPort * Unit::controlPort | ( | const String & | pPortName | ) | throw (SynthException) |
return control port
pPortName | name of control port |
SynthException | no control port with supplied name exists |
Unit * Unit::controlUnit | ( | const String & | pPortName | ) | throw (SynthException) |
returns control unit
pPortName | name of control port |
SynthException | no control port with supplied name exists control port has no links |
SwitchPorts & Unit::switchPorts | ( | ) |
return switch ports
bool Unit::checkSwitchPort | ( | const String & | pPortName | ) |
check existence of switch port
pPortName | name of switch port |
SwitchPort * Unit::switchPort | ( | const String & | pPortName | ) | throw (SynthException) |
return switch port
pPortName | name of switch port |
SynthException | no switch port with supplied name exists |
void Unit::connect | ( | const Unit * | pUnit, | |
ChannelMap * | pMap = NULL | |||
) | throw (SynthException) |
connect two units
pUnit | target unit to connect to | |
pMap | channel map |
Exception | this unit has no audio output port target unit has no audio input port |
void Unit::connect | ( | Unit * | pUnit, | |
const String & | pPortName, | |||
ChannelMap * | pMap = NULL | |||
) | throw (SynthException) |
connect this unit to control port of a target unit
pUnit | target unit | |
pPortName | target unit control port name | |
pMap | channel map |
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
pFrameCount | frame count |
Exception | frame count not a power of two |
void Unit::setChannelCount | ( | unsigned int | pChannelCount | ) | [virtual] |
set channel count
pChannelCount | channel count |
void Unit::setRate | ( | sample | pRate | ) | [virtual] |
set rate
pRate | rate |
void Unit::setActive | ( | bool | pActive | ) |
activate or deactivate unit
pActive | true : activate , false : deactivate |
data::Values Unit::values | ( | const String & | pPortName | ) | throw (SynthException) |
return current port values (control port or switch port)
pPortName | port name |
SynthException | port not found |
sample Unit::controlValue | ( | const String & | pPortName | ) | throw (SynthException) |
return current control port value
pPortName | control port name |
SynthException | port not found |
Frame Unit::controlValues | ( | const String & | pPortName | ) | throw (SynthException) |
return current port values
pPortName | port name |
SynthException | port not found |
data::Values Unit::switchValues | ( | const String & | pPortName | ) | throw (SynthException) |
return current switch port values
pPortName | switch port name |
SynthException | port not found |
void Unit::set | ( | const String & | pPortName, | |
const data::Values & | pValues, | |||
sample | pDuration = -1 | |||
) | throw (SynthException) |
set port to fixed values
pPortName | port name | |
pValues | fixed port values | |
pDuration | duration (in milisecs) till the control port should reach fixed value |
SynthException | failed to set port |
void Unit::set | ( | const String & | pPortName, | |
Unit * | pUnit | |||
) | throw (SynthException) |
connect unit to control port of this unit
pPortName | control port name (must be a control port) | |
pUnit | unit |
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
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) |
SynthException | failed to set port |
void Unit::change | ( | const String & | pPortName, | |
const data::Values & | pValues, | |||
sample | pDuration = -1 | |||
) | throw (SynthException) |
change switch port values
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 |
SynthException | port not found or invalid channel count |
bool Unit::checkConnection | ( | Unit * | pUnit | ) | throw (SynthException) |
check if input port is connected to unit
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
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
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
pUnit | unit from which this unit is to be disconnected | |
pPortName | control port name that will be disconnected |
SynthException | port not found |
void Unit::process | ( | Buffer * | pBuffer = NULL |
) | throw (SynthException) [virtual] |
processes buffer
pBuffer | buffer to process |
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
pPropagate | if true, the unit calls the info methods of its input ports | |
pShowPorts | print port 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
pPropagate | if true, the ports propagate the input call via their links |
ControlPort * Unit::createControlPort | ( | const String & | pName | ) | [protected] |
create a control port
pName | name of control port |
ControlPort * Unit::createControlPort | ( | const String & | pName, | |
unsigned int | pChannelCount | |||
) | [protected] |
create a control port
pName | name of control port | |
pChannelCount | number of channels |
SwitchPort * iso::synth::Unit::createSwitchPort | ( | const String & | pName, | |
const data::Values & | pValues, | |||
void(PortOwner::*)(FunctionDataType) | pSetFunction | |||
) | [protected] |
create a switch port
pName | name of switch port | |
pValues | switch port values | |
pSetFunction | set function called by switch port |
SwitchPort * iso::synth::Unit::createFadingSwitchPort | ( | const String & | pName, | |
FunctionType | pFunctionPointer | |||
) | [protected] |
SwitchPort * iso::synth::Unit::createFadingSwitchPort | ( | const String & | pName, | |
FunctionType | pFunctionPointer | |||
) | [protected] |
SwitchPort * iso::synth::Unit::createDataSwitchPort | ( | const String & | pName, | |
FunctionType | pFunctionPointer | |||
) | [protected] |
SwitchPort * iso::synth::Unit::createDataSwitchPort | ( | const String & | pName, | |
FunctionType | pFunctionPointer | |||
) | [protected] |
std::ostream& operator<< | ( | std::ostream & | pOstream, | |
const Unit & | pUnit | |||
) | [friend] |
print unit information
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] |
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