Closed luciusDXL closed 8 years ago
This has been partially implemented by integrating Wild Midi. However, while the system can play back midi, more works needs to be done before release - * integrate fluidsynth (for sf2 support), * proper threading, * better sound management (currently is very bare bones).
The threading and improved sound support issues are done. All that is remaining in this task are: fluidsynth integration and game specific requirements.
For those following along, an OPL3 (Sound Blaster 16) soundfont that can be used (CC-BY-SA) is here: http://zandro.freeunixhost.com/opl3/
You can use unsf to extract the soundfont to gus-patches. https://launchpad.net/~tigerfishdaisy/+archive/ubuntu/ppa-fish/ http://alsa.opensrc.org/Unsf
Music playback is essentially complete, barring any game specific functionality I have to add. The XL Engine can now play midi using GUS patches using Wild Midi, Sound Fonts (sf2) using FluidSynth and play back OGG files instead using libvorbis.
Obviously the engine needs to support Midi playback. Initially the engine will use software synthesis - adding hardware support later (that will be another ticket).