No music in SDL port of lxDoom

I just can’t figure out how to enable the music. I can play midi’s
with the playmus example with the mixer lib. The sound works fine
with lxdoom. The docs don’nt mention any command line switches. SDL
lxdoom does’nt need the music server does it? It is also making temp
midi files in my /tmp folder, but it just won’t play them.

Phoenix Kokido
members.xoom.com/kokido
@Wes_Poole

I just can’t figure out how to enable the music. I can play midi’s
with the playmus example with the mixer lib. The sound works fine
with lxdoom. The docs don’nt mention any command line switches. SDL
lxdoom does’nt need the music server does it? It is also making temp
midi files in my /tmp folder, but it just won’t play them.

Do you have the timidity patch files installed?
Check out the mixer page:
http://www.devolution.com/~slouken/SDL/projects/mixer/

See ya!
-Sam Lantinga (slouken at devolution.com)

Lead Programmer, Loki Entertainment Software–
“Any sufficiently advanced bug is indistinguishable from a feature”
– Rich Kulawiec

Yes I have patches installed, and the path to them is specified in my
timidity.cfg (I installed them for Kmidi). It works fine with
playmus, but does’nt work in lsdldoom. Where does the timidity.cfg
need to be, I have copies in the ~.lxdoom directory, /usr/bin,
/usr/lib, where the mixer is located.

Phoenix Kokido
members.xoom.com/kokido
@Wes_Poole

Sam Lantinga wrote:> > I just can’t figure out how to enable the music. I can play midi’s

with the playmus example with the mixer lib. The sound works fine
with lxdoom. The docs don’nt mention any command line switches. SDL
lxdoom does’nt need the music server does it? It is also making temp
midi files in my /tmp folder, but it just won’t play them.

Do you have the timidity patch files installed?
Check out the mixer page:
http://www.devolution.com/~slouken/SDL/projects/mixer/

See ya!
-Sam Lantinga (slouken at devolution.com)

Lead Programmer, Loki Entertainment Software

“Any sufficiently advanced bug is indistinguishable from a feature”
– Rich Kulawiec

Yes I have patches installed, and the path to them is specified in my
timidity.cfg (I installed them for Kmidi). It works fine with
playmus, but does’nt work in lsdldoom. Where does the timidity.cfg
need to be, I have copies in the ~.lxdoom directory, /usr/bin,
/usr/lib, where the mixer is located.

/usr/local/lib/timidity/

Suggestions?

-Sam Lantinga				(slouken at devolution.com)

Lead Programmer, Loki Entertainment Software–
“Any sufficiently advanced bug is indistinguishable from a feature”
– Rich Kulawiec

The official Debian timidity package uses /etc/timidity.cfg.

It would probably be a good idea to try several directories
(current, /etc, /usr/local/etc, /usr/local/lib/timidity/, …),
possibly overrideable by an environment variable (SDL_TIMIDITY ?).

MarkusOn 27-Dec-1999 Sam Lantinga wrote:

Yes I have patches installed, and the path to them is specified in my
timidity.cfg (I installed them for Kmidi). It works fine with
playmus, but does’nt work in lsdldoom. Where does the timidity.cfg
need to be, I have copies in the ~.lxdoom directory, /usr/bin,
/usr/lib, where the mixer is located.

/usr/local/lib/timidity/

Suggestions?

  -Sam Lantinga                           (slouken at devolution.com)

Lead Programmer, Loki Entertainment Software

“Any sufficiently advanced bug is indistinguishable from a feature”
– Rich Kulawiec

---- Markus F.X.J. Oberhumer <@Markus_F.X.J_Oberhum> ----
---- http://wildsau.idv.uni-linz.ac.at/mfx/ ----
---- 5E CB 5C 85 DE AF 9E BF E9 DA 7E 6A 39 F8 CC 67 ----

                         3 WARPS TO URANUS

I finally figured out, their was a define to enable MIDI playback via
the mixer buried in l_sound_sdl.c. I enabled that and linked in the
mixer (and chaged the fade in and fade out to play and stop, I guess I
got an old mixer), and now except for the fact that it does’nt loop it
works fine. Was autoconf supposed to find the mixer and enable it or
was un commenting that define the only way to do it?

Phoenix Kokido
members.xoom.com/kokido
@Wes_Poole

Markus F.X.J. Oberhumer wrote:> The official Debian timidity package uses /etc/timidity.cfg.

It would probably be a good idea to try several directories
(current, /etc, /usr/local/etc, /usr/local/lib/timidity/, …),
possibly overrideable by an environment variable (SDL_TIMIDITY ?).

Markus

On 27-Dec-1999 Sam Lantinga wrote:

Yes I have patches installed, and the path to them is specified in my
timidity.cfg (I installed them for Kmidi). It works fine with
playmus, but does’nt work in lsdldoom. Where does the timidity.cfg
need to be, I have copies in the ~.lxdoom directory, /usr/bin,
/usr/lib, where the mixer is located.

/usr/local/lib/timidity/

Suggestions?

  -Sam Lantinga                           (slouken at devolution.com)

Lead Programmer, Loki Entertainment Software

“Any sufficiently advanced bug is indistinguishable from a feature”
– Rich Kulawiec

---- Markus F.X.J. Oberhumer <markus.oberhumer at jk.uni-linz.ac.at> ----
---- http://wildsau.idv.uni-linz.ac.at/mfx/ ----
---- 5E CB 5C 85 DE AF 9E BF E9 DA 7E 6A 39 F8 CC 67 ----

                         3 WARPS TO URANUS

I finally figured out, their was a define to enable MIDI playback via
the mixer buried in l_sound_sdl.c. I enabled that and linked in the
mixer (and chaged the fade in and fade out to play and stop, I guess I
got an old mixer), and now except for the fact that it does’nt loop it
works fine. Was autoconf supposed to find the mixer and enable it or
was un commenting that define the only way to do it?

autoconf was supposed to detect it. It sounds like you don’t have the
latest touted mixer library. :slight_smile:

-Sam Lantinga				(slouken at devolution.com)

Lead Programmer, Loki Entertainment Software–
“Any sufficiently advanced bug is indistinguishable from a feature”
– Rich Kulawiec