LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Virtual surround sound (Splitting stereo into more channels) (https://www.linuxquestions.org/questions/linux-software-2/virtual-surround-sound-splitting-stereo-into-more-channels-343047/)

redarrow 07-14-2005 02:47 AM

Virtual surround sound (Splitting stereo into more channels)
 
Hi,

Is there anyway to "split" normal stereo output into more channels?

I am using a C-Media CM8738 5.1 sound card, with the ALSA driver, under Fedora Core 2.
There is no problems with the driver, Using Xine or MPlayer I can experience full 5.1 surround sound without any hastle.
The thing is with normal system sound output like when I use Xmms, I only get stereo
out the front left and right speakers, the rear and center speakers remain quiet, interestingly the sub-woofer does output.

So my question: Can I configure ALSA to output to all channels by default?

Thanks,
redarrow

redarrow 07-14-2005 12:18 PM

Well I've figured most of it out in the meantime,

I just had to add this to my ~/.asoundrc config file:

pcm.!default {
type route
slave.pcm surround51
slave.channels 6
ttable.0.0 1
ttable.1.1 1
ttable.0.2 1
ttable.1.3 1
ttable.0.4 0.5
ttable.1.4 0.5
ttable.0.5 0.5
ttable.1.5 0.5
}

I now get stereo sound playing on all the outputs.

The only problem I have left is that volume control only adjusts the volume on the front left & right speakers :confused:

Anyone have any ideas/suggestions how to fix this?

Thanks


All times are GMT -5. The time now is 07:39 PM.