How can i use python for text to speech and speech to text? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How can i use python for text to speech and speech to text?

I wanted to write a program to convert text to speech and vice versa. I tried pyttsx3 and gtts but it is always an error. Either mpg123 missing or some file missing. I tried to download mpg123 but still it isn't working. Can somebody please help.

28th Aug 2019, 8:29 AM
NightSkyLeaf
NightSkyLeaf - avatar
3 Answers
+ 3
You're lucky if you're in mobile. In Android Google Play, QPython3 exists. It has AndroidHelper Module that has Google TTS function which may help your code
17th Sep 2019, 1:49 AM
Name Omitted until I come back
0
I have used it before and it works well l, but I am not able to use it for a program I tried to built, which needed more than what qpython3 can provide I am using pydroid3
18th Sep 2019, 5:27 PM
NightSkyLeaf
NightSkyLeaf - avatar