Gamma  0.9.5
Generic Synthesis Library
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator
SegExp< T, Ts > Class Template Reference

Exponential envelope segment for smoothing out value changes. More...

#include <Envelope.h>

Inherits Ts.

List of all members.

Public Member Functions

 SegExp (T len, T crv=-3, T start=1, T end=0)
bool done () const
 Returns whether envelope is done.
operator() ()
 Generate next value.
void operator= (T v)
 Set new end value. Start value is set to current value.
void curve (T v)
 Set curvature. Negative gives faster change, positive gives slower change.
void period (T v)
 Set length in domain units.
void set (T len, T crv)
 Set length and curvature.

Detailed Description

template<class T = gam::real, class Ts = Synced>
class gam::SegExp< T, Ts >

Exponential envelope segment for smoothing out value changes.


Constructor & Destructor Documentation

SegExp ( len,
crv = -3,
start = 1,
end = 0 
)
Parameters:
[in]lenLength of segment in domain units
[in]crvCurvature of segment
[in]startStart value
[in]endEnd value

The documentation for this class was generated from the following file: