iso::synth::EnvFollower Class Reference

#include <iso_synth_env_follower.h>

Inherits iso::synth::ProcessUnit.

Inheritance diagram for iso::synth::EnvFollower:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

 EnvFollower ()
 default constructor
 EnvFollower (const String &pName)
 name constructor
 EnvFollower (unsigned int pChannelCount)
 default constructor
 EnvFollower (const String &pName, unsigned int pChannelCount)
 name constructor
 EnvFollower (const String &pName, unsigned int pFrameCount, unsigned int pChannelCount, unsigned int pRate, FanInType pFanInType=FANIN_ADD) throw (SynthException)
 name and parameter based contructor
 EnvFollower (const String &pName, const EnvFollower &pUnit)
 name & copy constructor
 EnvFollower (const data::Values &pValues) throw (SynthException)
 values based constructor
virtual ~EnvFollower ()
 destructor
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 Attributes

ControlPortmScale
 scale control port
Frame mY

Detailed Description

control ports:
mScale : amplitude average scaling factor ( in between 0.0 and 1.0 )

Created by Daniel Bisig on 6/24/06. Copyright 2007 John Flury All rights reserved.


Constructor & Destructor Documentation

EnvFollower::EnvFollower (  ) 

default constructor

EnvFollower::EnvFollower ( const String pName  ) 

name constructor

Parameters:
pName unit name

EnvFollower::EnvFollower ( unsigned int  pChannelCount  ) 

default constructor

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

name constructor

Parameters:
pName unit name
pChannelCount number of channels

EnvFollower::EnvFollower ( const String pName,
unsigned int  pFrameCount,
unsigned int  pChannelCount,
unsigned int  pRate,
FanInType  pFanInType = FANIN_ADD 
) throw (SynthException)

name and parameter based contructor

Parameters:
pName unit name
pFrameCount number of frames
pChannelCount number of channels
pRate samping rate
pFanInType strategy for combining audio buffers in case this unit is connected to several units

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

name & copy constructor

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

EnvFollower::EnvFollower ( 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

EnvFollower::~EnvFollower (  )  [virtual]

destructor


Member Function Documentation

void EnvFollower::process ( Buffer pBuffer  )  throw (SynthException) [virtual]

processes buffer

Parameters:
pBuffer buffer to process

Reimplemented from iso::synth::ProcessUnit.

String EnvFollower::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 from iso::synth::ProcessUnit.


Member Data Documentation

const String EnvFollower::sClassName [static]

default name

Reimplemented from iso::synth::ProcessUnit.

ControlPort* iso::synth::EnvFollower::mScale [protected]

scale control port

Frame iso::synth::EnvFollower::mY [protected]


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