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

Uploaded Source

File details

Details for the file xfyun_tts-0.0.3.tar.gz.

File metadata

  • Download URL: xfyun_tts-0.0.3.tar.gz
  • Upload date:
  • Size: 4.2 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 xfyun_tts-0.0.3.tar.gz
Algorithm Hash digest
SHA256 df4033906776e3e632a6b15cee5c8df18a628831b77cc21540de87eed473ae02
MD5 e495cf44fac873c6874f084bb3048fd7
BLAKE2b-256 b8d1a4101104dfe6a429fd48ea5772344f8333842244d3e3554125abc915ed43

See more details on using hashes here.

Supported by

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