Skip to main content

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

Project description

baidu_d_tts

a tts driver used by unitts

Dependent

pip install requests

installation

pip install baidu_d_tts

Usage

from baidu_d_tts.baidu_ai_api import set_app_info
import unitts

set_app_info(appid, appkey, secret_key)
tts = unitts.init('baidu_d_tts')
tts.startLoop()
while True:
	x = input()
	tts.say('This is a test')
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

baidu_d_tts-0.0.4.tar.gz (5.3 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