9

I've looked all over the internet for a clean way to reroute the audio output of my computer (i.e. what I'd hear from the speaker) to my microphone's input.

Possibly, I'd like to do this at low level (e.g. using ALSA).

I'm basically looking for an equivalent of

pacmd move-sink-input #index #sink

that gets some audio input and pipes it to the microphone.

If it's still not clear, my final goal would be, for example to play a video on Youtube and let a friend of mine listen through Skype. I'd like that kind of flexibility.

  • Have you tried jackaudio? – Nick ODell Jul 8 '13 at 23:13
  • no, what's the name of the package (using apt-get)? – blue Jul 8 '13 at 23:22
  • ah, try apt-get install projectm-jack – Nick ODell Jul 8 '13 at 23:29
14

I think you can do this with PulseAudio. I found this tutorial that shows how, titled: Redirect Audio Out to Mic In (Linux).

General Steps

  1. Run the application pavucontrol.

  2. Go to the "Input Devices" tab, and select "Show: Monitors" from the bottom of the window. If your computer is currently playing audio, you should see a bar showing the volume of the output:

                 ss of pauvucontrol #1

  3. Now start an application that can record audio such as audacity and record audio (red point icon in audacity).

  4. In pavucontrol (Volume Control) change to the Recording tab.

  5. Click the input device button ("ALSA Capture from") and pick "Monitor of Internal Audio Analog Stereo")

   ss of pauvucontrol #2

  • all right, I can't mix inputs but apart from that it works flawlessly. Thanks! – blue Jul 9 '13 at 9:11
  • 2
    To mix inputs i think you may need jack. It enables one to tunnel almost any output or input to other places, filters, etc – higuita Jul 9 '13 at 11:56
  • 1
    Thanks, I used it to play Ivona from firefox to TeamSpeak :D – barwnikk Apr 7 '15 at 0:44
  • And how do you stop the output and pipe it to input? I remember I could do that in windows pretty easily, but for example, If i want to output a youtube video's audio track to my mic and mute the video in my speakers, how do you do it? Thanks – octohedron Aug 25 '16 at 9:22
  • @gazta - if you have a new question ask it on the main site. You can reference this question and answer in it saying you want details pertaining to you alternate question. – slm Aug 25 '16 at 11:58

Your Answer

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

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