LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-18-2004, 06:18 AM   #1
sys7em
Member
 
Registered: Oct 2004
Location: Germany
Distribution: Slackware
Posts: 158

Rep: Reputation: 30
Can't get multiple sounds to work ...


Here's my issue. I'm playing song with xmms and sim (simple instant messenger ... somethin' like licq) is working at the same time. When I receive a msg from sim none of the sim system sounds is played at all. I stop xmms and all these system sounds from sim are being played with delay ..... So ..how can I fix these two apps's sounds (and all other sounds in linux) to work at the same time ..?
 
Old 10-18-2004, 07:45 AM   #2
ilikejam
Senior Member
 
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 97
Hi.

If you can, use ALSA instead of OSS in your apps - ALSA supports multiple programs at the same time. If your apps don't support alsa, they may support esd or arts. If so use one of those. If that's not an option, try running your apps as:
Code:
artsdsp sim
and
Code:
artsdsp xmms
artsdsp can mix the output from several programs so that you can hear them at the same time.

Dave
 
Old 10-18-2004, 01:19 PM   #3
sys7em
Member
 
Registered: Oct 2004
Location: Germany
Distribution: Slackware
Posts: 158

Original Poster
Rep: Reputation: 30
First of all. Thanks for your answer. I'll try that ..but in sim the sounds are played simply with the command "play" . How can I tell play to use the alsa sound output?
 
Old 10-18-2004, 04:25 PM   #4
ilikejam
Senior Member
 
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 97
Hmmm.

On my system (which is using alsa with oss emulation), I can have several instances of 'play' running at the same time, so it would appear that if alsa is being used (with oss emulation, and not oss itself), then you shouldn't be having the problem you're having.

Could you post the output from lsmod to see which sound modules are in use?

Edit: I've just read the 'diary' bit on your website, and you seem to be running alsa. You might have to turn on OSS emulation. You might have to remove the oss modules too. That's the only thing I can think which might be wrong.

Dave

Last edited by ilikejam; 10-18-2004 at 04:29 PM.
 
Old 10-18-2004, 09:48 PM   #5
Bernoulli
LQ Newbie
 
Registered: Oct 2004
Distribution: Slackware
Posts: 4

Rep: Reputation: 0
use esound sound server (for NonKDE) or arts (KDE) .
in case of you choose esound - use esdplay to mix wavs (not play command).
in case of arts - use artsplay .
f_ck , i've forgotten english ...
to use alsa drivers or use alsaconf or load by hand snd-* modules (ususally placed at /lim/modules/$KERNEL_VERSION/asound ... AFAIK)

Last edited by Bernoulli; 10-18-2004 at 09:50 PM.
 
Old 10-19-2004, 02:25 PM   #6
sys7em
Member
 
Registered: Oct 2004
Location: Germany
Distribution: Slackware
Posts: 158

Original Poster
Rep: Reputation: 30
It worked ... cool ..Thanks ya'all

Last edited by sys7em; 10-19-2004 at 02:40 PM.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Playing multiple sounds: does /dev/dsp work? WRSpithead Linux - General 1 07-19-2005 10:17 PM
multiple sounds bozaker Linux - Newbie 1 04-29-2004 10:13 PM
multiple sounds not possible jods Linux - Hardware 5 04-19-2004 02:12 AM
multiple sounds at one time zbrox Mandriva 2 04-14-2004 07:51 AM
multiple sounds evilRhino Linux - Newbie 1 10-31-2002 06:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:26 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration