New Doom Forums  
midi music not playing - New Doom Forums
Go Back   New Doom Forums > Source Ports > Doom Legacy

Reply
 
Thread Tools Display Modes
Old July 13th, 2004, 09:08 AM   #1
hatred
Guest
 
Posts: n/a
midi music not playing

Linux 2.6.7, ALSA 1.0.5, SB Live! 5.1
when i start llxdoom, with musserver, i don't have music, i want playing music with hardware sequenser... but... Must I load specific SoundFonts? or... I try some parameters for museserver, but it doesn't work. Please help.

PS sorry for my bad english ;-)
  Reply With Quote
Old July 13th, 2004, 02:08 PM   #2
Planky
 
Join Date: Aug 2000
Location: New Zealand
Posts: 1,401
Have you tried the other executable (I forget what it is called...)?
Planky is offline   Reply With Quote
Old July 15th, 2004, 12:52 PM   #3
MR_ROCKET
 
MR_ROCKET's Avatar
 
Join Date: Apr 2001
Location: Somewhere between Space and Time
Posts: 5,187
hey we need a linux guy in here :P
MR_ROCKET is offline   Reply With Quote
Old July 15th, 2004, 02:13 PM   #4
Planky
 
Join Date: Aug 2000
Location: New Zealand
Posts: 1,401
On a sidenote, you may need timidity installed, if you haven't got it.

Last edited by Planky; July 15th, 2004 at 03:17 PM.
Planky is offline   Reply With Quote
Old July 15th, 2004, 03:04 PM   #5
Hurdler
Commander Keen
 
Hurdler's Avatar
 
Join Date: Jul 2000
Location: Montreal, Canada (was Brussels, Belgium)
Posts: 695
In fact, no, he doesn't need the Timidity patch installed because he wants to use the hardware sequencer. Timidity is for playing midi in software (and is available with the lsdldoom executable).

Now, about playing midi in hardware with musserver is something I haven't succeeded yet (I got a patch in the past but couldn't test it at that time ) I could do a big search if really necessary, or try to figure out why it doesn't work, but I'm not a sound specialist
Hurdler is offline   Reply With Quote
Old July 15th, 2004, 07:46 PM   #6
hatred
Guest
 
Posts: n/a
mmm...
lsdldoom use SDL_mixer for sound output, i compile SDL_mixer with native midi support...
his playmus example programm now playing midi on hardware sequencer (i don't include timidity support)... but lsdldoom now.... mmm.... hang (зависает ;-) on startup.

if i find solution for this problem, i send it ;-)

uhhh ;-)
  Reply With Quote
Old July 16th, 2004, 02:41 AM   #7
Pate
Commander Keen
 
Join Date: Jun 2001
Posts: 271
Does lsdlsoom really use SDL Mixer? I think it uses the minimal sound system that comes with SDL. The C++ version does use SDL Mixer.
Pate is offline   Reply With Quote
Old July 16th, 2004, 04:20 AM   #8
smite-meister
 
smite-meister's Avatar
 
Join Date: Dec 2002
Location: Boston, MA
Posts: 572
It does now, I guess Hurdler added it to v1.42.
smite-meister is offline   Reply With Quote
Old July 16th, 2004, 04:36 AM   #9
Hurdler
Commander Keen
 
Hurdler's Avatar
 
Join Date: Jul 2000
Location: Montreal, Canada (was Brussels, Belgium)
Posts: 695
No, I haven't added it to 1.42. It has always been there (at least since 1.40). That's what the HAVE_MIXER=1 flag do and Metzgermeister wrote it.
Hurdler is offline   Reply With Quote
Old July 18th, 2004, 05:00 AM   #10
Hurdler
Commander Keen
 
Hurdler's Avatar
 
Join Date: Jul 2000
Location: Montreal, Canada (was Brussels, Belgium)
Posts: 695
BTW, you might try this as the musserver and see if it works better:
http://sourceforge.net/project/showf...ackage_id=3730
Hurdler is offline   Reply With Quote
Old August 2nd, 2004, 01:07 PM   #11
cogline
Guest
 
Posts: n/a
Thumbs up

If you haven't found a solution yet, here's what you need to do to get musserver working with SBLive:

Install ALSA with sequencer and OSS support.

If you run "musserver -l" you should see something like this:
Code:
Found a midi device of type 0 (EMU10K1 MPU-401 (UART))
Found a midi device of type 0 (Emu10k1 Port 0)
Found a midi device of type 0 (Emu10k1 Port 1)
Found a midi device of type 0 (Emu10k1 Port 2)
Found a midi device of type 0 (Emu10k1 Port 3)
Found a synth device of type 1 (Emu10k1)
Next you must load a soundfont. The SBLive doesn't have any sounds loaded in ROM. Use asfxload (http://www.alsa-project.org/~iwai/awedrv.html) to load your favourite soundfont.

In your configuration file (found in ~/.legacy), set "-t 20 -m -v" as arguments for musserver. In fact, just removing "-u 0" should do the trick. "-u 0" forces musserver to use the first midi device of type 0 that it finds (the MPU-401) and unless you have an external MIDI device you won't hear anything.

Start llxdoom and you should get output similar to this from musserver:
Code:
Starting music server [./musserver -t 20 -m -v ]
Playing music for DOOM II
Using midi device number 5 (Emu10k1 Port 3)
Using midi device number 5 (Emu10k1 Port 3)
musserver: using ./doom2.wad
musserver: ready
Music should now play beautifully..

You can remove the -v musserver argument if things work. It just adds some extra diagnostic output. If things don't work, you can add even more "-v" arguments to get an even more talkative musserver.
  Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Lorcán TNT Music Pack lorcan Resources 238 January 23rd, 2009 09:16 AM
PSX Music fix valo829 Doomsday 4 March 16th, 2008 09:58 AM
Using BP's music in mp3? an_imp Resources 2 May 31st, 2004 05:18 AM
Coupla' Questions... SuperSquawker Resources 18 April 30th, 2004 09:57 AM
Doom Soundtrack 4.0 comming soon Sycraft Doomsday 28 March 27th, 2004 09:18 PM


All times are GMT -7. The time now is 01:50 PM.


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
NewDoom.com © 2000-2009 Mindless Games & Entertainment. All Rights Reserved.