Duke4.net Forums: EDuke32 - How to choose MIDI sequencer in Linux? - Duke4.net Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

EDuke32 - How to choose MIDI sequencer in Linux?

User is offline   Telordya 

#1

I am using openSUSE 11.1 and I built EDuke32 from source. The game run fine with sound and MIDI music. However, the MIDI music quality is not what I expected as I am using a SB Live! with SGM-v2.01 SoundFont. I tried to unload the SoundFont from RAM and there was still music while playing EDuke32. So I suppose EDuke32 uses a software sequencer maybe embedded in SDL.

Is there a way to force EDuke32 to use the hardware MIDI sequencer of my SB Live! instead? I know that with ScummVM or DOSbox you can specify the ALSA sequencer but what about EDuke32?
0

User is offline   TerminX 

  • el fundador

  #2

You can use the "EDUKE32_MUSIC_CMD" environment variable to specify an external program to pass music data to.
0

User is offline   Telordya 

#3

View PostTX, on May 26 2009, 06:19 PM, said:

You can use the "EDUKE32_MUSIC_CMD" environment variable to specify an external program to pass music data to.


What value do I have to put if I want for example use the ALSA MIDI client on port 17:0 ?
0

User is offline   QuisEstRex 

#4

the music pack that comes with HRP4 is as close as it gets to sound like it was intended to be heard by the author L. Jackson; MusicallyInspired made it just as it should of been and no midi soundbank can give you that.

their are a few folks working to improve the midi's by using modern vsts and HQ samples (including myself), but that's not as it were intended and therefore will likely not come instead of MusicallyInspired work...

maybe like the DukePlus mod, it will be added as an alternative, but it's pretty early to say...

p.s. make sure to check out http://forums.3dreal...ead.php?t=34807 if you want the most authentic as it was meant to be heard compilation of the soundtrack... I think only the redbook audio CD surpasses that one...

This post has been edited by QuisEstRex: 27 May 2009 - 08:06 AM

0

User is offline   Rellik 

#5

View PostTelordya, on May 26 2009, 04:32 PM, said:

What value do I have to put if I want for example use the ALSA MIDI client on port 17:0 ?

If I were to hazard a guess without testing, try something like pmidi -p 17:0

I don't know if you need to include the song name variable or not, whatever it is.
0

User is offline   Telordya 

#6

Yeah, I listened to the HRP4 music pack but I still prefer the old vintage midi songs.

For the command, I tried /usr/bin/pmidi -p 17:0, but without success. The songs are still played with the internal SDL player. I checked the code a bit and I see that the value of the env variable EDUKE32_MUSIC_CMD is passed to Mix_SetMusicCMD(), a SDL method. There is not much information about this method on the net. Here's what I found:

http://docs.taoframework.com/Tao.Sdl/Tao.S...etMusicCMD.html

I see that the command has to react to some signals SDL send and that the sound driver has to support multiple openings of the audio device. It's not really clear.
0

User is offline   MusicallyInspired 

  • The Sarien Encounter

#7

For the record, the SC-55 music pack isn't something made by anyone's personal vision of the soundtrack. It's how the game would have sounded if one owned an actual SC-55 MIDI module back in 1996 (which I do) and is how it was meant to be heard. Can't get any more vintage than that :D. Though, if you prefer your own MIDI sounds I guess there's not much one can do about that. But I wouldn't call that "vintage MIDI."

...unless it's FM Synth MIDI of course. I couldn't fault you on that :).

This post has been edited by MusicallyInspired: 27 May 2009 - 08:44 AM

0

User is offline   Telordya 

#8

Wow, this SC-55 musics package is awesome!! Really vintage MIDI at high quality :) When I was saying that I didn't like the HRP music pack, I was referring to the old version I listened in 2008. I didn't know there was a new version with your SC-55 musics. Thanks a lot!

But a final question. How do I install them to get them ingame? I am using Linux. The executables are in /usr/games and original data files are in /usr/local/share/games/eduke32. I don't want to use the graphics part of the HRP, only the musics.
0

User is offline   MusicallyInspired 

  • The Sarien Encounter

#9

View PostTelordya, on May 27 2009, 09:13 PM, said:

Wow, this SC-55 musics package is awesome!! Really vintage MIDI at high quality :) When I was saying that I didn't like the HRP music pack, I was referring to the old version I listened in 2008. I didn't know there was a new version with your SC-55 musics. Thanks a lot!


Lol, that was added about a month or so ago I believe...maybe a little more? Can't remember. Thank you, though.

Quote

But a final question. How do I install them to get them ingame? I am using Linux. The executables are in /usr/games and original data files are in /usr/local/share/games/eduke32. I don't want to use the graphics part of the HRP, only the musics.


In Linux, eDuke32 will also look in your home directory for a hidden folder named ".eduke32" for files to use when it starts up. Inside that folder create a folder called "autoload" and drop the music pack ZIP in there. So your path would look something like this:

/home/<yourusernamehere>/.eduke32/autoload/eduke32_mus.zip
0

User is offline   Hendricks266 

  • Weaponized Autism

  #10

make that:
/home/<yourusernamehere>/.eduke32/autoload/duke3d.grp/eduke32_mus.zip

Poor NAM.
0

User is offline   Telordya 

#11

I tried to put only the eduke32_mus.zip file in ~/.eduke32/autoload/duke3d.grp and it didn't work, it was still the crappy MIDI music. To get the music pack working, I have to include all HRP files (/usr/local/share/games/eduke32/autoload/duke3d.grp works too). That means duke3d_hrp.zip, maphacks.zip and eduke32_mus.zip. If I want to play with classic graphics, I only have to disable hires textures and models in Renderer Setup menu. The music pack remains.

Could we consider that as a bug or just the way it is?
0

User is offline   MusicallyInspired 

  • The Sarien Encounter

#12

View PostHendricks266, on May 28 2009, 06:57 PM, said:

make that:
/home/<yourusernamehere>/.eduke32/autoload/duke3d.grp/eduke32_mus.zip

Poor NAM.


Only if you're using the rest of the HRP, for some odd reason. Using the music pack by itself doesn't need to be in /duke3d.grp/.
0

User is offline   Telordya 

#13

But I tried to put only the music pack in different places and I never got it working. I had to include all HRP files. Do you only use the eduke32_mus.zip file without any other HRP files?
0

User is offline   MusicallyInspired 

  • The Sarien Encounter

#14

Yeah. But actually now that I think about I used my own music pack before it was implemented into the HRP. The HRP version might need the rest I don't know.

Also I noticed in Linux that the Polymer build doesn't check for files in ~/.eduke32/autoload/. No HRP, no music pack or nothing.
0

User is offline   Telordya 

#15

What is the differences between your music pack and the HRP? Is your music pack the one from your signature links? And what is the Polymer build? For my version, I built it myself from eduke32_src_20090131.zip.
0

User is offline   MusicallyInspired 

  • The Sarien Encounter

#16

It's the same music pack with a few differences. The HRP added a few extra songs for the bonus screen themes and stuff like that. So the DEF file is probably different, too.

The Polymer build is the unreleased beta of the new renderer with the advanced dynamic lighting/shadows. That comment was more directed to TX and Plagman, though.
0

User is offline   TerminX 

  • el fundador

  #17

View PostMusicallyInspired, on May 29 2009, 09:03 AM, said:

Yeah. But actually now that I think about I used my own music pack before it was implemented into the HRP. The HRP version might need the rest I don't know.

Also I noticed in Linux that the Polymer build doesn't check for files in ~/.eduke32/autoload/. No HRP, no music pack or nothing.

Autoload is disabled by default now on all platforms, but I haven't added the checkbox to enable it to the GTK based startup window used on Linux.
0

User is offline   Telordya 

#18

Does it mean we could only load the music pack, without HRP? Will it be done for the next releases?
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic


All copyrights and trademarks not owned by Voidpoint, LLC are the sole property of their respective owners. Play Ion Fury! ;) © Voidpoint, LLC

StatCounter - Free Web Tracker and Counter