OK, please explain the problem. Please answer my questions.
Do you have ANY sound in your speakers from ANY application?
Do you have ANY sound in your headphones, from ANY application?
Please Note, when testing if you have sound, please copy and paste the following speaker-test into a Gnome terminal or a kde konsole:
speaker-test -Dplug:front -c2 -l5 -twav
Note Linux is case sensitive, and “D” is not the same as “d”. To stop the above test, while the konsole/xterm has the mouse focus, press <CTRL><C> on the keyboard. Note you should check your mixer settings (kmix if using KDE, and alsamixer if using Gnome) to ensure that PCM and Master Volume are set around 95%. Once you have basic sound established you can back off to lower volume levels. Note the test for surround sound is different.
If that test yields errors (and its not uncommon to get errors there), try instead this more simple test: speaker-test -c2 -l5 -twavYou should hear a female voice saying ‘FRONT LEFT’, ‘FRONT RIGHT’ five times. Its quite common that one of those speaker tests will work and one will NOT work, so don’t be distressed if that is the case. IF that test gives sound, stop now, post that the sound test gives sound, and we will look at other possible causes for your applications not giving you the sound you want (such as missing codecs, using the wrong packaged version … etc … ).
Or alternatively, for testing the simple playback, use aplay program. Prepare a WAV file and simply run like:
aplay -vv somefile.wav
With the option -vv, aplay shows the verbose information of the PCM device, and a VU-peak meter during playing the file.
Try those speaker-tests as both a regular user, and also with root permissions. If you have a headset, try with your headset plugged in, and also with your headset not plugged in (for speakers).
If I understand correctly, you wish to have audio coming out of the headphones AND the speaker, at the same time?
Hmmm … typically most Linux (and not just openSUSE) users want the EXACT opposite. They want speaker volume muted when headphones are plugged in. Hence alsa is set up to do exactly that (mute headphones upon speakers being plugged in).
> kc0hwa;2062089 Wrote:
>> I what two Independence sound outs
>> I have dyslexia and digraph ! that Software and chat go to the
>> music player are other sound go to speakers!
> Sorry, I do not understand your english.
I could be wrong, but I think what he’s saying is that he wants to have
two simultaneous sound outputs going. The first would be music, being
played through the speakers. The second would be a text-to-speech
application playing through the headphones.
This actually seems like an ideal use for PulseAudio. It should be able
to take the two sound producing applications and route one to the
speakers while routing the other to the headphones.
If there is a way to do this, I suspect there are two possible ways to go about it.
one might by using pulse audio, as you note; or
another might be by the creation of a custom .asoundrc file in one’s /home/username directory
In either case, this is beyond my current knowledge.
User kc0hwa could try asking this question on IRC channel freenode #alsa . There are sound guru’s who hang out there, and its possible one of them might know how. Typically one has to ask for help at many different times of the day, in order to obtain a good response, as the people who join that chat channel are from all around the world. I typically use the program xchat for accessing IRC chat.
> oldcpu;2062071 Wrote:
>> If I understand correctly, you wish to have audio coming out of the
>> headphones AND the speaker, at the same time?
> I what two Independence sound outs
> I have dyslexia and digraph ! that Software and chat go to the
> music player are other sound go to speakers!
> oldcpu;2062071 Wrote:
>> Hmmm … typically most Linux (and not just openSUSE) users want the
>> EXACT opposite. They want speaker volume muted when headphones are
>> plugged in. Hence alsa is set up to do exactly that (mute headphones
>> upon speakers being plugged in).
So what you need is a sound card with separate output channels. Quite
common in the radio industry. Sort of like using two monitors with
video. You have to have two video outputs to get different screens. So
it is w/audio.
If you don’t have a sound card capable of doing that, you might take a
look at something like the m-audio delta 44. It has four inputs & four
outputs. If you run a stereo signal it will do two in and two out.
Probably many other cards that can do that as well.
Or, of course, you could add another consumer type audio card, and push
the sound for the headphones out of it and the speakers out of your
existing sound card. Or vice-versa.