FedoraThis forum is for the discussion of the Fedora Project.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have an on-board Intel AC'97 soundcard... (Corp. 82801EB/ER ICH5/ICH5R AC'97 Audio Contoller to be exact...). Anyway, I figured out that if I turn down the PCM volume, my sound quality is better (clearer). However, I've noticed that while using XMMS, or any other music player, I can only get sound from that program. For example, if I am using XMMS to play music, the sounds on Gaim do not function. After searching through this forum and several others, I have come to the conclusion that this is due to the fact that I don't have multi channel sound. I have found no resolution for this issue, and was wondering if anyone knows of a way to set up multi channel sound. Is my only solution to use a better quality PCI soundcard instead of the on-board one? Thank you.
---> 'if I turn down the PCM volume, my sound quality is better '
Sound quality for onboard audio is rarely ideal
---> 'I can only get sound from that program'
Can't help you here, however I remember seeing solutions for this in the forums.
There is apparently an easy way to add apps to a list that can share the audio.
---> 'I have come to the conclusion that this is due to the fact that I don't have multi channel sound'
I don't agree
---> 'Is my only solution to use a better quality PCI soundcard instead of the on-board one?'
This is not your problem, but should improve your sound quality.
i was thinking that your problem is not really "multi channel sound" per se. More, you are having problems with applications sharing the sound instead. There is a way (i refer up to ubernuts post) to have multiple programs all accessing the audio, but off the top of my head i dont recall what it was (not even sure if i have the same problem, as i hate desktop sounds personally...)
Thanks liquid. I still have some questions for you, or anyone who can help. How do I go about creating this file ? Just make a new text document ? Also, after creating the file, where should it be placed ?
Last edited by mreinecker; 03-20-2005 at 06:45 PM.
probably the easiest way is to open a terminal (eg. xterm or konsole), and use an editor like vi
eg:
vi ~/.asoundrc
(the preceding ~/ means the current user's home directory)
press "i" for insert
select the text above using your mouse (this automatically copies the selected text to your clipboard)
and the click the middle mouse button in the terminal window to paste the contents.
to save the file and exit, press
ESC :wq ENTER (5 separate keypresses)
to make sure the file has been created type
ls -la | grep asound
and to examine its contents try something like:
cat .asoundrc
or
less .asoundrc
Originally posted by liquidtenmilion if you are using alsa(you should be)
then create a ~/.asoundrc file that has the contents of:
and you should be able to play multiple alsa sounds at the same time.
I just did this and solved a problem that has been annoying me forever. Why is something this easy not done automatically when installing ALSA?
I never even thought about it before personally. after reading this thread I went and read the alsa documentation about using dmix, and after a bit of fiddling and whatnot, lo and blow holes, I can listen to mplayer, alsaplayer, xmms, and my own humming all at the same time! yeah!
funny how i didnt even think about it until someone else had the problem... Then it became an obsession to get it to work on my system.
however, I still cannot have music playing while I play quake3, which kinda sucks. anyone know if there is some way to have quake3 play nice with dmix so i can listen to music at the same time?
Oss programs have problems with dmix(mainly, dmix doesn't affect it)
You can try it by using *aoss quake3command*(note type in the command for quake 3 which i don't know not actually quake3command)
but that might not work. If it does they YAY!!!(install the package alsa-oss first)
if it doesnt then you can try artsdsp quake3command which will work, but it might cause sound lag.(just tell arts to use alsa, which i think it does by default if its there.)
if the lag bothers you, then there is nothing really you can do besides buying a soundblaster live soundcard.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.