Thank you so much! I'll be sharing your video with others, as it's been the only and easiest solution to follow for me. Running Linux Mint 21.1, OBS Studio 27.2.3+dfsg1-1 (64bit). This a life saver for me because I use OBS for live noise removal and delay on my mic so I can sync that audio with my slow camera hdmi capture, and also use it with programs like Zoom, Skype, Google Meet etc. Thanks again!
Hi thanks for dropping by. Yes, you will need to run everytime. Like.somemof the other viewers have noticed depending on how you have configured your sound it may behave a little bit strange until you have configured it. Anyway enjoy and have fun.
actually when i ran the script then it started streaming my audio in my headphones and microphone ( its like many microphone connected at the same time )( Pls Help ME )
I think because of Pipewire, pulse-audio has been depreciated. I have not used the script for while. I am starting to get back into it. I will try and update the script.
I found this, not tested much. 1. Did a recording from OBS via Soundrecorder. Very clear. 2. Tested it with zoom. All visible and could select the output. But it seemed to cut out. I would need to test with an actual live meeting. I think something to do with the audio loop back. Here is the script. #!/usr/bin/env bash # Create a virtual sink that can be set as a monitor in OBS pactl load-module module-null-sink sink_name=VirtualSpeaker sink_properties=device.description=VirtualSpeaker # Link it with a virtual source that is visible in pulseaudio apps like Zoom pactl load-module module-null-sink media.class=Audio/Source/Virtual sink_name=VirtualMic channel_map=front-left,front-right pw-link VirtualSpeaker:monitor_FL VirtualMic:input_FL pw-link VirtualSpeaker:monitor_FR VirtualMic:input_FR #needs pulseaudio-utils from this website: luke.hsiao.dev/blog/pipewire-virtual-microphone/
Im confused. It worket beautifully, until i restarted my pc. After restarting and running the script again, now i get a super weird sound (when not listening through the virt cable), it sounds like bitcrushed and there is a loop with 1 second latency. The virtual cable no longer works. The only thing i did was restart computer and run the script again and it no longer works. Borked. Running the most recent pop os..
@@TheHarvestisReady-media Thanks! :) Linux is a major hurdle for noobs like me who want to ditch windows. In windows you just install vbcable and done.. :D
Help! My headset and mic can't be found by pulseaudio control only saying dummy outpu and dummy input after following all commands here. I already tried restarting :(
Hi there, Thanks for the wonderfull video. Somehow it bugs on my Computer, the script seems to work just fine (see extract below). But the virtual mic sink does not show as an output (virtual) device on PulseAudio (hence also not on OSB). Any advice? Many thanks! You should reset Pipewire to last defaults before 'running programs may need to be restarted. OBS will need this. Best to run when no apps are running VirtualSpeaker 536870913 VirtualMic 536870914 Linking together Loopback 536870915
i actually use the pactl commands to configure streaming my audio through discord stream (virtual mic + mic), the only issue i have is that i need to reselect all the routing on every boot (set the script for pactl to autostart). Is there any way to keep the modules permanently loaded and not get reset on every run?
In short yes. 2 ways. 1. add the comands to ~/.bash_profile . this will run when you login. 2. Add it to the pulse audio conf /etc/pulse/client.conf add the items as per the script. restart pulse. NB: backup the file first. I can do a video to show how.
Salve.Lo scrip serve anche se io uso l'uscita audio x collegare all'entrata del microfono interno di google,creando un nuovo documento oppure bisogna modificare qualcosa? Chissà se mai qualcuno risponderà
@@TheHarvestisReady-media Hi.The scrips also serves if I use the audio exit x connect to the entrance of the internal microphone of Google, creating a new document or do you have to modify something?
Sorry for the delay, it should be. You'll can duplicate the script and change the description of the devices so you can find them easier. But it would get quite confusing quickly.
tanks you are the best -- this script for pulseaudio in linux mint is ok I need the virtual camera for linux mint to put obs in zoom please you say me if you can help me -- best regards for you to naples italy --
Hi, I am glad it helped. To use it in zoom set the the Monitor out in OBS. You can route to Monitor of Virtual monitor sink under audio settings. This will loop to the virtual mic. Then you can in Advanced Audio you can monitor and output
I have a voice call with a friend on one App like Skype, Google Voice page in Chrome, Zoom, etc. And in the same time I have another voice call with another friend on another different App like Skype, Google Voice page in Chrome, Zoom , etc. Both of the Apps are running on my computer. The operating system can be Ubuntu or Windows. I want to connect the 2 friends together so they can talk and hear each other. I do not care if I do not hear them. I am not interested to be part of the conversation between them. Hearing them is fine. And also not hearing them is also fine. I just want to take the audio output from the first App and route it as if it is a mic source (input audio) for the second App. And similarly take the audio output from the second App and route it as a mic source )input audio) for the first App. This way they can talk together. Any help how can I do that?
Mmm. I am not sure about the coding. But this is my thoughts You would need to create 2 virtual mics and 2 virtual speakers. Then route the output to the virtual mics. So on each app you would set the output to the virtual speakers. And the mics to each others mics. I hope that puts you on the right track.
@@TheHarvestisReady-media Thank you very much. I do not know how to write scripts. So I will start to educate myself about that. I do not know what is Pipewire. So I will start to educate myself about that also.
Bro, God sent this video for me, thank you very much 🙏🏻
Praise God!
Thank you so much! I'll be sharing your video with others, as it's been the only and easiest solution to follow for me. Running Linux Mint 21.1, OBS Studio 27.2.3+dfsg1-1 (64bit). This a life saver for me because I use OBS for live noise removal and delay on my mic so I can sync that audio with my slow camera hdmi capture, and also use it with programs like Zoom, Skype, Google Meet etc. Thanks again!
Glad it helped.
Blessings and thanks for sharing this. One question, though, do I need to run this script every time I'm about to stream? Or just once?
Hi thanks for dropping by. Yes, you will need to run everytime.
Like.somemof the other viewers have noticed depending on how you have configured your sound it may behave a little bit strange until you have configured it.
Anyway enjoy and have fun.
Thank you ! I love this!
actually when i ran the script then it started streaming my audio in my headphones and microphone ( its like many microphone connected at the same time )( Pls Help ME )
Hi. Does it squeal? That's normal. You need to route your mic to headphones.
Thank you so much for that!
You're welcome!
By installing the script I get audio crackling that isn't going away, I'm using Fedora 40.
I think because of Pipewire, pulse-audio has been depreciated. I have not used the script for while. I am starting to get back into it. I will try and update the script.
I found this, not tested much.
1. Did a recording from OBS via Soundrecorder. Very clear.
2. Tested it with zoom. All visible and could select the output. But it seemed to cut out. I would need to test with an actual live meeting. I think something to do with the audio loop back.
Here is the script.
#!/usr/bin/env bash
# Create a virtual sink that can be set as a monitor in OBS
pactl load-module module-null-sink sink_name=VirtualSpeaker sink_properties=device.description=VirtualSpeaker
# Link it with a virtual source that is visible in pulseaudio apps like Zoom
pactl load-module module-null-sink media.class=Audio/Source/Virtual sink_name=VirtualMic channel_map=front-left,front-right
pw-link VirtualSpeaker:monitor_FL VirtualMic:input_FL
pw-link VirtualSpeaker:monitor_FR VirtualMic:input_FR
#needs pulseaudio-utils
from this website: luke.hsiao.dev/blog/pipewire-virtual-microphone/
Wooaw thanks for everything.
Any time!
Im confused. It worket beautifully, until i restarted my pc.
After restarting and running the script again, now i get a super weird sound (when not listening through the virt cable), it sounds like bitcrushed and there is a loop with 1 second latency. The virtual cable no longer works.
The only thing i did was restart computer and run the script again and it no longer works. Borked.
Running the most recent pop os..
Thanks for the feedback. Strange.
Has PoP OS changed to pipewire?
The script was designed for pulseaudio.
If I have time I'll have a look.at it.
@@TheHarvestisReady-media Thanks! :) Linux is a major hurdle for noobs like me who want to ditch windows. In windows you just install vbcable and done.. :D
Help! My headset and mic can't be found by pulseaudio control only saying dummy outpu and dummy input after following all commands here. I already tried restarting :(
Can you give me some specs of your system?
To eliminate that Pulseaudio has an issue have you tried a USB sound card?
Hi there,
Thanks for the wonderfull video.
Somehow it bugs on my Computer, the script seems to work just fine (see extract below).
But the virtual mic sink does not show as an output (virtual) device on PulseAudio (hence also not on OSB).
Any advice?
Many thanks!
You should reset Pipewire to last defaults before 'running programs may need to be restarted. OBS will need this. Best to run when no apps are running
VirtualSpeaker
536870913
VirtualMic
536870914
Linking together
Loopback
536870915
If no errors done!
i actually use the pactl commands to configure streaming my audio through discord stream (virtual mic + mic), the only issue i have is that i need to reselect all the routing on every boot (set the script for pactl to autostart). Is there any way to keep the modules permanently loaded and not get reset on every run?
create a script on autostart folder with your configuration.
In short yes.
2 ways.
1. add the comands to ~/.bash_profile . this will run when you login.
2. Add it to the pulse audio conf
/etc/pulse/client.conf add the items as per the script.
restart pulse.
NB: backup the file first.
I can do a video to show how.
@@TheHarvestisReady-media I could not get it to launch on startup. How did you set yours up?
For some reason for me, the loopback module made my audio pixelized, but that probably because im using pipewire.
Yes I would say that. I need to work on a pipewire solution
Some good GTK progammer could create a GUI for this, don't mind typing commands in console but I just want it to work
Yes I have thought about that myself.
I know a little programming so I'll put it on my to-do list
Actually there is already lol, it's called QJackCtl and there's a VST plugin loader called Carla
How can I merge the microphone output and the speaker output to a single virtual recording device?
I am not sure, but using OBS as the go between to route the monitor feed to virtual mic would be workaround. But a direct solution I am not sure.
Thank you. God bless you.
Salve.Lo scrip serve anche se io uso l'uscita audio x collegare all'entrata del microfono interno di google,creando un nuovo documento oppure bisogna modificare qualcosa? Chissà se mai qualcuno risponderà
Can you explain in English. Google translate is making it unclear
@@TheHarvestisReady-media Hi.The scrips also serves if I use the audio exit x connect to the entrance of the internal microphone of Google, creating a new document or do you have to modify something?
Do I have you or God to thank for this video?
Thanks brother. Any chance to make multiple virtual input with your script ?
Sorry for the delay, it should be. You'll can duplicate the script and change the description of the devices so you can find them easier. But it would get quite confusing quickly.
@@TheHarvestisReady-media Fine, thanks for the answer. God bless you.
Will this work with Arch ninjao Linux
If you're running Pulse Audio, yes.
Powered by God!!!!
tanks you are the best -- this script for pulseaudio in linux mint is ok
I need the virtual camera for linux mint to put obs in zoom please you say me if you can help me -- best regards for you to naples italy --
Hi,
I am glad it helped. To use it in zoom set the the Monitor out in OBS. You can route to Monitor of Virtual monitor sink under audio settings. This will loop to the virtual mic. Then you can in Advanced Audio you can monitor and output
@@TheHarvestisReady-media tanks 😀
I have a voice call with a friend on one App like Skype, Google Voice page in Chrome, Zoom, etc.
And in the same time I have another voice call with another friend on another different App like Skype, Google Voice page in Chrome, Zoom , etc.
Both of the Apps are running on my computer. The operating system can be Ubuntu or Windows.
I want to connect the 2 friends together so they can talk and hear each other.
I do not care if I do not hear them. I am not interested to be part of the conversation between them. Hearing them is fine. And also not hearing them is also fine.
I just want to take the audio output from the first App and route it as if it is a mic source (input audio) for the second App. And similarly take the audio output from the second App and route it as a mic source )input audio) for the first App. This way they can talk together.
Any help how can I do that?
Mmm.
I am not sure about the coding.
But this is my thoughts
You would need to create 2 virtual mics and 2 virtual speakers.
Then route the output to the virtual mics.
So on each app you would set the output to the virtual speakers.
And the mics to each others mics.
I hope that puts you on the right track.
So you could use my script but if you want to run it twice you will need to change the names.
I mean you would copy the script and change the names of the second script.
So this would be for Linux.
Also check out the newer version for pipewire. As the latest Ubuntu use Pipewire.
@@TheHarvestisReady-media Thank you very much. I do not know how to write scripts. So I will start to educate myself about that. I do not know what is Pipewire. So I will start to educate myself about that also.
Thx!!
it's a nice guide. can anyone guide me to the pipewire's virtual cable setup ?
That's one I need to look at. Maybe a lot more effective
this is late but as long as you have pipewire-pulse, this works under pipewire
how to disable father?
Just restart your computer. It is a script it is not permanent.
Excellent, thanks