mallorbc / whisper_mic

Project that allows one to use a microphone with OpenAI whisper.
MIT License
705 stars 158 forks source link

[Speech not recognized] it stops at `audio = r.listen(source)` #31

Closed manami-bunbun closed 3 months ago

manami-bunbun commented 1 year ago

Hello, firstly, thank you for the development!

This could be a hardware issue rather than code, but I would like to ask you a question as no matter how many solutions I have tried, it does not resolve the issue.

Issue

Sometimes the voice is not recognized for about 2 hours.

Where the problem occurs

In cli.py, line 51, audio = r.listen(source) in record_audio() does not work.

Environment

Macbook M2 Air, (I tried python3.9, 3.10, 3.11)

Steps so far

After the first smooth use of whisper-mic, it stopped working about 24 hours later. For that, the following method works occasionally.

The following methods did not work.

I've been stuck in this problem for 3 weeks. I appreciate your any help!!

mallorbc commented 8 months ago

Does this still happen with the latest release?

mallorbc commented 3 months ago

I believe it is likely that #83 fixed this issue. Reopen if not