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?
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,
RicardoEm Quarta, 18 de Janeiro de 2006 11:55, o karx11erx escreveu:
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.
Hi Ricardo,
I did compile SDL_mixer myself and link it to my app, and SDL_mixer calls
timidity on my system, and doesn’t report an error on doing that (it had
reported an error until I had installed the GUS patches timidity needs). Afaik
timidity is included with the SDL_mixer source and gets compiled when making
SDL_mixer.
karx