The SDL forums have moved to discourse.libsdl.org.
This is just a read-only archive of the previous forums, to keep old links working.


SDL Forum Index
SDL
Simple Directmedia Layer Forums
No midi playback with SDL_mixer on Linux
karx11erx
Guest

Hi,

I have added midi playback via SDL_mixer to an application I am maintaining. On
Win32, everything works fine, but on my Linux box no midi songs are audible
despite SDL_mixer *not* reporting any errors (the app does exhaustive error
checking on the whole midi functionality). I have found out that SDL_mixer
employs timidity on my Linux box to playback midi. The required GUS patches are
in place and the timidity.cfg file resides in /etc and points to the proper
locations. Yet - no midi sound. I am clueless. Any ideas?
No midi playback with SDL_mixer on Linux
Ricardo Cruz
Guest

Hey karx,

Maybe your distro hasn't compiled SDL_mixer with MIDI support... It seems to
be the case for Suse. Even if you install all the stuff after, you still need
to compile SDL_mixer yourself to enable it.

Try a "ldd /usr/lib64/libSDL_mixer*" (or /usr/lib/libSDL_mixer* for 32-bit
systems) to check if it is really linked against Timidity.

Cheers,
Ricardo

Em Quarta, 18 de Janeiro de 2006 11:55, o karx11erx escreveu:
Quote:
Hi,

I have added midi playback via SDL_mixer to an application I am
maintaining. On Win32, everything works fine, but on my Linux box no midi
songs are audible despite SDL_mixer *not* reporting any errors (the app
does exhaustive error checking on the whole midi functionality). I have
found out that SDL_mixer employs timidity on my Linux box to playback midi.
The required GUS patches are in place and the timidity.cfg file resides in
/etc and points to the proper locations. Yet - no midi sound. I am
clueless. Any ideas?


--
Pohl's law:
Nothing is so good that somebody, somewhere, will not hate it.