|
LMMS
|
#include <primitives.h>
Public Member Functions | |
| decay () | |
| bool | get_active () |
| double | get () |
| void | set (double v) |
| void | reinit () |
| reinitialise envelope (must be called if shape changes from linear to exponential or vice versa in the middle of envelope) | |
| void | add (double v) |
| void | age_exp (double constant, double epsilon) |
| void | age_lin (double constant, double epsilon) |
| void | deactivate () |
Static Public Member Functions | |
| static double | calc_exp_constant (double times, double cycles) |
Private Attributes | |
| double | value |
| double | initial |
| unsigned int | age |
| unsigned int | mask |
| bool | active |
decay-only envelope (linear or exponential); deactivates itself when it goes below a set point (epsilon)
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinestatic |
|
inline |
|
inline |
|
inline |
|
inline |
reinitialise envelope (must be called if shape changes from linear to exponential or vice versa in the middle of envelope)
|
inline |
|
private |
|
private |
|
private |
|
private |
|
private |