smoother
Files: smoother.h, smoother.c
Smootheramento-style control signal smoothing
Useful for smoothing out low-resolution signals and applying glissando to filters.
sp_smoother_create(sp_smoother **smoother)
sp_smoother_init(sp_data *sp, sp_smoother *smoother)
sp_smoother_compute(sp_data *sp, sp_smoother *smoother, SPFLOAT *in, SPFLOAT *out)
sp_smoother_destroy(sp_smoother **smoother)
Mandatory Parameters
Optional Parameters
smooth: Smooth time amount.
(Default value: 0.01)
Inputs
in: Signal input.
Outputs
out: Signal output.
Other Functions:
sp_smoother_reset(sp_data *sp, sp_smoother *smoother, SPFLOAT * input)
Resets internal buffers, snapping to input value instead of ramping to it.
input: input value to snap to.