Hardware midi in Linux (through pmidi)

Got an idea for OpenTTD? Post it here!

Moderator: OpenTTD Developers

Post Reply
trick
Engineer
Engineer
Posts: 3
Joined: 26 May 2004 01:09

Hardware midi in Linux (through pmidi)

Post by trick »

Hello. I was able to use hardware midi through pmidi in Linux by changing the define in extmidi.c to "/usr/bin/pmidi". One problem though, it only plays the midi once (no looping), but that's not a problem in-game. Anyway, it'd be nice if it was possible to do this without hacking the source code. A config file option would be great; there are other midi players out there, and they're not always located in /usr/bin.

Great work, btw =)

- G
Bjarni
Tycoon
Tycoon
Posts: 2088
Joined: 08 Mar 2004 13:10

Post by Bjarni »

I added the flag MIDI to makefile, so you can choose the path there. It's saved in makefile.config too
So far it's in the svn version only. Go ahead and try it out :wink:
Post Reply

Return to “OpenTTD Suggestions”

Who is online

Users browsing this forum: No registered users and 26 guests