+ 2
Speech to text and text to speech using python 2.7
Hello I could convert speech to text using SpeechRecognition module... it works perfectly fine with microphone as source of speech... adjust_for_ambient_noise() method helped me to get proper output. now later on what I wanted is to ask for input as speech and my return speech is converted back to text using above module... for example, speak what is your name and my spoken word I am Ketan gets converted to text. for python to speak , I could use text to speech using pyttsx3.... it works perfectly fine... but post pyttsx3, speechrecognise doesn't work... what could be the problem? individually both works but combined does not work.
8 Respuestas
+ 8
Please send me your code.
pedrophj@yahoo.com.br
+ 7
I dit it. Just speech_recognize.
It slow to recognize. Do you change timeout or time Configuration ?
+ 5
I'm trying SpeechRecognize no error but not sucess.
+ 2
yes, it is slow... I am getting voice recognised to text but it doesn't help when microphone was used to speak first before listening....
yes, I have used timeout as none
+ 1
is it for microphone as input source ? if yes, does cursor just blinks without going forward ?? if so, it's due to ambience noise... try to use adjust_for_ambient_noise() method
+ 1
any solution or hint for this issue ?
+ 1
please refer code at location :
https://code.sololearn.com/cDo76Ii1E305/?ref=app
just create a text file into work directly with name as ML.info and keep content of this file as two lines as below:
Name
city
0
any one having some hint on this ??