Unix Technical Forum

Hear multiple sounds at once?

This is a discussion on Hear multiple sounds at once? within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> How do I configure Slackware so I can use gimp and xmms at the same time without blocking /dev/dsp?...


Go Back   Unix Technical Forum > Unix Operating Systems > Slackware Linux Support

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-20-2008, 09:21 AM
Jack Wang
 
Posts: n/a
Default Hear multiple sounds at once?

How do I configure Slackware so I can use gimp and xmms at the same time
without blocking /dev/dsp?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-20-2008, 09:21 AM
Eef Hartman
 
Posts: n/a
Default Re: Hear multiple sounds at once?

Jack Wang <wk1989@yahoo.com> wrote:
> How do I configure Slackware so I can use gimp and xmms at the same time
> without blocking /dev/dsp?


I didn't know gimp used the sound interface....
But the same problem occurs with mozilla/firefox multimedia plugins
(including Shockwave Flash) and xmms (and there is no real solution).
IF (and only if) you've got a brand of soundcard that has two dsp's:
for OSS (2.4 kernels in general): tell xmms to use the alternate sound
device (and fill that in as /dev/dsp1);
for ALSA (2.6 kernels and optionally 2.4 with the alsa drivers pkg):
configure xmms to use "hw:0,1" (which is the same thing).
In both cases you need to explicitly configure THAT plugin.

Then the sound card will MIX "xmms" output with ONE other program
that is still using the default dsp (/dev/dsp cq /dev/dsp0).
But you'll still have the problem with firefox/multimedia and gimp
(or mpg321 or ... ).

But only one program can use hardware like /dev/dsp at the same time,
so others will seem to hang until the first program releases it.
--
************************************************** ******************
** Eef Hartman, Delft University of Technology, dept. EWI/TW **
** e-mail: E.J.M.Hartman@math.tudelft.nl, fax: +31-15-278 7295 **
** snail-mail: P.O. Box 5031, 2600 GA Delft, The Netherlands **
************************************************** ******************
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-20-2008, 09:21 AM
Sahel
 
Posts: n/a
Default Re: Hear multiple sounds at once?

I use a Creativ SBlaser Live! And there's no problems. I can play
everything.
If u are using KDE then try running programs like:
$ artsdsp xmms
it will mix different sources.
or if you are using esd as a sound server:
use like:
$ esddsp xmms

try it i do the same on my other computer...enjoy
d.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-20-2008, 09:21 AM
Miguel De Anda
 
Posts: n/a
Default Re: Hear multiple sounds at once?

Sahel wrote:
> I use a Creativ SBlaser Live! And there's no problems. I can play
> everything.


I also solved this problem a while back by using a sound blaster live.
On newer boards I haven't had to do that anymore.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-20-2008, 09:21 AM
Jack Wang
 
Posts: n/a
Default Re: Hear multiple sounds at once?

Hi, I've tried all methods you guys mentioned, but none seems to work. I
I think it's because all my programs are using Alsa, I used to be able to
hhave multiple sounds on Debian, and that was done by editing a config. I
think what I'll have to do is to set all programs to output through esd,
and configure esd to allow mixing, any ideas how I would do this? Thxx!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 02-20-2008, 09:21 AM
reclusive monkey
 
Posts: n/a
Default Re: Hear multiple sounds at once?

Its much easier to this at a hardware level than a software level. I
would go with the advice of the above psoters and just get a sound
blaster live. I did this sometime back and its bar far the easiest (and
best IMHO) option. You can pick up a soundblaster relatively cheap I
should think.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 02-20-2008, 09:21 AM
Menno Duursma
 
Posts: n/a
Default Re: Hear multiple sounds at once?

On Fri, 17 Jun 2005 20:13:19 -0400, Jack Wang wrote:

> [...] I think what I'll have to do is to set all programs to output
> through esd, and configure esd to allow mixing, any ideas how I would do
> this? Thxx!


You might want to have a look at Jack :
http://jackit.sourceforge.net/

( The AudoSlack project provides Slackware packages. )

--
-Menno.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 02-20-2008, 09:21 AM
Menno Duursma
 
Posts: n/a
Default Re: Hear multiple sounds at once?

On Sat, 18 Jun 2005 10:40:00 +0200, Menno Duursma wrote:

Err.

> You might want to have a look at Jack :
> http://jackit.sourceforge.net/
>
> ( The AudoSlack project provides Slackware packages. )


s/AudoSlack/AudioSlack/

But then: "AudioSlack is being moved to a new server."
http://www.audioslack.com/

Maybe LinuxPackages has it ...
http://www.linuxpackages.net/search_...name&name=jack

--
-Menno.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 06:45 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com