|
AuLib
1.0beta
|
#include <Envel.h>
Public Member Functions | |
| Segments (double start, const std::vector< double > endpts, const std::vector< double > times, bool linear=true, double sr=def_sr) | |
| Segments () | |
| void | reset (double start, const std::vector< double > endpts, const std::vector< double > times, double sr) |
| const double * | incrs () const |
| const uint32_t * | durs () const |
| const double * | endpts () const |
| uint32_t | nsegs () const |
| double | start () const |
| bool | isLinear () const |
| uint32_t | frames () const |
Static Public Attributes | |
| static constexpr bool | linear = true |
| static constexpr bool | exponential = false |
Curve segments for envelope generators and tables
| AuLib::Segments::Segments | ( | double | start, |
| const std::vector< double > | endpts, | ||
| const std::vector< double > | times, | ||
| bool | linear = true, |
||
| double | sr = def_sr |
||
| ) |
|
inline |
|
inline |
Get the durations array
|
inline |
Get the endpts array
|
inline |
Get the envelope duration in frames
|
inline |
Get the increments array
|
inline |
check if the envelope is designed to be linear or else exponential
|
inline |
Get the number of segments
| void AuLib::Segments::reset | ( | double | start, |
| const std::vector< double > | endpts, | ||
| const std::vector< double > | times, | ||
| double | sr | ||
| ) |
|
inline |
Get the start value
|
static |
define exponential segments
|
static |
define linear segments
1.8.13