How can I share my system sound and my microphone voice at the same time?

Hello @denielt :wink:

For a newbe it is not an easy to do, but doable. These functions are only available through the terminal:

Sharing the mic can be done like this:

export virtual0="virtual_speaker"
export virtual1="virtual_mic"

pactl load-module \
module-null-sink \
sink_name="$virtual0" \
sink_properties=device.description="$virtual0"

pactl load-module \
module-remap-source \
master="$virtual0.monitor" \
source_name="$virtual1" \
source_properties=device.description="$virtual1"

unload with

pactl unload-module module-remap-source
pactl unload-module module-null-sink

Just choose in pavucontrol under Recording at “Remapped Stream” the hardware source. You can have a virtual mic for each application :slight_smile:

But keep in mind… this is only temporary. After reboot or restarting pulseaudio it is gone.

For system sound it is similar:

export virtual0="virtual_speaker"

pactl load-module \
module-null-sink \
sink_name="$virtual0" \
source_properties=device.description="$virtual0"

pactl load-module \
module-loopback \
source="$virtual0.monitor" \
sink="$virtual0"

Now open pavucontrol and choose which application under “Playback” should be redirected to virtual_speaker.

Unload it with:

pactl unload-module module-loopback
pactl unload-module module-null-sink

This is the way, i do it. Theses functions are only available through the terminal.

2 Likes