* Is sound in dosemu a myth?
@ 2003-12-26 20:17 JLB
2003-12-27 8:23 ` Eemeli Kantola
0 siblings, 1 reply; 7+ messages in thread
From: JLB @ 2003-12-26 20:17 UTC (permalink / raw)
To: linux-msdos
Okay, gang...
I've used dosemu for years and years... I've used it in Slackware, in Red
Shat (sic), in Debian, and presently I am using it in Fedora Core 1... I
have NEVER, EVER, EVER (!!!) seen sound working.
I'd realllllllllllllly like to use dosemu to play some games. The games
work. But no sound...
Please, please, please help. I've tried everything. I know I sound like a
newbie, but I'm not. I just don't know where to begin. I've edited
dosemu.conf a billion trillion times. Please, please could someone help
me?
--
Jessica L. Blank, Systems Administrator, twu.net
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Is sound in dosemu a myth?
2003-12-26 20:17 JLB
@ 2003-12-27 8:23 ` Eemeli Kantola
2003-12-27 8:36 ` Justin Zygmont
0 siblings, 1 reply; 7+ messages in thread
From: Eemeli Kantola @ 2003-12-27 8:23 UTC (permalink / raw)
To: linux-msdos
JLB wrote:
> I've used dosemu for years and years... I've used it in Slackware, in Red
> Shat (sic), in Debian, and presently I am using it in Fedora Core 1... I
> have NEVER, EVER, EVER (!!!) seen sound working.
>
> I'd realllllllllllllly like to use dosemu to play some games. The games
> work. But no sound...
Have you read doc/sound-usage.txt in dosemu source tree already?
> Please, please, please help. I've tried everything. I know I sound like a
> newbie, but I'm not. I just don't know where to begin. I've edited
> dosemu.conf a billion trillion times. Please, please could someone help
> me?
I've got sound effects working perfectly about everywhere (dosemu 1.3,
kernel 2.6-test9 with ALSA's OSS emulation). Only in some games (ie.
Death Rally) does the sound still lag a bit, but not a big deal.
The biggest problem I am yet to overcome is the MIDI stuff. This is
actually not a dosemu problem, but how do you people get TiMidity synth
working WITH SoundBlaster sound effects at the same time? This needs
some mixing, of course, but I haven't studied ALSA enough yet to do
that. Can this be somehow done with ALSA's dmix plugin, or do I need a
separate sound server of some kind?
-Eemeli
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Is sound in dosemu a myth?
2003-12-27 8:23 ` Eemeli Kantola
@ 2003-12-27 8:36 ` Justin Zygmont
2003-12-27 9:11 ` Eemeli Kantola
2003-12-27 16:02 ` Dave Phillips
0 siblings, 2 replies; 7+ messages in thread
From: Justin Zygmont @ 2003-12-27 8:36 UTC (permalink / raw)
To: Eemeli Kantola; +Cc: linux-msdos
On Sat, 27 Dec 2003, Eemeli Kantola wrote:
> JLB wrote:
> > I've used dosemu for years and years... I've used it in Slackware, in Red
> > Shat (sic), in Debian, and presently I am using it in Fedora Core 1... I
> > have NEVER, EVER, EVER (!!!) seen sound working.
> >
> > I'd realllllllllllllly like to use dosemu to play some games. The games
> > work. But no sound...
>
> Have you read doc/sound-usage.txt in dosemu source tree already?
>
> > Please, please, please help. I've tried everything. I know I sound like a
> > newbie, but I'm not. I just don't know where to begin. I've edited
> > dosemu.conf a billion trillion times. Please, please could someone help
> > me?
>
> I've got sound effects working perfectly about everywhere (dosemu 1.3,
> kernel 2.6-test9 with ALSA's OSS emulation). Only in some games (ie.
> Death Rally) does the sound still lag a bit, but not a big deal.
>
> The biggest problem I am yet to overcome is the MIDI stuff. This is
> actually not a dosemu problem, but how do you people get TiMidity synth
> working WITH SoundBlaster sound effects at the same time? This needs
> some mixing, of course, but I haven't studied ALSA enough yet to do
> that. Can this be somehow done with ALSA's dmix plugin, or do I need a
> separate sound server of some kind?
just out of curiousity, do you get the musical soundtrack, or just the
sound effects?
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Is sound in dosemu a myth?
2003-12-27 8:36 ` Justin Zygmont
@ 2003-12-27 9:11 ` Eemeli Kantola
2003-12-27 16:02 ` Dave Phillips
1 sibling, 0 replies; 7+ messages in thread
From: Eemeli Kantola @ 2003-12-27 9:11 UTC (permalink / raw)
To: linux-msdos
Justin Zygmont wrote:
>>The biggest problem I am yet to overcome is the MIDI stuff. This is
>>actually not a dosemu problem, but how do you people get TiMidity synth
>>working WITH SoundBlaster sound effects at the same time? This needs
>>some mixing, of course, but I haven't studied ALSA enough yet to do
>>that. Can this be somehow done with ALSA's dmix plugin, or do I need a
>>separate sound server of some kind?
>
> just out of curiousity, do you get the musical soundtrack, or just the
> sound effects?
MIDI music, yes. Just not with sound effects at the same time, yet. If I
start dosemu with Timidity server running => midi, no sb effects. And if
not, vice versa. So I'd just like to know if somebody has solved the
problem with a fairly simple trick already, before I start an extensive
study on ALSA and sound mixing.
-Eemeli
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Is sound in dosemu a myth?
2003-12-27 8:36 ` Justin Zygmont
2003-12-27 9:11 ` Eemeli Kantola
@ 2003-12-27 16:02 ` Dave Phillips
1 sibling, 0 replies; 7+ messages in thread
From: Dave Phillips @ 2003-12-27 16:02 UTC (permalink / raw)
To: linux-msdos; +Cc: Justin Zygmont, Eemeli Kantola
Justin Zygmont wrote:
>On Sat, 27 Dec 2003, Eemeli Kantola wrote:
>
>
>
>>The biggest problem I am yet to overcome is the MIDI stuff. This is
>>actually not a dosemu problem, but how do you people get TiMidity synth
>>working WITH SoundBlaster sound effects at the same time? This needs
>>some mixing, of course, but I haven't studied ALSA enough yet to do
>>that. Can this be somehow done with ALSA's dmix plugin, or do I need a
>>separate sound server of some kind?
>>
>>
I use DOSemu with TiMidity on an almost daily basis to run Voyetra's
Sequencder Plus MIDI sequencer. I link ~/.dosemu/run/dosemu-midi to
/dev/snd/midiC1D0, which is the ALSA virtual MIDI module (virmidi). I'm
then able to route the MIDI output to any hardware or software
synthesizer available via the ALSA MIDI patch bay. Most often I utilize
TiMidity loaded with the Fluid soundfont (I like its piano) and simply
attach the first virtual MIDI Out port (there are four by default) to
TiMidity's first MIDI In port (it has two).
I run a small script called tim-synth to invoke TiMidity, it consists of
only these lines :
#!/bin/sh
timidity -iA -B2,8 -c /home/dlphilp/timidity.cfg -Os -EFreverb=0
-EFchorus=0
Of course I chmod'd the script to executable status so I can run it from
my home directory with './tim-synth'. Notice that the reverb and chorus
have been turned off. Btw, my ~/timidity.cfg file consists of only this
line :
soundfont /mnt/dosc/soundfiles/sfonts/FluidR3_20GM.sf2
For those of you who try this, be aware that you *must* make a
connection between the ALSA driver and TiMidity, i.e., it won't happen
by default. If you don't have a graphic patch bay handy (such as the
ALSA MIDI Patch Bay or qjackctl) you can always use ALSA's aconnect
utility. It's easy, just see 'man aconnect' for the details.
Unfortunately I'm not aware of the correct procedure to get emulated
sound fx from DOSemu, but I'm willing to give it a shot. If someone can
point me to a typical game or other appropriate application I'll be glad
to run some tests here. Actually, I've never used DOSemu for any audio
and I'm quite willing to make the attempt.
Might it be possible to route a game's fx to TiMidity's effects instead
of performing them in emulation ? TiMidity's effects aren't all that
great, and they chew up CPU cycles (which is why I normally turn them
off), but maybe that's a shorter route to the goal ? I don't know, I'm
just musing aloud, perhaps Stas can give us more insight.
Btw, using dmix might work if the problem is indeed one of mixing. If
your soundcard doesn't support hardware mixing you'll probably end up
using dmix (if it's the right solution).
Anyway, this is an interesting topic, and I'll try to devote some time
to it over the next week. Also, many thanks again to the DOSemu
developers, it's truly among my favorite Linux software.
Best regards,
Dave Phillips
^ permalink raw reply [flat|nested] 7+ messages in thread
* Is sound in dosemu a myth?
@ 2004-06-02 7:57 JLB
2004-06-02 9:44 ` Clarence Dang
0 siblings, 1 reply; 7+ messages in thread
From: JLB @ 2004-06-02 7:57 UTC (permalink / raw)
To: linux-msdos
I've been using dosemu for years and years-- since the days of Slackware
3.0 and Red Hat 4.2. I have NEVER, _EVER_ gotten sound to work. I have
several machines with Creative Labs sound hardware or 100% compatible, but
I can't for the life of me get dosemu to use it. Linux works fine with it,
for the record.
Can someone PLEASE give me some no-nonsense, no-BS help on actually
getting sound working so I can play some games? :)
(By the by-- if you're going to recommend QEMU or DOSBox, don't. I'm on a
Pentium 133, and I NEED the speed that only DOSemu can offer.)
--Jessica
--
Jessica L. Blank, Systems Administrator, twu.net
Please avoid sending me Word, Excel or PowerPoint attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Is sound in dosemu a myth?
2004-06-02 7:57 Is sound in dosemu a myth? JLB
@ 2004-06-02 9:44 ` Clarence Dang
0 siblings, 0 replies; 7+ messages in thread
From: Clarence Dang @ 2004-06-02 9:44 UTC (permalink / raw)
To: JLB, linux-msdos
On Wed, 2 Jun 2004 05:57 pm, JLB wrote:
> I've been using dosemu for years and years-- since the days of Slackware
> 3.0 and Red Hat 4.2. I have NEVER, _EVER_ gotten sound to work. I have
> several machines with Creative Labs sound hardware or 100% compatible, but
> I can't for the life of me get dosemu to use it. Linux works fine with it,
> for the record.
>
> Can someone PLEASE give me some no-nonsense, no-BS help on actually
> getting sound working so I can play some games? :)
>
You're email seems like dejavu :) but:
1. Sound is supposed to work "out of the box" ever since 1.1.3.6.
2. What applications/games don't work for you?
3. Please produce a log with "xdosemu -D9S -o logfile".
4. Are you running a sound server like artsd?
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2004-06-02 9:44 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-02 7:57 Is sound in dosemu a myth? JLB
2004-06-02 9:44 ` Clarence Dang
-- strict thread matches above, loose matches on Subject: below --
2003-12-26 20:17 JLB
2003-12-27 8:23 ` Eemeli Kantola
2003-12-27 8:36 ` Justin Zygmont
2003-12-27 9:11 ` Eemeli Kantola
2003-12-27 16:02 ` Dave Phillips
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox