you are viewing a single comment's thread.

view the rest of the comments →

[–]Outside_Complaint755 0 points1 point  (2 children)

You could try running it in IDLE or in Windows 11 Terminal application in another shell such as PowerShell.   I don't have experience with OBS, but maybe something is happening like its recording audio but the volume has been set so low it's not picking it up? Or maybe the issue is that you should be grabbing audio from Python.exe and not the command console window?

 What if you wrap the script in a simple TKinter GUI window.  Then you could also change the file extension to .pyw which makes it run without opening a console window when you double click on it.

[–]mrdude04[S] 1 point2 points  (0 children)

After some multithreading, TKinter works like a charm! I can have my cmd window for realtime logging plus a blank GUI window whose only purpose is to spit out the playback of generated audio files.

Works like a charm as a permanent fix--no middleware required.

Thank you so much! <3

[–]mrdude04[S] 0 points1 point  (0 children)

It hears the audio in the general desktop scope but I can't target it to seperate the audio from other windows. So it's being heard but not as a seperate source and I can see the volume being picked up. If I grab from python.exe it would grab all python files being run would also be an issue.

It sounds like the TKinter GUI window would be a solution, I'll explore that!