You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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.
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
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
The text was updated successfully, but these errors were encountered: