iso::synth::AdditiveSynthesisPatch Class Reference

#include <iso_synth_additive_synthesis_patch.h>

Inherits iso::synth::Patch.

Inheritance diagram for iso::synth::AdditiveSynthesisPatch:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

 AdditiveSynthesisPatch ()
 AdditiveSynthesisPatch (unsigned int pNumberOfPartials, sample pRootFreq)
 AdditiveSynthesisPatch (const String &pPatchName)
 AdditiveSynthesisPatch (const String &pPatchName, unsigned int pNumberOfPartials, sample pRootFreq)
 ~AdditiveSynthesisPatch ()
void setRootFrequency (float pRootFrequency)

Static Public Attributes

static const String sClassName

Protected Member Functions

void construct () throw (SynthException)
 function to create patch
Exceptions:
SynthException failed to create patch

void notify (const com::Message &pMessage)
 message notification

Private Attributes

unsigned int mNumberOfPartials
 default root frequency
sample mRootFrequency
ProcessUnitmOutput
WaveTableOscil ** mOscilBank
ControlPort ** mFrequencyPorts
ControlPort ** mAmplitudePorts

Static Private Attributes

static unsigned int sNumberOfPartials
static sample sRootFrequency
 default number of partials

Constructor & Destructor Documentation

AdditiveSynthesisPatch::AdditiveSynthesisPatch (  ) 

AdditiveSynthesisPatch::AdditiveSynthesisPatch ( unsigned int  pNumberOfPartials,
sample  pRootFreq 
)

AdditiveSynthesisPatch::AdditiveSynthesisPatch ( const String pPatchName  ) 

AdditiveSynthesisPatch::AdditiveSynthesisPatch ( const String pPatchName,
unsigned int  pNumberOfPartials,
sample  pRootFreq 
)

AdditiveSynthesisPatch::~AdditiveSynthesisPatch (  ) 


Member Function Documentation

void AdditiveSynthesisPatch::setRootFrequency ( float  pRootFrequency  ) 

void AdditiveSynthesisPatch::construct (  )  throw (SynthException) [protected, virtual]

function to create patch

Exceptions:
SynthException failed to create patch

Implements iso::synth::Patch.

void AdditiveSynthesisPatch::notify ( const com::Message &  pMessage  )  [protected]

message notification

Parameters:
pMessage message

Reimplemented from iso::synth::Patch.


Member Data Documentation

const String AdditiveSynthesisPatch::sClassName [static]

unsigned int AdditiveSynthesisPatch::sNumberOfPartials [static, private]

sample AdditiveSynthesisPatch::sRootFrequency [static, private]

default number of partials

unsigned int iso::synth::AdditiveSynthesisPatch::mNumberOfPartials [private]

default root frequency

sample iso::synth::AdditiveSynthesisPatch::mRootFrequency [private]

ProcessUnit* iso::synth::AdditiveSynthesisPatch::mOutput [private]

WaveTableOscil** iso::synth::AdditiveSynthesisPatch::mOscilBank [private]

ControlPort** iso::synth::AdditiveSynthesisPatch::mFrequencyPorts [private]

ControlPort** iso::synth::AdditiveSynthesisPatch::mAmplitudePorts [private]


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