#include <Envelope.h>
Inheritance diagram for csl::AR:

Most of this is inherited from Envelope. This design is an extended AR envelope with an initial constant segment and offset (default = 0; this can be used to make an attack delay as on ARP ARs), attack time and max. val (default = 1.0), 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 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).
Public Member Functions | |
| AR () | |
| Various Constructors. | |
| AR (float t, float a, float r) | |
| Minimal version - AR. | |
| AR (float t, float i, float a, float r) | |
| with initial delay - IAR | |
| ~AR () | |
| void | setAttack (float attack) |
| Special accessors. | |
| void | setRelease (float release) |
| void | setAll (float d, float a, float r) |
| void | release (void) |
| Operations trigger the release segment. | |
|
|
Various Constructors.
|
|
||||||||||||||||
|
Minimal version - AR.
|
|
||||||||||||||||||||
|
with initial delay - IAR
|
|
|
|
|
|
Special accessors.
|
|
|
|
|
||||||||||||||||
|
|
|
|
Operations trigger the release segment.
|
1.4.5-20051010