|
LMMS
|
#include <inertia.h>
Public Member Functions | |
| gain_smoothing () | |
| void | set_sample_rate (int sr) |
| Public Member Functions inherited from dsp::inertia< linear_ramp > | |
| inertia (const linear_ramp &_ramp, float init_value=0.f) | |
| void | set_now (float _value) |
| Set value immediately (no inertia). | |
| void | set_inertia (float source) |
| Set with inertia. | |
| float | get (float source) |
| Get smoothed value of given source value. | |
| void | step () |
| Do one inertia step, without returning the new value and without changing destination value. | |
| void | step_many (unsigned int steps) |
| Do many inertia steps, without returning the new value and without changing destination value. | |
| float | get_last () const |
| Get last smoothed value, without affecting anything. | |
| bool | active () const |
| Is it still ramping? | |
Additional Inherited Members | |
| Public Attributes inherited from dsp::inertia< linear_ramp > | |
| float | old_value |
| float | value |
| unsigned int | count |
| linear_ramp | ramp |
|
inline |