|
MayaFlux 0.5.0
Digital-First Multimedia Processing Framework
|
| MAYAFLUX_API std::vector< double > MayaFlux::Kinesis::Discrete::ramp_exponential | ( | size_t | n, |
| double | start = 0.001, |
||
| double | end = 1.0 |
||
| ) |
Exponential ramp from start to end over n samples.
Each step multiplies by a constant growth factor. A true exponential cannot originate at zero, so start is clamped away from it; callers wanting a curve that begins at silence should offset the result.
| n | Length in samples |
| start | First value, clamped to magnitude >= 1e-9 |
| end | Last value |
Definition at line 253 of file Transform.cpp.