Main Page   Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

syn::AdsrEnvModule Class Reference

ADSR envelope generator. More...

#include <AdsrEnvModule.h>

Inheritance diagram for syn::AdsrEnvModule:

Inheritance graph
[legend]
Collaboration diagram for syn::AdsrEnvModule:

Collaboration graph
[legend]
List of all members.

Public Methods

 AdsrEnvModule ()
 default constructor. More...

virtual ~AdsrEnvModule ()
 destructor. More...

void trigger ()
void trigger (float durationSecs)
void release ()
void setAttackTime (float a)
void setDecayTime (float a)
void setSustainLevel (float a)
void setReleaseTime (float a)
float getAttackTime ()
float getDecayTime ()
float getSustainLevel ()
float getReleaseTime ()
parameter access
virtual void getParam (const std::string &key, MultivariateType &value)
 a way to get module params without knowing the real funcs. More...

virtual void setParam (const std::string &key, const MultivariateType &value)
 a way to set module params without knowing the real funcs. More...


Detailed Description

ADSR envelope generator.

uses direct generation from adsr state machine.

Definition at line 44 of file AdsrEnvModule.h.


Constructor & Destructor Documentation

syn::AdsrEnvModule::AdsrEnvModule ( ) [inline]
 

default constructor.

Definition at line 48 of file AdsrEnvModule.h.

syn::AdsrEnvModule::~AdsrEnvModule ( ) [inline, virtual]
 

destructor.

Definition at line 53 of file AdsrEnvModule.h.


Member Function Documentation

void syn::AdsrEnvModule::trigger ( ) [inline]
 

Definition at line 57 of file AdsrEnvModule.h.

void syn::AdsrEnvModule::trigger ( float durationSecs ) [inline]
 

Definition at line 62 of file AdsrEnvModule.h.

void syn::AdsrEnvModule::release ( ) [inline]
 

Definition at line 67 of file AdsrEnvModule.h.

void syn::AdsrEnvModule::setAttackTime ( float a ) [inline]
 

Definition at line 72 of file AdsrEnvModule.h.

Referenced by setParam().

void syn::AdsrEnvModule::setDecayTime ( float a ) [inline]
 

Definition at line 77 of file AdsrEnvModule.h.

Referenced by setParam().

void syn::AdsrEnvModule::setSustainLevel ( float a ) [inline]
 

Definition at line 82 of file AdsrEnvModule.h.

Referenced by setParam().

void syn::AdsrEnvModule::setReleaseTime ( float a ) [inline]
 

Definition at line 87 of file AdsrEnvModule.h.

Referenced by setParam().

float syn::AdsrEnvModule::getAttackTime ( ) [inline]
 

Definition at line 93 of file AdsrEnvModule.h.

Referenced by getParam().

float syn::AdsrEnvModule::getDecayTime ( ) [inline]
 

Definition at line 98 of file AdsrEnvModule.h.

Referenced by getParam().

float syn::AdsrEnvModule::getSustainLevel ( ) [inline]
 

Definition at line 103 of file AdsrEnvModule.h.

Referenced by getParam().

float syn::AdsrEnvModule::getReleaseTime ( ) [inline]
 

Definition at line 108 of file AdsrEnvModule.h.

Referenced by getParam().

void syn::AdsrEnvModule::getParam ( const std::string & key,
MultivariateType & value ) [inline, virtual]
 

a way to get module params without knowing the real funcs.

Reimplemented from syn::OscModuleBase.

Definition at line 116 of file AdsrEnvModule.h.

void syn::AdsrEnvModule::setParam ( const std::string & key,
const MultivariateType & value ) [inline, virtual]
 

a way to set module params without knowing the real funcs.

Reimplemented from syn::OscModuleBase.

Definition at line 129 of file AdsrEnvModule.h.


The documentation for this class was generated from the following file:
Generated at Mon Apr 15 09:27:51 2002 for subsynth by doxygen1.2.8.1 written by Dimitri van Heesch, © 1997-2001