Audio Connections In Gnome

Yesterday, Pete Graner, leader of the Ubuntu Kernel Team asked me a question:

Is it possible to route audio from one application into another as an input. As an example, if on a video or audio chat in Empathy, is it possible to route the output of Rhythmbox or Totem into the input for Empathy so the person you are talking to can hear the music?

I had no idea, but I said I would blog it on Planet GNOME to see if this exists. And so, here is my blog. Thoughts?

  • http://www.rcalderon.es Ramón

    I think JACK can do that: “Have you ever wanted to take the audio output of one piece of software and send it to another?” (http://jackaudio.org/)

    I don’t know whether or not JACK needs the applications to support it in some specific way. But I’m quite sure you can find all this info on its website :)

  • http://www.rcalderon.es Ramón

    I think JACK can do that: “Have you ever wanted to take the audio output of one piece of software and send it to another?” (http://jackaudio.org/)

    I don’t know whether or not JACK needs the applications to support it in some specific way. But I’m quite sure you can find all this info on its website :)

  • mrmcq2u

    Yup. There was experimental support for sending pulse audio streams over telepathy. Not sure what the status is right now though.

  • http://theravingrick.blogspot.com Rick Spencer

    This works for me:

    1. Install pulse audio volume control
    2. Go to input tab
    3. Change the drop down at the bottom to All Input Devices
    4. Click the Checkbox next to “Monitor of Internal Audio Analog Stereo”

    Note that this does not mix the input, but lets me choose between my mic and whatever is playing on my ‘puter.

    Cheers, Rick

  • gorkon

    Juust SCREW Pulse and use Jack and Ardour. It’s EASY with Ardour. You know how to use Cubase so you should be able to do it in Ardour.

  • Zeeshan Ali (Khattak)

    Using pulse-audio together with rygel, you can route audio from one computer to another and every app involved could be on the same machine.

  • Zeeshan Ali (Khattak)

    BTW Jono, your blog software makes it very hard for me to comment because I’m allowed to retain the fg color of my theme but not the bg color so I can’t see what I am typing unless/until i hilight it. :)

  • http://augiasamena.com augias

    why would you need to use ardour to route sound from rhythmbox to empathy?

    +1 for jack, though.

  • http://blog.viricmind.org Andreu

    And.. ¿there’s no way to do that like with console tubes (without extra specific software)?

    It would be very interesting.

  • Marco Diego Aurélio Mesquita

    It would be straightforward if gnome used jack instead of pulseaudio.

  • ach1m

    This works with pulseaudio and pavucontrol, but you can’t explicitly choose an app from where the sound should come. You have to use the monitor device.

    http://www.ubuntu-pics.de/bild/50278/screenshot_volume_control_baqrQI.png

    I have tested this with lucid. Switching the recording stream “on the fly” also worked very well for me.

    I hope this was helpful.

    Regards Achim

  • a

    pacat, parec and pavucontrol are what you are looking for.

  • TheGZeus

    ummm… Ardour depends on Jack. …and this comment makes little-to-no sense. Ardour has, by design, nothing to do with your hardware. It’s actually really frustrating.

  • http://dullass.blogspot.com/ Scott Lavender

    Netjack (http://netjack.sourceforge.net/) allows audio connections across a generic IP network.

    It’s already part of the jack-audio-connection-kit (jackd) which is in the main repository as of Lucid.

    Cheers.

  • http://rudd-o.com/ Rudd-O

    Why are people here suggesting JACK? JACK is useless for these kinds of one-off uses. One has to select the right options, start the daemon, and finally suspend all audio from all applications that are using the audio device. Furthermore, JACK does not work with devices that do not have MMAP() and it won’t work with the vast majority of audio applications — not without special configuration, HELLO SKYPE!

    Who wants to waste five minutes’ time when all one wants to do is play twenty to thirty seconds of sound to someone else in the other side of the planet?

    If you just want to do this, parec, pacat and pavucontrol are truly all that you need. Someone ought to do a nice GUI frontend for that.

  • Wolter

    What Rick Spencer said works great for me, but I think that devs should make it so you could do that directly from the gnome-volume-control app, say you got in Input tab: Microphone 1, Microphone 2, and Sound output. Sound output would route the sound output (really?) to the sound input.