SociallyIneptWeeb / LanguageLeapAI

Your Personal Multilingual AI Translator
MIT License
843 stars 171 forks source link

OSError: [Errno -9985] Device unavailable #11

Open tinywifi opened 1 year ago

tinywifi commented 1 year ago

So DeepL isn't avaible in my country so I tried https://pypi.org/project/googletrans/ which is really simple but give out bad translation (good enough for me) and you only need to change 4 lines but when I run the voice_translator.py I get this error image This is my .env on the audio devices id part image This is my get_audio_output_ids output image

tinywifi commented 1 year ago

Update: When I try going through the list again and on the 17: I get this error instead image

0Xiaohei0 commented 1 year ago

Looks like the same error as in issue #7, stack overflow suggests checking your microphone privacy settings and your anti-virus software. (https://stackoverflow.com/q/43841316)

tinywifi commented 1 year ago

When I tried this project https://stackoverflow.com/questions/40138031/how-to-read-realtime-microphone-audio-volume-in-python-and-ffmpeg-or-similar/40157297#40157297 the audio was checked but I think maybe its the issue with the microphone id. but I didn't know which one to use. Can you check my screenshot and tell me

0Xiaohei0 commented 1 year ago

Try any of these: 2 15 32 29

tinywifi commented 1 year ago

2 15 32 give this error image 29 gave this image

tinywifi commented 1 year ago

so uh