13
0
livetrax/libs/fluidsynth/src/fluid_lfo.c

18 lines
329 B
C
Raw Normal View History

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