![]() |
| Not getting response from pyaudio - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: Python Coding (https://python-forum.io/forum-7.html) +--- Forum: General Coding Help (https://python-forum.io/forum-8.html) +--- Thread: Not getting response from pyaudio (/thread-34154.html) |
Not getting response from pyaudio - OceansBlue - Jul-01-2021 I am not able to communicate using the laptop microphone Here is my code import smtplib # Simple Mail Transfer Protocol import pyaudio import speech_recognition as sr # Speech Recognition listener = sr.Recognizer() with sr.Microphone() as source: print('listening.......') voice = listener.listen(source) info = listener.recognize_google(voice) print(info)Here is the errorI am using a Lenovo Thinkpad T440S RE: Not getting response from pyaudio - OceansBlue - Jul-03-2021 I got to know that i needed to "Allow apps to access your microphone" set to ON windows 10 Microphone privacy settings. Resolved |