7

I would find it really useful if I could make it so that music I am playing on YouTube in Chrome comes out of speakers, and the sound from other applications comes out of my earphones, so I am wondering if there is a way to get it so that different applications use different sound devices to output? And an easy way of quickly changing which application has which output device assigned to it.

I found another question about this here: Play sound from different applications on different output devices (speakers, headphones) But that question is 2 years old and had no answers, so I decided that I should ask a new question about this.


OS Information:

Description:    Ubuntu 14.10
Release:    14.10
  • As commented on that question, pavucontrol should allow you to do this in the output tab (by application). If not, you would have to use jack . – Panther Apr 14 '15 at 18:46
  • Screenshot - i.stack.imgur.com/gwous.png Assuming that works this comment can be converted to an answer. Configuring jack would be different – Panther Apr 14 '15 at 18:48
  • Of course, I believe you would need more then one sound card as I doubt the average sound card can do both speakers and head phones with 2 apps at the same time . If you have problems you may need to configure jack and you may need to modify some desktop settings and/or a realtime kernel (although in theory the rt patch is no longer needed). – Panther Apr 14 '15 at 18:50
  • @bodhi.zazen: I think that the thing about pavucontrol will work, so could you please convert that into an answer. – user364819 Apr 14 '15 at 19:00
13

It is going to vary with hardware and my guess is that you need 2 separate sound cards or a sound card / mixer capable of such separation.

You can then configure pulseausio to send output to specific locations / cards with pavucontrol , in the playback tab

pavucontrol

One may need to install pavucontrol , either with apt-get or from the software center.

sudo apt-get install pavucontrol

If for some reason, pulseaudio will not do this, jack will, but configuring jack can be overwhelming. If you are new to jack, I suggest Cadence, with is a graphical tool provided as a binary

http://kxstudio.sourceforge.net/Downloads

  • I can confirm pavucontrol works with speakers over bluetooth and headphones over jack with sound from two different browsers. I have only one soundcard and a bluetooth dongle via USB. – bennos Nov 10 '16 at 14:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy