Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I just bought a bluetooth stereo speaker and I had an idea:

Is it possible to build a 4.0 audio system using my Bluetooth speakers as rear speaker and two normal cabled stereo speakers (or another pair of bluetooth speakers) as front? Which program I have to use?

In general: is it possible to split a 4.0 or 5.1 signal in the single channels and send them to multiple devices?

share|improve this question
    
It would be neat but I doubt it. I'd recommend digging deeper into pulseaudio. –  con-f-use Aug 20 '12 at 15:43
    
Even if this was possible, wouldn't the different sets of speakers be in different sync, due to differences in chipset latencies and especially over bluetooth? You would hear a kind of echo, I presume. –  taneli Aug 28 '12 at 10:52

3 Answers 3

You can use a package called Jack. What it lets you do is pipe the outputs from the source, into whatever channels on whatever devices you want.

sudo apt-get jack2d jack-tools qjackctl

jack2d: is the more recent version of Jack

jack-tools: more stuff for jack

qjackctl: GUI

After installation use qjackctl to pull up the GUI.

Examples of things you can do with jack;

  • Pipe audio from one source to all devices for synced audio.
  • Send the Left channel to both channels of a pair of speakers, and the right to a different pair

The possibilities are pretty endless. Here is a picture from the help page for Jack

On the left, you can see your output sources, and on the right are the devices you can output to.

enter image description here

Here is a picture of 3 LR audio sources where 2 of them are pipe to 1 speaker,

and the other source to the other speaker. enter image description here

share|improve this answer

I got it to work by combining the advice from this thread http://forums.gentoo.org/viewtopic-t-859769-start-0.html and this article. http://confignewton.com/?p=211

from the confignewton article, do what it says about commenting out the module-udev-detect and module-detect lines in both default.pa and system.pa

next, I added this to default.pa:

### Load audio drivers statically
### (it's probably better to not load these drivers manually, but instead
### use module-udev-detect -- see below -- for doing this automatically)
load-module module-alsa-sink sink_name=rear device=hw:0 channels=2 channel_map=rear-left,rear-right tsched=0
load-module module-alsa-sink sink_name=front device=hw:1 channels=2 channel_map=front-left,front-right tsched=0

At the end of default.pa, I added a line similar to what is talked about in the gentoo thread:

load-module module-combine channels=4 channel_map=front-left,front-right,rear-left,rear-right

EDIT: I've added "tsched=0" to the end of each of those static declarations. It really helps with both echoing and crackling.

share|improve this answer

strictly speaking no. a single sound card processes the data synch's all the channels and makes front left x% stronger and rear right x% weaker so that the explosion on the front left of the screen sounds right. or the reverse when a jet flies over from the rear.

you can make a psudo setup but if you want good sound get a proper card and speakers. a well equiped and setup system can sound amaizing. I got an omega sound card for the wifes pc because she watches a lot of dvd's even on the cheezy speakers we have it sounds decent. when I got that omega I was quite suprised how much a difference a good sound card makes. I was used to the creative labs audigy.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.