r/linux4noobs • • 2d ago

programs and apps How do I make a Virtual Mic capture Desktop Audio?

P.S My issue has been resolved! I won't be deleting this post just in case anyone else with this problem stumbles across this post. If you are that person, hi!

I'm currently making a PNGtuber thingy for my voice acting gig, and long story short, I want to prerecord my audio and then shove it into PNGtuber+ . For simplicity, I absolutely cannot record directly into PNGtuber+ (Native Linux Version), but that's not on topic,

My idea here is that I'll get the audio I already recorded in my booth, get that audio playing by any means, get my PNGtuber on PNGtuber+ to react to that prerecorded audio, record a video with OBS of the PNGtuber reacting and the audio playing at the same time, slap it on a video, and boom, done.

Problem here is, PNGtuber+ only detects alsa_output.pci-0000_00_1f.3.analog-stereo and a Virtual Mic as microphones, but OBS detects that, my headphone microphone, and desktop audio all as microphones. So clearly PNGtuber+ is missing some stuff here. But, Since it already detects a virtual mic, I need to know how I can get that Virtual Mic to capture Desktop Audio, since it seems like the simplest solution in this situation.

Now I should mention that PNGtuber+ on steam DOES detect desktop audio as a microphone, but I cant figure out how the fuck to use it, since it uses some weird file explorer that I guess tricks the program into thinking I'm on a windows computer or something..?? IDFK dude. But if any of yall also know how to get that working on Linux, please let me know!!!

I've been researching on this for like an hour and I just can't find anything, nobody talks about PNGtuber+, let alone the linux version. Any and all help is well appreciated!

(Specs)

OS: Arch Linux x86_64
Kernel: Linux 7.3.5-arch1-1

Window Manager: Hyprland 0.57.2 (Wayland)

5 Upvotes

16 comments sorted by

2

u/nandru 2d ago

PNGtuber on steam might be using the windows version through proton, that's why its file picker looks like the windows one.

Huge props to steam if the program ran good enough that you didn't notice it!

1

u/ThoughtDear7015 2d ago

I guessed that was the reason, but I have absolutely no idea where it’s storing the files and I can’t find it’s directory if I copy and paste the directory into thunar..

2

u/nandru 2d ago

There are 2 actuallly, the "game" directory (right click the app in steam's library > manage > browse local files (or installed files, I don't remeber the exact name) and the "windows" it runs on (~/.steam/steamapps/compatdata/<game id>

2

u/ThoughtDear7015 2d ago

THANK YOU SO FUCKING MUCH IT FINALLY WORKS HOLY SHIT

2

u/nandru 2d ago

NIICE!!!!!!!

2

u/ThoughtDear7015 2d ago

I WAS AT THIS SHIT FOR HOURS THANK YOU

6

u/gmes78 2d ago

You can use qpwgraph to route audio the way you want it.

1

u/AutoModerator 2d ago

✻ Smokey says: always mention your distro, some hardware details, and any error messages, when posting technical queries! :)

Comments, questions or suggestions regarding this autoresponse? Please send them here.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

-10

u/collinalexbell 2d ago

I highly recommend paying for OpenAI codex and asking it to set up your audio. I've been able to do some crazy audio routing with codex that I could have never done on my own.

7

u/ThoughtDear7015 2d ago

If I ask a question on an online public forum , despite my desperation, instead of just asking an AI it likely means i don’t want to ask an ai. If you’re going to be a meat proxy and tell others to just ask an ai, respectfully, shut the fuck up.

-10

u/collinalexbell 2d ago

Haha. You are an asshole. Linux audio questions are particularly well suited to AI. Your window manager and kernel specs mean jack all to this problem, but people won't be able to diagnose without a lot more information as Linux audio is notoriously complex and fragmented. Disrespectfully, go back to Windows.

6

u/gmes78 2d ago

OP's post is perfectly fine. If you don't know the answer, don't be a nuisance and don't reply.

4

u/ThoughtDear7015 2d ago

Took the words right outta my mouth!

2

u/ThoughtDear7015 2d ago

Relying on AI majorly in any way, shape, or form immediately disqualifies you from being considered a Linux user. I promise you, any windows user can do everything you can do if not better. The thing about AI is, it gives everyone an equal playing field, whether you’re a complete newbie or a sharpened professional, the minute you rely on AI, you’re either brought up or brought down to the exact same level as millions of other people. On top of that, you dont gain any experience whatsoever, you dont train that noggin of yours to understand what the fuck’s going on with your system, and eventually there will come a point where you rely entirely on AI and cannot do anything without it. Before you mention it, yes, I know the Linux kernel has some AI in it, but AFAIK Linux Torvalds seems to be using AI pretty responsibly, so environmental concerns aside, I really don’t mind. Linus knows everything about his own system, so he doesn’t have much to learn anyways.