2016-08-23 12:50:54 -04:00
|
|
|
#include "fluid_lfo.h"
|
|
|
|
|
2018-10-17 18:41:02 -04:00
|
|
|
DECLARE_FLUID_RVOICE_FUNCTION(fluid_lfo_set_incr)
|
2016-08-23 12:50:54 -04:00
|
|
|
{
|
2018-10-17 18:41:02 -04:00
|
|
|
fluid_lfo_t *lfo = obj;
|
|
|
|
fluid_real_t increment = param[0].real;
|
|
|
|
|
|
|
|
lfo->increment = increment;
|
2016-08-23 12:50:54 -04:00
|
|
|
}
|
|
|
|
|
2018-10-17 18:41:02 -04:00
|
|
|
DECLARE_FLUID_RVOICE_FUNCTION(fluid_lfo_set_delay)
|
2016-08-23 12:50:54 -04:00
|
|
|
{
|
2018-10-17 18:41:02 -04:00
|
|
|
fluid_lfo_t *lfo = obj;
|
|
|
|
unsigned int delay = param[0].i;
|
|
|
|
|
|
|
|
lfo->delay = delay;
|
2016-08-23 12:50:54 -04:00
|
|
|
}
|