iso::synth::FFTStretch Class Reference

#include <iso_synth_fft_stretch.h>

Inherits iso::synth::ProcessUnit.

Inheritance diagram for iso::synth::FFTStretch:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

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

Protected Attributes

ControlPortmStretch
 stretch control port
unsigned int mOverlap
 number of overlaps

Static Protected Attributes

static unsigned int sUnitCount
 total number of units created so far

Friends

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

Constructor & Destructor Documentation

FFTStretch::FFTStretch (  ) 

default constructor

FFTStretch::FFTStretch ( const String pName  ) 

name constructor

Parameters:
pName unit name

FFTStretch::FFTStretch ( unsigned int  pOverlap  ) 

parameter based contructor

Parameters:
pOverlap number of overlaps

FFTStretch::FFTStretch ( const String pName,
unsigned int  pOverlap 
)

parameter based contructor

Parameters:
pName unit name
pOverlap number of overlaps

FFTStretch::FFTStretch ( unsigned int  pChannelCount,
unsigned int  pOverlap 
)

parameter based contructor

Parameters:
pChannelCount number of channels
pOverlap number of overlaps

FFTStretch::FFTStretch ( const String pName,
unsigned int  pChannelCount,
unsigned int  pOverlap 
)

parameter based contructor

Parameters:
pName unit name
pChannelCount number of channels
pOverlap number of overlaps

FFTStretch::FFTStretch ( unsigned int  pOverlap,
unsigned int  pFrameCount,
unsigned int  pChannelCount,
unsigned int  pRate,
FanInType  pFanInType = FANIN_ADD 
)

name and parameter based constructor

Parameters:
pOverlap number of overlaps
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

FFTStretch::FFTStretch ( const base::String &  pName,
unsigned int  pOverlap,
unsigned int  pFrameCount,
unsigned int  pChannelCount,
unsigned int  pRate,
FanInType  pFanInType = FANIN_ADD 
)

name and parameter based constructor

Parameters:
pName unit name
pOverlap number of overlaps
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

FFTStretch::FFTStretch ( const FFTStretch pUnit  ) 

copy constructor

Parameters:
pUnit unit to copy properties from

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

name & copy constructor

Parameters:
pName unit name
pUnit unit to copy properties from

FFTStretch::FFTStretch ( 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 window overlaps 2: unsigned int : number of frames 3: unsigned int : number of channels 4: unsigned int : samping rate

FFTStretch::~FFTStretch (  ) 

destructor


Member Function Documentation

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

processes buffer

Parameters:
pBuffer buffer to process

Reimplemented from iso::synth::ProcessUnit.

base::String FFTStretch::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.

void FFTStretch::init (  )  [protected]

initializes switch ports


Friends And Related Function Documentation

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

print unit information


Member Data Documentation

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

default name

Reimplemented from iso::synth::ProcessUnit.

unsigned int FFTStretch::sUnitCount [static, protected]

total number of units created so far

Reimplemented from iso::synth::ProcessUnit.

ControlPort* iso::synth::FFTStretch::mStretch [protected]

stretch control port

unsigned int iso::synth::FFTStretch::mOverlap [protected]

number of overlaps


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