expon
Files: expon.h, expon.c
Produce a line segment with exponential slope
This will generate a line from value A to value B in given amount of time.
When it reaches it's target, it will stay at that value.
sp_expon_create(sp_expon **expon)
sp_expon_init(sp_data *sp, sp_expon *expon)
sp_expon_compute(sp_data *sp, sp_expon *expon, SPFLOAT *trig, SPFLOAT *out)
sp_expon_destroy(sp_expon **expon)
Optional Parameters
a: Inital point.
(Default value: 1)
dur: Duration (in seconds)
(Default value: 1)
b: End point
(Default value: 1)
Inputs
trig: When nonzero, will retrigger line segment
Outputs
out: Signal output.