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

syn::AdsrIStream Class Reference

The ADSR Envelope Generator is a flexible EG that generates a four-stage ADSR voltage envelope that varies from audio_data_traits::min() to audio_data_traits::max() NOTE: ADSR = (A)ttack, (D)elay, (S)ustain, (R)elease. More...

#include <AdsrIStream.h>

Inheritance diagram for syn::AdsrIStream:

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

Collaboration graph
[legend]
List of all members.

Public Methods

 AdsrIStream ()
virtual ~AdsrIStream ()
void setAttackTime (float time)
 set length of attack stage . More...

void setDecayTime (float time)
 set length of decay stage . More...

void setSustainLevel (float level)
 set amplitude of the sustain stage . More...

void setReleaseTime (float time)
 set length of release stage . More...

void trigger ()
void release ()

Detailed Description

The ADSR Envelope Generator is a flexible EG that generates a four-stage ADSR voltage envelope that varies from audio_data_traits::min() to audio_data_traits::max() NOTE: ADSR = (A)ttack, (D)elay, (S)ustain, (R)elease.

Definition at line 46 of file AdsrIStream.h.


Constructor & Destructor Documentation

syn::AdsrIStream::AdsrIStream ( ) [inline]
 

Definition at line 49 of file AdsrIStream.h.

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

Definition at line 52 of file AdsrIStream.h.


Member Function Documentation

void syn::AdsrIStream::setAttackTime ( float time ) [inline]
 

set length of attack stage .

/ \.___ ./ `\ -+--+------------

Definition at line 60 of file AdsrIStream.h.

void syn::AdsrIStream::setDecayTime ( float time ) [inline]
 

set length of decay stage .

/ \.___ ./ `\ ----+-+----------

Definition at line 71 of file AdsrIStream.h.

void syn::AdsrIStream::setSustainLevel ( float level ) [inline]
 

set amplitude of the sustain stage .

/ \.___ ./ | `\ -----------------

Definition at line 82 of file AdsrIStream.h.

void syn::AdsrIStream::setReleaseTime ( float time ) [inline]
 

set length of release stage .

/ \.___ ./ `\ ----------+-+----

Definition at line 93 of file AdsrIStream.h.

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

Definition at line 98 of file AdsrIStream.h.

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

Definition at line 103 of file AdsrIStream.h.


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