Speech recognition | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Speech recognition

r = sr.Recognizer() with sr.Microphone() as source: print("Speak:") audio = r.listen(source) what is the role of listen function call

23rd Aug 2019, 4:29 PM
sathya
sathya - avatar
3 Answers
+ 1
Which module are u using?
24th Aug 2019, 4:45 AM
Thoq!
Thoq! - avatar
0
Thoq! I tried pyaudio but not installing
24th Aug 2019, 5:31 AM
sathya
sathya - avatar
0
What do you mean with that? Listen is not a function or method within pyaudio (as far as I can determine).
24th Aug 2019, 5:43 AM
Thoq!
Thoq! - avatar