Skip to main content

a pyttsx3 driver for baidu device, it use baidu.speech.tts.

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

xfyun_tts-0.0.3.tar.gz (4.2 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page