Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid Input Device #59

Open
grigorzero opened this issue Jun 4, 2023 · 3 comments
Open

Invalid Input Device #59

grigorzero opened this issue Jun 4, 2023 · 3 comments

Comments

@grigorzero
Copy link

grigorzero commented Jun 4, 2023

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
Copy link
Owner

ardha27 commented Jun 4, 2023

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

@grigorzero
Copy link
Author

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
Copy link
Owner

ardha27 commented Jun 4, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants