Yes, I only used that documentation to create the fluidsynth instrument
in radium.
Worked for me:
https://github.com/kmatheussen/radium/blob/master/audio/FluidSynth_plugin.c
You can probably use that file as example. Sound is created in the
function
'RT_Process', synths are created in the fun
Have a look at the Developer's API documentation, in particular the
"Using the synthesizer without an audio driver" link in the table of
contents:
http://fluidsynth.sourceforge.net/api/index.html#UsingSynth
Hope that helps.
Element Green
On Sun, Jan 13, 2013 at 11:33 AM, Иван Заярный wrote:
>
Description of using synthesizer without audio driver is not obvious or not
full.
It is diffucult to understand how to handle audio stream from synth using
fluid_synth_write_s16() method.
I suppose that i can use callback function fluid_audio_callback_t (typedef
in synth.h) for handling any outpu