csl::ADSR Class Reference

#include <Envelope.h>


Detailed Description

ADSR = 4-segment attack/decay/sustain/release envelope class.

Most of this is inherited from Envelope. This design is an extended ADSR envelope with an initial constant segment and offset (default = 0; this can be used to make an attack delay as on ARP ADSRs), attack time and max. val (default = 1.0), decay time, sustain level, and release time and final value (default = 0.0). All times are assumed to be given in seconds. Note that there are many variations on the constructor. The 5 line segments used internally look something like the following

| / . | / \ . | / \--------------- . | / \ . |---/ \ . | \----- . --------------------------------------------------------------------

Note that, internally, the breakpoints are kept with cumulative times, whereas the line segments only have start/stop Y values and durations (i.e., no absolute time reference).


The documentation for this class was generated from the following file:
Generated on Sat Oct 17 14:12:36 2009 for CSL by  doxygen 1.4.5-20051010