libfluidsynth  2.2.4
Deprecated Functions

This page contains functions that have been marked obsolete. Functions listed here will be removed in the next major release. It is therefore not wise to use them in new code.

Global fluid_player_set_bpm (fluid_player_t *player, int bpm)
Use fluid_player_set_tempo() instead.
Global fluid_player_set_midi_tempo (fluid_player_t *player, int tempo)
Use fluid_player_set_tempo() instead.
Global fluid_sequencer_get_use_system_timer (fluid_sequencer_t *seq)
As of fluidsynth 2.1.1 the usage of the system timer has been deprecated.
Global fluid_synth_error (fluid_synth_t *synth)
This function is not thread-safe and does not work with multiple synths. It has been deprecated. It may return "" in a future release and will eventually be removed.
Global fluid_synth_get_chorus_depth (fluid_synth_t *synth)
Use fluid_synth_get_chorus_group_depth() in new code instead.
Global fluid_synth_get_chorus_level (fluid_synth_t *synth)
Use fluid_synth_get_chorus_group_level() in new code instead.
Global fluid_synth_get_chorus_nr (fluid_synth_t *synth)
Use fluid_synth_get_chorus_group_nr() in new code instead.
Global fluid_synth_get_chorus_speed (fluid_synth_t *synth)
Use fluid_synth_get_chorus_group_speed() in new code instead.
Global fluid_synth_get_chorus_type (fluid_synth_t *synth)
Use fluid_synth_get_chorus_group_type() in new code instead.
Global fluid_synth_get_reverb_damp (fluid_synth_t *synth)
Use fluid_synth_get_reverb_group_damp() in new code instead.
Global fluid_synth_get_reverb_level (fluid_synth_t *synth)
Use fluid_synth_get_reverb_group_level() in new code instead.
Global fluid_synth_get_reverb_roomsize (fluid_synth_t *synth)
Use fluid_synth_get_reverb_group_roomsize() in new code instead.
Global fluid_synth_get_reverb_width (fluid_synth_t *synth)
Use fluid_synth_get_reverb_group_width() in new code instead.
Global fluid_synth_nwrite_float (fluid_synth_t *synth, int len, float **left, float **right, float **fx_left, float **fx_right)
fluid_synth_nwrite_float() is deprecated and will be removed in a future release. It may continue to work or it may return FLUID_FAILED in the future. Consider using the more powerful and flexible fluid_synth_process().
Global fluid_synth_set_chorus (fluid_synth_t *synth, int nr, double level, double speed, double depth_ms, int type)
Use the individual chorus setter functions in new code instead.
Global fluid_synth_set_chorus_depth (fluid_synth_t *synth, double depth_ms)
Use fluid_synth_set_chorus_group_depth() in new code instead.
Global fluid_synth_set_chorus_level (fluid_synth_t *synth, double level)
Use fluid_synth_set_chorus_group_level() in new code instead.
Global fluid_synth_set_chorus_nr (fluid_synth_t *synth, int nr)
Use fluid_synth_set_chorus_group_nr() in new code instead.
Global fluid_synth_set_chorus_on (fluid_synth_t *synth, int on)
Use fluid_synth_chorus_on() in new code instead.
Global fluid_synth_set_chorus_speed (fluid_synth_t *synth, double speed)
Use fluid_synth_set_chorus_group_level() in new code instead.
Global fluid_synth_set_chorus_type (fluid_synth_t *synth, int type)
Use fluid_synth_set_chorus_group_type() in new code instead.
Global fluid_synth_set_reverb (fluid_synth_t *synth, double roomsize, double damping, double width, double level)
Use the individual reverb setter functions in new code instead.
Global fluid_synth_set_reverb_damp (fluid_synth_t *synth, double damping)
Use fluid_synth_set_reverb_group_damp() in new code instead.
Global fluid_synth_set_reverb_level (fluid_synth_t *synth, double level)
Use fluid_synth_set_reverb_group_level() in new code instead.
Global fluid_synth_set_reverb_on (fluid_synth_t *synth, int on)
Use fluid_synth_reverb_on() instead.
Global fluid_synth_set_reverb_roomsize (fluid_synth_t *synth, double roomsize)
Use fluid_synth_set_reverb_group_roomsize() in new code instead.
Global fluid_synth_set_reverb_width (fluid_synth_t *synth, double width)
Use fluid_synth_set_reverb_group_width() in new code instead.
Global fluid_synth_set_sample_rate (fluid_synth_t *synth, float sample_rate)
As of fluidsynth 2.1.0 this function has been deprecated. Changing the sample-rate is generally not considered to be a real-time use-case, as it always produces some audible artifact ("click", "pop") on the dry sound and effects (because LFOs for chorus and reverb need to be reinitialized). The sample-rate change may also require memory allocation deep down in the effect units. However, this memory allocation may fail and there is no way for the caller to know that, because the actual change of the sample-rate is executed during rendering. This function cannot (must not) do the sample-rate change itself, otherwise the synth needs to be locked down, causing rendering to block. Esp. do not use this function if this synth instance is used by an audio driver, because the audio driver cannot be notified by this sample-rate change. Long story short: don't use it.
Global new_fluid_sequencer (void)
As of fluidsynth 2.1.1 the use of the system timer has been deprecated.