Hi, Pascal > When using the custom audio driver - new_fluid_audio_driver2() - there is no > reverb or chorus.
The Callback function used with new_fluid_audio_driver2() is responsible for rendering the audio to the buffers. If you don't need multi-channel audio output rendering , you can use fluid_synth_write_s16(), or fluid_synth_write_float(), instead of fluid_synth_process(). Using fluid_synth_write_s16() you should get reverb and chorus without issues. jjc > Message du 15/02/20 17:30 > De : "midi-pascal" > A : fluid-dev@nongnu.org > Copie à : > Objet : Re: [fluid-dev] No reverb, no chorus with 2.1.0 > > On 2020-02-15 7:42 a.m., midi-pascal wrote: > On 2020-02-15 2:24 a.m., Tom M. via fluid-dev wrote: > As JJC already indicated, your environment is "polluted". The > fluidsynth 2.1.0 binary tries to use the libfluidsynth 2.0.2 . This > cannot work. Execute ldd ./fluidsynth to see which libfluidsynth is > being loaded. Then remove it as well as other fluidsynth leftover > installation files (e.g. headers). Make a clean rebuild of fluidsynth > 2.1.0, install it and try again. > > Tom > > _______________________________________________ > fluid-dev mailing list > fluid-dev@nongnu.org > https://lists.nongnu.org/mailman/listinfo/fluid-dev > > Hi Tom, > > You got it! > > I rebuild fluidsynth and forced it to use the locally build libfluidsynth by > setting LD_LIBRARY_PATH. > > Now fluidsynth works and I can ear the reverb. > > I did the same to my app but the reverb and chorus still do not work with > 2.1.0. > > No runtime error, but no effect. > > The problem must be on my side. > > Thanks a lot for your help. > > Regards > > Pascal > > > _______________________________________________ > fluid-dev mailing list > fluid-dev@nongnu.org > https://lists.nongnu.org/mailman/listinfo/fluid-dev > > Hi, > I found the problem in my app: > I use an audio driver based on the fluidsynth_fx sample program to get the > peak output levels while playing. > When using the custom audio driver - new_fluid_audio_driver2() - there is no > reverb or chorus. > When using the simple audio driver - new_fluid_audio_driver() - both reverb > and chorus work but I loose the peak levels usage. Is there a way to have > both? > Regards, > Pascal > > > _______________________________________________ fluid-dev mailing list fluid-dev@nongnu.org https://lists.nongnu.org/mailman/listinfo/fluid-dev
_______________________________________________ fluid-dev mailing list fluid-dev@nongnu.org https://lists.nongnu.org/mailman/listinfo/fluid-dev