> #include "fluid_midi.h"
> #include "fluid_sfont.h"
I will never understand why people keep including fluidsynths private headers.
And I'm so tired of repeating that this way of programming is undefined
behaviour as there is no API / ABI stability guarantee for internal data types
and function
Ok, I made the changes but it not working for me. Here is a program which
is supposed to synthesize the midi input and print note on and note off
events:
#include
#include
#include
#include "fluid_midi.h"
#include "fluid_sfont.h"
int intercept(void* data, fluid_midi_event_t* event);
int mai
Without any code it's hard to tell. However the order looks wrong to me, as the
synth is not setup when creating the midi driver. You should instead:
1. create settings
2. set midi driver settings
3. set audio driver settings
4. create synth
5. load soundfont
6. create audio driver
7. crea
Hi,
So I got the midi file playback working how I want but now I am having a
bit of a problem with the midi driver.
I got the settings of the midi driver correct so that midi events are being
received by Fluidsynth. However, they aren't getting passed to the synth
properly. I am able to print out
> I'll wait for missing accessors and start fixing then.
Just merged #394. The Soundfont loader API now provides the necessary accessor
functions for fluid_sfont_t and fluid_preset_t:
https://github.com/FluidSynth/fluidsynth/pull/394/files#diff-f68c4ea31cdca955045dcfb56ae20e9aR218
Please checko