Midi music in Linux?

DXX Rebirth Descent I/II for modern systems, maintains the look and feel of the original. Home Page

Moderator: zico

Post Reply
User avatar
Xamindar
DBB Admiral
DBB Admiral
Posts: 1497
Joined: Sun Jun 06, 2004 2:44 am
Location: California
Contact:

Midi music in Linux?

Post by Xamindar » Thu Apr 24, 2008 5:33 pm

I'm not quite sure what I need to get the music to play in linux these days. I have d1x-rebirth and d2x-rebirth working wonderfully in linux and I thank you so much for that. Last thing to get working for me is the music, I guess mainly the midi in D1. I miss that music so much. D2 I can just use the cd I think.

I need to do more testing on my system to see if I even have midi working. Does D1x-rebirth use timidity? Or is there something else I need to set up for it to work?
Why doesn't it work?
zico
DXX Master
DXX Master
Posts: 229
Joined: Wed Sep 07, 2005 8:11 am

Post by zico » Fri Apr 25, 2008 3:04 am

Hey

For the next version of DXX we are planning a working implementation of SDL_mixer which will not only allow MIDI but also MP§ and OGG playback. Actually this is the last task before the release and I will spend a bit time to make it working properly.
User avatar
Xamindar
DBB Admiral
DBB Admiral
Posts: 1497
Joined: Sun Jun 06, 2004 2:44 am
Location: California
Contact:

Post by Xamindar » Fri Apr 25, 2008 4:13 pm

Wow, that sounds cool

As for timidity, it looks like it is my system. I just don't have it working yet. Well, off I go to read and read until I find out how to get it working.
Why doesn't it work?
User avatar
Xamindar
DBB Admiral
DBB Admiral
Posts: 1497
Joined: Sun Jun 06, 2004 2:44 am
Location: California
Contact:

Post by Xamindar » Sat Apr 26, 2008 4:06 pm

Ok I got midi working and can play midi music in linux now......but d1x-rebirth still doesn't play the music. Does it even work? Or is there a command line switch that can turn it on?
Why doesn't it work?
zico
DXX Master
DXX Master
Posts: 229
Joined: Wed Sep 07, 2005 8:11 am

Post by zico » Sat Apr 26, 2008 4:28 pm

If you have timidity working, you could compile D1X-Rebirth with \"sdlmixer=1\" flag for SCons. Of course you need SDL_mixer installed for this, too. Then MIDI should play already, but it's not finished yet, so please do not expect it completly bug-free. :)
User avatar
Xamindar
DBB Admiral
DBB Admiral
Posts: 1497
Joined: Sun Jun 06, 2004 2:44 am
Location: California
Contact:

Post by Xamindar » Sun Apr 27, 2008 1:26 am

hmmm...I installed it with an ebuild on gentoo..

When I launch the game it spits out \"Using plain old SDL audio\" in the console. Is that right?
Why doesn't it work?
zico
DXX Master
DXX Master
Posts: 229
Joined: Wed Sep 07, 2005 8:11 am

Post by zico » Sun Apr 27, 2008 3:32 am

Ah, I forgot, you need to apply the command-line parameter -sdlmixer when launching the game as well. :)
User avatar
Xamindar
DBB Admiral
DBB Admiral
Posts: 1497
Joined: Sun Jun 06, 2004 2:44 am
Location: California
Contact:

Post by Xamindar » Sun Apr 27, 2008 3:17 pm

oh haha. Thanks! That did it....
Why doesn't it work?
Post Reply