Metadata-Version: 2.1
Name: xfyun_tts
Version: 0.0.2
Summary: a pyttsx3 driver for baidu device, it use baidu.speech.tts.
Home-page: https://github.com/yumoqing/xfyun_tts
Author: Yu Moqing
Author-email: yumoqing@gmail.com
Keywords: pyttsx,baidu,offline tts engine
Classifier: Intended Audience :: End Users/Desktop
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Information Technology
Classifier: Intended Audience :: System Administrators
Classifier: Operating System :: OS Independent
Classifier: License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)
Classifier: Programming Language :: Python :: 3
Description-Content-Type: text/markdown

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](https://xfyun.cn) for unitts

## Dependent

* [websocket-client](https://pypi.org/project/websocket-client)
* [apppublic](https://pypi.org/project/apppublic)

## 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()
```

