luciusDXL / XL-Engine

XL Engine
http://xlengine.com/
134 stars 19 forks source link

Midi Playback Support #19

Closed luciusDXL closed 8 years ago

luciusDXL commented 8 years ago

Obviously the engine needs to support Midi playback. Initially the engine will use software synthesis - adding hardware support later (that will be another ticket).

luciusDXL commented 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).

luciusDXL commented 8 years ago

The threading and improved sound support issues are done. All that is remaining in this task are: fluidsynth integration and game specific requirements.

psi29a commented 8 years ago

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

luciusDXL commented 8 years ago

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.