ipochto / stratagus

The Stratagus strategy game engine
GNU General Public License v2.0
0 stars 0 forks source link

MIDI #36

Open ipochto opened 2 years ago

ipochto commented 2 years ago

for current SDL_mixer: need to set environment variable SDL_SOUNDFONTS=/usr/share/soundfonts/FluidR3_GM.sf2 ./program

OR switch to another mixer: https://discord.com/channels/780082494447288340/780082494447288344/908649843361189889 https://wohlsoft.github.io/SDL-Mixer-X/

Switch to SDL Mixer X (Or “MixerX” shortly) - An audio mixer library based on the SDL library, a fork of SDL_mixer to enable better MIDI music support. Now war1gus don't convert midi to ogg anymore. So if you need music you need propper midi support. SDL2_mixer has issues with it.