+ 2
Any TTS Text to speech code out their?
c++ if possible
3 Antworten
+ 7
Android TTS is pretty straightforward with Python:
import sl4a
droid = sl4a.Android()
droid.ttsSpeak("Hello World!")
Unfortunately the sl4a (scripting layer for Android) module doesn't work in the SL Code Playground. It works fine in the QPython3 Android app.
https://play.google.com/store/apps/details?id=org.qpython.qpy3
see:
https://code.sololearn.com/cI6Pp3ux939E
+ 12
This is a web code. It works in PC only.
https://code.sololearn.com/WVQTzwZVXVPt/?ref=app
0
Yes I tried that but I could not select a voice and it would not play