Virtual Cables in Linux

Поделиться
HTML-код
  • Опубликовано: 13 окт 2024

Комментарии • 67

  • @matuz_0117
    @matuz_0117 10 месяцев назад +4

    Bro, God sent this video for me, thank you very much 🙏🏻

  • @TheCobyRandal
    @TheCobyRandal Год назад

    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!

  • @JhostinToscano
    @JhostinToscano 3 года назад +3

    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?

    • @TheHarvestisReady-media
      @TheHarvestisReady-media  3 года назад

      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.

  • @willianbezerradesousa9104
    @willianbezerradesousa9104 Год назад +1

    Thank you ! I love this!

  • @GalaxyIndianGamer
    @GalaxyIndianGamer 2 года назад +1

    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 )

  • @HenriqueCE
    @HenriqueCE 6 месяцев назад +1

    Thank you so much for that!

  • @stufflike5844
    @stufflike5844 4 месяца назад +1

    By installing the script I get audio crackling that isn't going away, I'm using Fedora 40.

    • @TheHarvestisReady-media
      @TheHarvestisReady-media  4 месяца назад

      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.

    • @TheHarvestisReady-media
      @TheHarvestisReady-media  4 месяца назад

      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/

  • @diegoleon1144
    @diegoleon1144 3 года назад +1

    Wooaw thanks for everything.

  • @ilaripori6148
    @ilaripori6148 Год назад

    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
      @TheHarvestisReady-media  Год назад

      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.

    • @ilaripori6148
      @ilaripori6148 Год назад

      @@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

  • @goldenwolf8115
    @goldenwolf8115 Год назад

    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 :(

  • @LionelBlum18
    @LionelBlum18 Месяц назад

    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!

  • @beyond9thousand
    @beyond9thousand 2 года назад +1

    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?

    • @daviramos01
      @daviramos01 2 года назад

      create a script on autostart folder with your configuration.

    • @TheHarvestisReady-media
      @TheHarvestisReady-media  2 года назад

      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.

    • @FreddyBL
      @FreddyBL 2 года назад

      @@TheHarvestisReady-media I could not get it to launch on startup. How did you set yours up?

  • @angelbepro6767
    @angelbepro6767 8 месяцев назад

    For some reason for me, the loopback module made my audio pixelized, but that probably because im using pipewire.

  • @brunofunnie
    @brunofunnie 2 года назад +1

    Some good GTK progammer could create a GUI for this, don't mind typing commands in console but I just want it to work

    • @TheHarvestisReady-media
      @TheHarvestisReady-media  Год назад

      Yes I have thought about that myself.
      I know a little programming so I'll put it on my to-do list

    • @brunofunnie
      @brunofunnie Год назад

      Actually there is already lol, it's called QJackCtl and there's a VST plugin loader called Carla

  • @omegahunter9
    @omegahunter9 8 месяцев назад

    How can I merge the microphone output and the speaker output to a single virtual recording device?

    • @TheHarvestisReady-media
      @TheHarvestisReady-media  4 месяца назад

      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.

  • @I_RacooN_I
    @I_RacooN_I 2 года назад

    Thank you. God bless you.

  • @gianfry942
    @gianfry942 2 года назад

    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
      @TheHarvestisReady-media  Год назад

      Can you explain in English. Google translate is making it unclear

    • @gianfry942
      @gianfry942 Год назад

      @@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?

  • @DABUNGINATOR
    @DABUNGINATOR Месяц назад

    Do I have you or God to thank for this video?

  • @HorreyForthenewstep
    @HorreyForthenewstep Год назад

    Thanks brother. Any chance to make multiple virtual input with your script ?

    • @TheHarvestisReady-media
      @TheHarvestisReady-media  9 месяцев назад

      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.

    • @HorreyForthenewstep
      @HorreyForthenewstep 9 месяцев назад

      @@TheHarvestisReady-media Fine, thanks for the answer. God bless you.

  • @TheTNAHunter
    @TheTNAHunter 2 года назад +1

    Will this work with Arch ninjao Linux

  • @losdiscipulosdecristo
    @losdiscipulosdecristo 2 года назад +2

    Powered by God!!!!

  • @radiokappa3158
    @radiokappa3158 3 года назад +1

    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 --

    • @TheHarvestisReady-media
      @TheHarvestisReady-media  3 года назад +1

      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

    • @radiokappa3158
      @radiokappa3158 3 года назад +1

      @@TheHarvestisReady-media tanks 😀

  • @MrAlpha2013
    @MrAlpha2013 4 месяца назад

    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?

    • @TheHarvestisReady-media
      @TheHarvestisReady-media  4 месяца назад

      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
      @TheHarvestisReady-media  4 месяца назад

      So you could use my script but if you want to run it twice you will need to change the names.

    • @TheHarvestisReady-media
      @TheHarvestisReady-media  4 месяца назад

      I mean you would copy the script and change the names of the second script.
      So this would be for Linux.

    • @TheHarvestisReady-media
      @TheHarvestisReady-media  4 месяца назад

      Also check out the newer version for pipewire. As the latest Ubuntu use Pipewire.

    • @MrAlpha2013
      @MrAlpha2013 4 месяца назад

      @@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.

  • @primoitt83
    @primoitt83 2 года назад +1

    Thx!!

  • @vishwakarma00
    @vishwakarma00 2 года назад

    it's a nice guide. can anyone guide me to the pipewire's virtual cable setup ?

    • @TheHarvestisReady-media
      @TheHarvestisReady-media  2 года назад +2

      That's one I need to look at. Maybe a lot more effective

    • @elitezruleSupaSid
      @elitezruleSupaSid 2 года назад +1

      this is late but as long as you have pipewire-pulse, this works under pipewire

  • @alphatat3610
    @alphatat3610 2 года назад

    how to disable father?

  • @leerdoor
    @leerdoor 2 года назад +1

    Excellent, thanks