Dadangdut33 / Speech-Translate

A realtime speech transcription and translation application using Whisper OpenAI and free translation API. Interface made using Tkinter. Code written fully in Python.
MIT License
468 stars 57 forks source link

[BUG] can't get the input devices when the program start #41

Closed IcarusAegis closed 1 year ago

IcarusAegis commented 1 year ago

when i start the program download from realsase(the latest),it said 2023-08-03 14:01:35,349 ERROR - Something went wrong while trying to get the input devices (mic). (Record.py:56) [MainThread] 2023-08-03 14:01:35,350 ERROR - 'utf-8' codec can't decode byte 0xc2 in position 6: invalid continuation byte (Record.py:57) image image

the program should recognize my mic,it's useable in other applications and it's fine in windows. Buzz and whisper-desktop can recognize my mic and it's useable.

image

Dadangdut33 commented 1 year ago

seems to be related with the sounddevice library. Maybe i'll switch the device querying to pyaudio or add it as a fallback option

IcarusAegis commented 1 year ago

seems to be related with the sounddevice library. Maybe i'll switch the device querying to pyaudio or add it as a fallback option

thank you,I will waiting for the new release.

IcarusAegis commented 1 year ago

@Dadangdut33 I tried dev version ,now it is working well ,this bug fixed.