/xfyun_tts

a xunfeiyun tts driver for units

Primary LanguagePython

not work yet, the audio buffer returned save to a mp3 or pcm file and the audio player not work

xfyun_tts

this is a tts driver using xfyun for unitts

Dependent

Installation

pip install xfyun_tts

Usage

in the beginning,

from xfyun_tts import set_app_info
import unitts

set_app_info(appid, apikey, apisecret)
tts = unitts.init('xfyun_tts')

tts.startLoop()
while True:
	x = input()
	tts.say(x)
tts.endLoop()