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

Uploaded Source

File details

Details for the file baidu_d_tts-0.0.4.tar.gz.

File metadata

  • Download URL: baidu_d_tts-0.0.4.tar.gz
  • Upload date:
  • Size: 5.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.25.0 requests-toolbelt/0.9.1 urllib3/1.26.2 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/1.5.0 colorama/0.4.4 CPython/3.9.13

File hashes

Hashes for baidu_d_tts-0.0.4.tar.gz
Algorithm Hash digest
SHA256 52ca611f9df8f57964b89f3326c08f11e86422bcb6b6f0f460b5af5b073f7449
MD5 c8d936ff840d7650edee1d805bbb3389
BLAKE2b-256 90383772fc22e988e665c1a464360983b9336dcdedd1d211e613a8f15f8bedde

See more details on using hashes here.

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