Uberi / speech_recognition

Speech recognition module for Python, supporting several engines and APIs, online and offline.
https://pypi.python.org/pypi/SpeechRecognition/
BSD 3-Clause "New" or "Revised" License
8.44k stars 2.4k forks source link

Not detecting microphone input. Listening timed out while waiting for phrase to start. #458

Open clarke098 opened 4 years ago

clarke098 commented 4 years ago

Steps to reproduce

Here is my code :

Screenshot 2020-01-09 at 15 51 14

Expected behaviour

Listen, and print recognition.

Actual behaviour

Screenshot 2020-01-09 at 15 51 27

System information

My system is MacOs Mojave

My Python version is Python3.8

My SpeechRecognition library version is 3.6.3

My PyAudio library version is 0.2.11 My microphones are: ['DisplayPort', 'Scarlett Solo USB', 'External Headphones', 'MacBook Pro Microphone', 'MacBook Pro Speakers', 'eqMac2']

My working microphones are: I get the error AttributeError: type object 'Microphone' has no attribute 'list_working_microphones' when I run the suggested command.

I installed PocketSphinx from Homebrew


If you could help me understand whats happening here, I will be extremely grateful.

Thank You

bparikh99 commented 4 years ago

timeout=5 sec that's why timeout error remove that Parameter it will work

jbn180001 commented 3 years ago

I have the same issue too

bedrhnaliakcy commented 2 years ago

timeout=5 sec that's why timeout error remove that Parameter it will work

bende aynı sorunu yaşadım. Dediğinizi sildim çözüldü ama bu sefer tepkisiz kaldı