Peter Stuer
Peter Stuer
Any progress? Did you manage to get FluidSynth loading?
FluidSynth does not find the necessary presets. That's why you hear a piano: ``` foo_midi FluidSynth warning: Instrument not found on channel 3 [bank=2 prog=0], substituted [bank=0 prog=0] foo_midi FluidSynth...
I wrote my own parser: ``` Content Version: 0.0.0.0 10 instruments 1. Regions: 1, Articulators: 0, Bank: CC0 0x01 CC32 0x00 (MMA 128), Program: 1, Is Percussion: false, Name: "sinte"...
I was working with Tom from FluidSynth on another issue with probably the same cause: ``` 16:06:27:070 [118391ms] foo_midi FluidSynth warning: Instrument '1081 Saw Wave': Some invalid generators were discarded...
They must have been generated during the DLS to SF2 conversion. I don't know for sure because there's no way to save the converted soundfont.
The first smoke test has been passed: BASSMIDI uses the converted embedded and external DLS sound fonts. 18 months in the making!
https://github.com/stuerp/foo_midi/releases/tag/v3.2.0.0-alpha1 with custom DLS support for BASSMIDI and FluidSynth plays all test cases correctly AFAICT.
Please try 2.18.0.0 and beyond. Adding the channel configuration introduced a threading issue.
I had the version wrong. - v2.19.0.0-alpha2, 2025-06-22 - Fixed: An old threading issue caused by allowing the MIDI channels to be enabled or disabled during playback. I'm glad that's...
`foo_midi uses sound font "C:\Temp\SF-1276.tmp.dls" with bank offset 1.` FluidSynth simply chooses to ignore it. DLS support is 'Limited' according to the Wiki.