Hi All
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)
I have assumed that the doubles: roomsize, damp, width and level are settings and thus
can be set by:
fluid_settings_setnum(settings, "name", value);
I have done this as follows:
int preset; //adjustable to select one of the five sets of preset values
double reverbroomsize[5] = {0.2,0.4,0.5,0.8,0.8}; //reverb constants
double reverbdamp[5] = {0,0.2,0.4,0.7,1.0};
double reverbwidth[5] = {0.5,0.5,0.5,0.5,0.5};
double reverblevel[5] = {0.9,0.8,0.7,0.6,0.5};
fluid_settings_setnum(settings,"synth.reverb.roomsize",reverbroomsize[preset])
fluid_settings_setnum(settings,"synth.reverb.damp",reverbdamp[preset]);
fluid_settings_setnum(settings,"synth.reverb.width",reverbwidth[preset]);
fluid_settings_setnum(settings,"synth.reverb.level",reverblevel[preset]);
synth = new_fluid_synth(settings);
these values are set and can be recalled with the corresponding fluid_settings_getnum()
function.
The only problem is that they are completely ignored and reverb is unchanged.
Please tell me where I am going wrong. I cannot use the command line interface as I
am using fluidsynth.dll not fluidsynth.exe
Thank you
David.