Audio – How to Pipe Audio Output to Mic Input

alsaaudio

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.

Best Answer

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

Related Question