Native DLS support in 2.5.0 gives me "Not a SoundFont file" error but loads #1669
Replies: 2 comments 7 replies
-
|
This behavior is expected. By default, there are two loaders in fluidsynth: The SF2 and the DLS loader. I admit this behavior is confusing. It might be fixed in a future version. |
Beta Was this translation helpful? Give feedback.
-
|
Thanks, that is reassuring :) Something else, for our iOS port I created an Xcode project file to build fluidsynth as a library to link against. For now it is outside of the fluidsynth source but it could be easily adapted to be called from within (similar to SDL's Xcode project file). |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
in Exult we have FluidSynth support and I've just enabled DLS loading as the built in DLS support is kind of a sure shot that FluidSynth has it (we query the FS version).
But either we need another way to load DLS files than sf2 files or we are doing it wrong:
(the error comes from fluidsynth/src/sfloader/fluid_sffile.c the other messages are ours).
We are using fluid_synth_sfload() and that's where the error pops up. AFAICT it still loads the dls file and I can hear the difference when I use other dls files.
Our code is at https://github.com/exult/exult/blob/master/audio/midi_drivers/FluidSynthMidiDriver.cpp#L217 (and header at https://github.com/exult/exult/blob/master/audio/midi_drivers/FluidSynthMidiDriver.h).
So is it our fault or FS' fault? :)
Beta Was this translation helpful? Give feedback.
All reactions