Difference between revisions of "pulseaudio virtual sinks"

From thelinuxwiki
Jump to: navigation, search
 
Line 15: Line 15:
 
  pactl load-module module-loopback sink=Virtual2
 
  pactl load-module module-loopback sink=Virtual2
  
Next I opened PulseAudio Volume Control (pavucontrol)
+
Next I opened PulseAudio Volume Control  
 +
 
 +
==pavucontrol==
  
 
These are my settings. I typed them in the order they appear. Numbers go from up to down.
 
These are my settings. I typed them in the order they appear. Numbers go from up to down.
  
    Recording tab:
+
===Recording tab===
        Applications:
+
 
            All applications should input from your headset/microphone.
+
Applications:
            Except the application(s) you want to send the audio to should be set to one of the following. If you ONLY want to send the audio: Monitor of Null Output 1. It will be the first "Null Output" in the list. If you want to send both the audio and your voice: Monitor of Null Output 2. It will be the second "Null Output" in the list.
+
 
         Virtual Streams:
+
All applications should input from your headset/microphone.
 +
 
 +
Except the application(s) you want to send the audio to should be set to one of the following. If you ONLY want to send the audio: Monitor of Null Output 1. It will be the first "Null Output" in the list. If you want to send both the audio and your voice: Monitor of Null Output 2. It will be the second "Null Output" in the list.
 +
          
 +
Virtual Streams
 
             Loopback to Null Output (1): Your headset/microphone
 
             Loopback to Null Output (1): Your headset/microphone
 
             Loopback to your headset/microphone: Null Output 1. It will be the first "Null Output" in the list.
 
             Loopback to your headset/microphone: Null Output 1. It will be the first "Null Output" in the list.
 
             Loopback to Null Output: Null Output 1. It will be the first "Null Output" in the list.
 
             Loopback to Null Output: Null Output 1. It will be the first "Null Output" in the list.
  
    Playback tab:
+
Playback tab:
         Applications:
+
          
             All applications should output to your headset/speaker.
+
Applications:
            Except the application(s) you want to record/send through Skype/stream should be set to Null Output 1. It will be the first "Null Output" in the list.
+
              
         Virtual streams:
+
All applications should output to your headset/speaker.
 +
 
 +
Except the application(s) you want to record/send through Skype/stream should be set to Null Output 1. It will be the first "Null Output" in the list.
 +
          
 +
Virtual streams:
 
             Loopback of your headset: Null Output 2. It will be the second "Null Output" in the list.
 
             Loopback of your headset: Null Output 2. It will be the second "Null Output" in the list.
 
             Loopback of Monitor of Null Output (1): Your headset.
 
             Loopback of Monitor of Null Output (1): Your headset.

Latest revision as of 12:40, 31 March 2015

below is a post found to stream music over skype. this can also be used to stream over teamspeak(tested).

taken from [1]

pulseaudio module documentation

After many hours of tinkering I finally achieved it!

I created two Null Outputs and created two loopbacks for the first and one loopback for the second.

pactl load-module module-null-sink sink_name=Virtual1
pactl load-module module-null-sink sink_name=Virtual2
pactl load-module module-loopback sink=Virtual1
pactl load-module module-loopback sink=Virtual1
pactl load-module module-loopback sink=Virtual2

Next I opened PulseAudio Volume Control

pavucontrol

These are my settings. I typed them in the order they appear. Numbers go from up to down.

Recording tab

Applications:

All applications should input from your headset/microphone.

Except the application(s) you want to send the audio to should be set to one of the following. If you ONLY want to send the audio: Monitor of Null Output 1. It will be the first "Null Output" in the list. If you want to send both the audio and your voice: Monitor of Null Output 2. It will be the second "Null Output" in the list.

Virtual Streams

           Loopback to Null Output (1): Your headset/microphone
           Loopback to your headset/microphone: Null Output 1. It will be the first "Null Output" in the list.
           Loopback to Null Output: Null Output 1. It will be the first "Null Output" in the list.

Playback tab:

Applications:

All applications should output to your headset/speaker.

Except the application(s) you want to record/send through Skype/stream should be set to Null Output 1. It will be the first "Null Output" in the list.

Virtual streams:

           Loopback of your headset: Null Output 2. It will be the second "Null Output" in the list.
           Loopback of Monitor of Null Output (1): Your headset.
           Loopback of Monitor of Null Output (2): Null Output 2. It will be the second "Null Output" in the list.




just to not get confused with the "null Output", just specify the names like this:

pactl load-module module-null-sink sink_name=Virtual1 sink_properties=device.description="NAME HERE (mic+music)"
pactl load-module module-null-sink sink_name=Virtual2 sink_properties=device.description="NAME HERE (only music)"
pactl load-module module-loopback sink=Virtual1
pactl load-module module-loopback sink=Virtual1
pactl load-module module-loopback sink=Virtual2

[[category:pulseaudio]