I've been trying to find a good TTS that speaks in Chinese. But I've been encountering problems with pyttsx or tropo I've tried:
What I have tried:
pyttsx code:
# -*- coding: utf-8 -*-
#!/usr/bin/env python3
import pyttsx
engine = pyttsx.init()
a=u'嗨'
print(a)
engine.say(a)
however, it prints right, but the computer is spitting gibberish, does anyone know why is it not speaking chinese?
tropo code:
tropo = Tropo()
tropo.say("Hello, World")
jsondata = tropo.RenderJson()
jsonToPython=json.loads(jsondata)
but I don't know how to send the json object for it to perform the audio function, could you help me with that?
Thanks!