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

9th August 2004, 03:49 AM
|
|
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.
|

9th August 2004, 05:40 AM
|
 |
Registered User
|
|
Join Date: Feb 2004
Age: 44
Posts: 8,256

|
|
|
check you volume control center....
|

9th August 2004, 06:38 AM
|
|
Guest
|
|
Posts: n/a

|
|
actual, you need to configure alsa this excellent tutorial worked for my cheap hardware.
|

9th August 2004, 08:57 AM
|
 |
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/
Last edited by ghaefb; 30th August 2004 at 08:44 AM.
|

9th August 2004, 09:05 AM
|
 |
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
|

9th August 2004, 11:35 AM
|
 |
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.
|

9th August 2004, 08:06 PM
|
|
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.
|

9th August 2004, 08:34 PM
|
|
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.
|

9th August 2004, 08:42 PM
|
|
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.
|

9th August 2004, 08:52 PM
|
|
Guest
|
|
Posts: n/a

|
|
|
to make the changes system wide, as root, create the same file but save it as /etc/asound.conf
|

9th August 2004, 11:56 PM
|
|
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.
|

10th August 2004, 12:06 AM
|
|
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]]
|

10th August 2004, 02:16 AM
|
 |
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...
|

30th August 2004, 08:27 AM
|
|
Registered User
|
|
Join Date: Aug 2004
Posts: 1

|
|
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
}
}
|

31st August 2004, 11:14 PM
|
|
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.
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Current GMT-time: 13:08 (Sunday, 19-05-2013)
|
|
 |
 |
 |
 |
|
|