ardha27 / AI-Waifu-Vtuber

AI Vtuber for Streaming on Youtube/Twitch
808 stars 128 forks source link

Invalid Input Device #59

Open grigorzero opened 1 year ago

grigorzero commented 1 year ago

Dear Sir,

I have encounter a new problem:

File "C:\Users\ bla bla bla", line 248, in record_audio() File "C:\Users\ bla bla bla", line 48, in record_audio stream = p.open(format=FORMAT, ^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\ bla bla bla", line 639, in open stream = PyAudio.Stream(self, *args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\ bla bla bla", line 441, in init self._stream = pa.open(arguments) ^^^^^^^^^^^^^^^^^^^^

OSError: [Errno -9996] Invalid input device (no default output device)

Is there a solution for this? I try to reinstall and uninstall pyaudio but it is have the same problem.

Thank you Grigor

ardha27 commented 1 year ago

From the error, it said that your PC dont have default input/output (mic/speaker)

grigorzero commented 1 year ago

From the error, it said that your PC dont have default input/output (mic/speaker)

Hmmm, im not changing anything. But if i may know, what is mic did you use? I would like to buy a new one. I used an usb headset with microphone, but somehow the file didnt work anymore.

ardha27 commented 1 year ago

Im using Fifine K678. Try to check that mic and speaker on your pc is working. And set the default input/output on windows setting to working mic/speaker