|
LMMS
|
Algorithm for a constant time linear ramp. More...
#include <inertia.h>
Public Member Functions | |
| exponential_ramp (int _ramp_len) | |
| void | set_length (int _ramp_len) |
| int | length () |
| void | start_ramp (float start, float end) |
| float | ramp (float value) |
| Return value after single step. | |
| float | ramp_many (float value, float count) |
| Return value after many steps. | |
Public Attributes | |
| int | ramp_len |
| float | root |
| float | delta |
Algorithm for a constant time linear ramp.
|
inline |
|
inline |
|
inline |
Return value after single step.
|
inline |
Return value after many steps.
|
inline |
| float dsp::exponential_ramp::delta |
| int dsp::exponential_ramp::ramp_len |
| float dsp::exponential_ramp::root |