Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 9th August 2004, 03:49 AM
sebb Offline
Registered User
 
Join Date: Feb 2004
Location: Quebec, Canada
Age: 26
Posts: 12
Play more than one sound at the time?

I had Alsa 1.0.5, and now I have the latest CVS of it and I still have the same problem: "Just one application at the time is able to play sounds"

I use FC 2.

Can anybody help me with that?
__________________
- Seek my Song
Find that song you can't get out of your head.
Reply With Quote
  #2  
Old 9th August 2004, 05:40 AM
imdeemvp's Avatar
imdeemvp Offline
Registered User
 
Join Date: Feb 2004
Age: 44
Posts: 8,256
check you volume control center....
__________________
HELP with JAVA, MP3's, Wireless, Repo's, YUM, Partitions, System Monitors, Nvidia, ATI drivers, LIMEWIRE PRO & MORE!.

Easiest and most friendly desktop ever is PCLinuxOS! Includes all this apps. Just try it.

"The greater the struggle THE greater the achievment."

Do you know HIM?

If you are an idiot click here. NThis will test you linux skills :D
Reply With Quote
  #3  
Old 9th August 2004, 06:38 AM
superbnerd
Guest
 
Posts: n/a
actual, you need to configure alsa this excellent tutorial worked for my cheap hardware.
Reply With Quote
  #4  
Old 9th August 2004, 11:35 AM
Harryc's Avatar
Harryc Offline
Registered User
 
Join Date: Jun 2004
Posts: 715
Quote:
Originally Posted by superbnerd
actual, you need to configure alsa this excellent tutorial worked for my cheap hardware.
Interesting article...I'd like to give it a try. One small problem, I do not have a ~/.asoundrc file on my system. FC2 2.6.7-1.494.2.2 , Is anyone else missing this file? My sound otherwise works fine.
Reply With Quote
  #5  
Old 9th August 2004, 08:06 PM
sebb Offline
Registered User
 
Join Date: Feb 2004
Location: Quebec, Canada
Age: 26
Posts: 12
I recently had an onboard sound card and I had this problem.

But now, I have a SB Audigy LS sound card with the same problem, so I think it's not a problem related to the sound card.

I'll read the article at http://fedoranews.org/contributors/andre_costa/alsa/, it seems intesresting.
__________________
- Seek my Song
Find that song you can't get out of your head.
Reply With Quote
  #6  
Old 9th August 2004, 08:34 PM
sebb Offline
Registered User
 
Join Date: Feb 2004
Location: Quebec, Canada
Age: 26
Posts: 12
I the instructions, when I try to play something with the aplay -Dplug:swmixer soundfile command, I get a bizarre and anoying noise of distortion.
__________________
- Seek my Song
Find that song you can't get out of your head.
Reply With Quote
  #7  
Old 9th August 2004, 08:42 PM
sebb Offline
Registered User
 
Join Date: Feb 2004
Location: Quebec, Canada
Age: 26
Posts: 12
Oups, I think it might be important for you to help me to have the content of my /home/sebb/.asoundrc:

pcm.!default {
type plug
slave.pcm "swmixer"
}

pcm.swmixer {
type dmix
ipc_key 1234
slave {
pcm "hw:0,0"
period_time 0
period_size 1024
buffer_size 4096
rate 44100
}
}

That's it, the only thing that comes to my mind is the permissions on that file. Do it have to be readable and writable by the user?
__________________
- Seek my Song
Find that song you can't get out of your head.
Reply With Quote
  #8  
Old 9th August 2004, 08:57 AM
ghaefb's Avatar
ghaefb Offline
Retired Community Manager
 
Join Date: Apr 2004
Location: Slovenia
Age: 30
Posts: 1,713
What kind of sound card are you using? (onboard or pci)
I guess your sound card doesn't support hardware sound mixing...
Most of onboard sound cards have poorly supported drivers.
Usually only sound works... and nothing else(line-in, mic, sound mixing,...)

Sound cards like Creative SoundBlaster Live don't have problems with sound mixing in Linux.
You should ge one of those
This is one way..

The other way is: software sound mixing -> http://fedoranews.org/contributors/andre_costa/alsa/
__________________
_ghaefb


blog & sysinfo

Last edited by ghaefb; 30th August 2004 at 08:44 AM.
Reply With Quote
  #9  
Old 9th August 2004, 09:05 AM
imdeemvp's Avatar
imdeemvp Offline
Registered User
 
Join Date: Feb 2004
Age: 44
Posts: 8,256
that is what i use a Creative SoundBlaster 16 pci and no problems what so ever
__________________
HELP with JAVA, MP3's, Wireless, Repo's, YUM, Partitions, System Monitors, Nvidia, ATI drivers, LIMEWIRE PRO & MORE!.

Easiest and most friendly desktop ever is PCLinuxOS! Includes all this apps. Just try it.

"The greater the struggle THE greater the achievment."

Do you know HIM?

If you are an idiot click here. NThis will test you linux skills :D
Reply With Quote
  #10  
Old 9th August 2004, 08:52 PM
superbnerd
Guest
 
Posts: n/a
to make the changes system wide, as root, create the same file but save it as /etc/asound.conf
Reply With Quote
  #11  
Old 9th August 2004, 11:56 PM
sebb Offline
Registered User
 
Join Date: Feb 2004
Location: Quebec, Canada
Age: 26
Posts: 12
Yes, but like I said, the aplay -Dplug:swmixer soundfile command doesn't work properly because I get an anoying noise instead of the sound file I asked
__________________
- Seek my Song
Find that song you can't get out of your head.
Reply With Quote
  #12  
Old 10th August 2004, 12:06 AM
superbnerd
Guest
 
Posts: n/a
it works for me. have you tried testing multiple instances xmms (you will have to enable that option) and playing different songs? if so, alsa is setup correctly and you just need to adjust your settings for aplay. If you read the man pages for aplay, they say you can specify the file to play:
Code:
aplay [flags] [filename [filename]]
Reply With Quote
  #13  
Old 10th August 2004, 02:16 AM
ogetbilo's Avatar
ogetbilo Offline
RPMFusion Dev
 
Join Date: May 2004
Location: PA
Age: 34
Posts: 466
I did what it says in the article
and I too get that bizarre noise when I try the aplay.
(xmms doesn't work at all)
__________________
oget, the "Pulse against"

Thnigs that rule: Angelina, TKT, Linux, Supergravity, Alcohol...
Reply With Quote
  #14  
Old 30th August 2004, 08:27 AM
nman64 Offline
Registered User
 
Join Date: Aug 2004
Posts: 1
Lightbulb Sound

You may need to tinker in your config file to find the right rates. Sometimes, the default sound rates (or other values) will cause problems with cards. For example, I have two sound cards, and one of them works great with the typical settings, but one (my Extigy USB card) requires a higher sound rate, or it sounds very distorted. It requires 48000 hz. Adjusting the values in your setup may help you find the right combination for your card. Below is my two-card configuration.

pcm.!default {
type plug
slave.pcm "dmixer"
}

ctl.!default {
type hw
card 1
}

pcm.usb-audio {
type plug
slave.pcm "dmixer"
}

ctl.usb-audio {
type hw
card 1
}

pcm.dsp0 {
type plug
slave.pcm "dmixer"
}

ctl.mixer0 {
type hw
card 0
}

pcm.dmixer {
type dmix
ipc_key 1024
slave {
pcm "hw:0,0"
period_time 0
period_size 1024
buffer_size 4096
rate 44100
}
bindings {
0 0
1 1
}
}

pcm.emixer {
type dmix
ipc_key 1024
slave {
pcm "hw:1,0"
period_time 0
period_size 1024
buffer_size 4096
rate 48000
}
bindings {
0 0
1 1
}
}
Reply With Quote
  #15  
Old 31st August 2004, 11:14 PM
asun Offline
Registered User
 
Join Date: Dec 2003
Location: Vancouver, BC
Posts: 167
This webpage might be a bit clearer:

http://www.alsa-project.org/alsa-doc...odule=intel8x0

Note that this is specifically for nforce chipset which I use.

If you want to try out aplay, simply type :
> aplay <wav filename>
since you have already specified that the default is the dmix component.
For xmms, select the default should enable mixing for you.

With this .asoundrc, I can have rhythmbox, xmms, mplayer, gaim, amsn etc mix their sounds at the same time.

Hope this help.

Asun

Last edited by asun; 31st August 2004 at 11:18 PM.
Reply With Quote
Reply

Tags
play, sound, time

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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
sound card detected but can't play test sound and any other sound pliu59 Hardware & Laptops 25 1st June 2010 12:35 AM
Sound doesn't play Indian Using Fedora 2 13th August 2009 09:08 PM
can not play sound myname74119 Hardware & Laptops 0 29th July 2007 12:56 PM
can't play sound myname74119 Hardware & Laptops 6 21st January 2007 09:35 AM
CD ROM doesn't play sound Isardor Using Fedora 5 13th May 2005 05:56 AM


Current GMT-time: 08:16 (Friday, 24-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat