LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   surround sound on a stereo sound card. (https://www.linuxquestions.org/questions/linux-software-2/surround-sound-on-a-stereo-sound-card-646151/)

Lunpa 05-31-2008 10:52 PM

surround sound on a stereo sound card.
 
Hello everyone.

I've had a surround sound set for a while now, and a desktop with a normal stereo sound card, and a partially working surround sound card.

Long story short, I'm not interested in making the surround sound card work.


My surround sound system has an adapter so that rather than plug in the 3 8th inch stereo plugs into a device with 3 8th inch stereo jacks (such as a computer's sound card), it can instead plug the front and rear channels into a pair of RCA mono plugs (the red/white jacks that you'd see on a dvd player or video game system); the center channel is not used in this set up, instead, I press a button on the center speaker, and it produces it's own based on the front and rear stereo channels.

I also have an adapter that splits a single 8th inch stereo plug into a pair of mono RCA jacks (red/white)!




Is it possible to make my stereo sound card function like a surround sound card in software, and then multiplex the surround sound channels onto a single stereo channel, like a dvd player or a video game system would? (and any idea as to how this can be done?)

pinniped 05-31-2008 11:25 PM

"Is it possible to make my stereo sound card function like a surround sound card in software, and then multiplex the surround sound channels onto a single stereo channel, like a dvd player or a video game system would? (and any idea as to how this can be done?)"

Using existing equipment: no

The 'fake' surround sound on your multi-speaker system simply adds a small delay to the signal, attenuates it and mixes it with a tiny bit of the signal from the other channel, and puts it out the back speaker.

To get 'surround' effects with only 2 speakers, provided you have a distinct audio stream for the back speakers, the rear speaker audio is delayed in time with slightly different delays depending on whether the output will be at left channel or right, and the signals are mixed in with the channels. All variations of the ancient 'Phase 4' recordings/mixing of the 1960s and the results are impressive. When you feed such a signal to your faker system the result is probably not as good as on stereo - the sounds coming out the back just become a bigger jumble of noise and interferes with the carefully planned effect that was meant to be achieved with 2 speakers.

Now with modified hardware - can you multiplex several signals onto a single wire? Not with a good amplifier - top quality amplifiers have a pretty good response up to several megahertz. The amplifier's incredible frequency range aside, you will need filters, signal mixers, and a carrier oscillator to achieve what you describe. Better to buy an X.1 surround sound card.

Lunpa 06-01-2008 12:21 AM

I'm confused by your reply, so I'll reiterate:

My so called "fake" surround sound system consists of four satellite speakers, a center speaker, and a sub; it is a normal 5.1 surround sound system.

I have a small adapter which came with the system, which on one end has two 8th inch stereo plugs, and two RCA plugs; the front and back channels from the sound system plug into 8th inch stereo plugs. The red/white RCA plugs from typical a/v things plug into the other side of the adapter. The way I understand it is, the device provides the surround sound channels in a multiplexed form over the stereo plugs.


Also, in case we're rusty on the counting, the above comes to a total of 6 speakers. This is a reasonably modern system, that I purchased about a year ago, not some concoction from the 60's. My surround sound system is a 5.1 surround sound system.


I'm not interested in doing any hacks with hardware (in that, I'm not going to modify anything or make something I don't already have); I'm interested in making one type of currently existing modern technology (my computer) behave like another type of currently existing technology (my wii, dvd player, vcr, whatever).

Lunpa 06-01-2008 12:36 AM

God bless wikipedia, here's a better clarification of what I'd like to do with this:

Is it possible using a normal stereo card to configure alsa to output surround sound in the dolby pro logic 2 format?




http://en.wikipedia.org/wiki/Dolby_Pro_Logic
"Dolby Surround/Pro Logic is based on basic matrix technology. When a Dolby Surround soundtrack is created, four channels of sound are matrix-encoded into an ordinary stereo (two channel) sound track by using phase shift techniques."
(pro logic 2 is the same thing, but with 5.1 surround sound)

knudfl 06-01-2008 10:46 AM

Try these keywords for Google : encode pro logic 2
and...encode pro logic 2 linux
http://www.driverheaven.net/3-d-audi...c-encoder.html
It is not alsa, it is dsp-code, I hope you can find out, how to get it to work.


All times are GMT -5. The time now is 04:43 AM.