shadowofdarkness
New Member
I figured out a easy method to make a virtual microphone on Linux for use with the virtual camera in OBS and thought I should share it to help others.
This requires the use of Pipewire as your audio system.
Just run the following four commands to create it. Of course you can save it as a shell script for after a reboot
Then in OBS go to "advanced audio properties" and set all of your audio devices to "Monitor and Output"
In OBS settings go to the audio section and set the monitoring device to the Virtual-Mic
Finally change your video chat program to use the new microphone
This requires the use of Pipewire as your audio system.
Just run the following four commands to create it. Of course you can save it as a shell script for after a reboot
Bash:
pactl load-module module-null-sink media.class=Audio/Sink sink_name=Virtual-Mic channel_map=front-left,front-right
pactl load-module module-null-sink media.class=Audio/Source/Virtual sink_name=Virtual-Mic channel_map=front-left,front-right
pw-link Virtual-Mic:monitor_FL Virtual-Mic:input_FL
pw-link Virtual-Mic:monitor_FR Virtual-Mic:input_FR
Then in OBS go to "advanced audio properties" and set all of your audio devices to "Monitor and Output"
In OBS settings go to the audio section and set the monitoring device to the Virtual-Mic
Finally change your video chat program to use the new microphone