fluid-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [fluid-dev] fluidsynth, programming reverb


From: Tom M.
Subject: Re: [fluid-dev] fluidsynth, programming reverb
Date: Sun, 07 Jan 2018 19:17:33 +0100

> I can only guess where to begin as the documented reverb API is limited to 
> turning reverb on or off (which I have done and it is working)

Reverb is a feature of the synth, you should therefore have a look at the 
numerous functions the synth provides:

http://www.fluidsynth.org/api/synth_8h.html

One of those functions is fluid_synth_set_reverb(), which perfectly fits your 
needs.


> I have assumed that the doubles: roomsize, damp, width and level are settings

This assumption is wrong. Those settings are not documented because they dont 
exist.

The fact that you can recall the value via fluid_settings_getnum() is due to 
the error-hiding behaviour of fluidsynths 1.1.x settings API. Whenever you set 
a setting that is unknown, it is silently registered. This behaviour was 
recently fixed upstream and will be part of fluidsynth's next major release. 
Furthermore another inconsistency regarding the settings API was addressed: all 
public fluid_settings_* functions that return an integer, which is not meant to 
be interpreted as bool, will return either FLUID_OK or FLUID_FAILED (rather 
than TRUE and FALSE as they currently do).


Tom

P.S.: fluidsynth.org/api/ is currently down, give it 20 hours to recover.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]