Softsynth integrated (FluidSynth)

Hi all,

In the last few days, I integrated the FluidSynth library with our own MidiKit. It seems to work good when I test with MidiSynth on Haiku.
Though I had to download a GM soundbank for this (I used sYnerGi-8Mb.sf2).

All midi kit is now included on the Haiku image. Hopefully some of you can test and find bugs on the midi/midi2 kit. Feel free to submit them on our Bugzilla.

Bye,
Jérôme

Korli wrote:
In the last few days, I integrated the FluidSynth library with our own MidiKit. It seems to work good when I test with MidiSynth on Haiku

Nice work Korli!

Hi Korli,
Trying to get some midi functionality here without success. Am using latest official Haiku build with a SB Audigy soundcard. Whenever I try to drop a midi file on the midi player it crashes with the following output:

GNU gdb 6.3
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i586-pc-haiku"…(no debugging symbols found)

Thread 191 caused an exception: Segment violation
Reading symbols from /boot/beos/system/lib/libbe.so…(no debugging symbols found)…done.
Loaded symbols for /boot/beos/system/lib/libbe.so
Reading symbols from /boot/beos/system/lib/libmidi.so…(no debugging symbols found)…done.
Loaded symbols for /boot/beos/system/lib/libmidi.so
Reading symbols from /boot/beos/system/lib/libmidi2.so…
(no debugging symbols found)…done.
Loaded symbols for /boot/beos/system/lib/libmidi2.so
Reading symbols from /boot/beos/system/lib/libroot.so…done.
Loaded symbols for /boot/beos/system/lib/libroot.so
Reading symbols from /boot/beos/system/lib/libstdc++.r4.so…done.
Loaded symbols for /boot/beos/system/lib/libstdc++.r4.so
Reading symbols from /boot/beos/system/lib/libmedia.so…done.
Loaded symbols for /boot/beos/system/lib/libmedia.so
Reading symbols from /boot/beos/system/lib/libfluidsynth.so…done.
Loaded symbols for /boot/beos/system/lib/libfluidsynth.so

[Switching to team /boot/beos/apps/MidiPlayer (181) thread MIDI Player (191)]
0x005d79a0 in fluid_synth_set_gain ()
from /boot/beos/system/lib/libfluidsynth.so
(gdb)

Occasionally I get a “Could not load” error depending on the type of midi file (I guess) I’m trying to load.

Can you help?

Thanks

El-Al

El-Al, you might want to post this on the Haiku bugzilla, which e-mails the appropriate devs when a new bug report is submitted. It also helps us keep track of known bugs.

…or some kind of installation fault. Some pretty weird stuff happening on my BeOS machine over the last couple of weeks! Even vanilla R5 installs have been giving me grief and thats something I’ve NEVER experienced.

Anyhow, I no longer get the same error, but still no closer to kickstarting fluidsynth. Could sure do with some simple setup instructions…if there are any :o)

El-Al wrote:
Anyhow, I no longer get the same error, but still no closer to kickstarting fluidsynth. Could sure do with some simple setup instructions....if there are any :o)

Did you actually install a SoundFont at /boot/beos/etc/synth/big_synth.sy ?

The Audigy isn’t needed.

Korli wrote:

Did you actually install a SoundFont at /boot/beos/etc/synth/big_synth.sy ?

The Audigy isn’t needed.

Ah! Actually I was placing the SoundFont in beos/etc/synth as that seemed to me to be a logical place at the time…doh!

Thanks for the info though