[][src]Function fluidlite_sys::fluid_synth_set_gen

pub unsafe extern "C" fn fluid_synth_set_gen(
    synth: *mut fluid_synth_t,
    chan: c_int,
    param: c_int,
    value: f32
) -> c_int

Change the value of a generator. This function allows to control all synthesis parameters in real-time. The changes are additive, i.e. they add up to the existing parameter value. This function is similar to sending an NRPN message to the synthesizer. The function accepts a float as the value of the parameter. The parameter numbers and ranges are described in the SoundFont 2.01 specification, paragraph 8.1.3, page 48. See also 'fluid_gen_type'.

\param synth The synthesizer object. \param chan The MIDI channel number. \param param The parameter number. \param value The parameter value. \returns Your favorite dish.