fmsynth_set_global_parameter method

void fmsynth_set_global_parameter(
  1. Pointer<fmsynth> fm,
  2. int parameter,
  3. double value
)

\brief Set a parameter global to the FM synth.

If parameter is out of bounds, this functions is a no-op. Updated parameters will not generally be reflected in audio output until a new voice has started.

@param fm Handle to an FM synth instance. @param parameter Which parameter to modify. See \ref fmsynth_global_parameter for which parameters can be used. @param value A floating point value. The meaning is parameter-dependent.

Implementation

void fmsynth_set_global_parameter(
  ffi.Pointer<fmsynth> fm,
  int parameter,
  double value,
) {
  return _fmsynth_set_global_parameter(
    fm,
    parameter,
    value,
  );
}