New course! Every coder should learn Generative AI!
Try a free lesson0
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.
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
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