Skip to main content

PyBaiduYuyin

This project is a wrapper for Baidu Yuyin(voice) API

This project is modified from SpeechRecognition, which is published under the 3-clause BSD license.

Requirement

  • PyAudio - require manual installation

Install

$ pip install PyBaiduYuyin

Usage

Note: I’m still working on this part, contributions are welcomed.

TTS (Text-To-Speech)

Details can be found in source code.

Example:

import PyBaiduYuyin as pby
tts = pby.TTS(app_key=YOUR_APP_KEY, secret_key=YOUR_SECRET_KEY)
tts.say("你好")

Recognition

The usage of Recognition module is same as SpeechRecognition, except using Baidu App Key and Baidu Secret Key instead of Google App Key.

Please see SpeechRecognition’s README for details.

LICENSE

Copyright (c) 2015-2016 Changxu Wang

The source code is available online at GitHub.

This program is made available under MIT License, see LICENSE.txt for details.

Metadata

Release files for PyBaiduYuyin 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for PyBaiduYuyin 0.1.1
File Size Uploaded
PyBaiduYuyin-0.1.1.tar.gz 7.7 kB Details

Release files / PyBaiduYuyin-0.1.1.tar.gz

Download URL PyBaiduYuyin-0.1.1.tar.gz
Size 7.7 kB
Tags Source
SHA-256 checksum
How to use checksums
20905c467e66be92575e64dfe7ec7b8d77aee6a0e8442c2b92630490178739d1
BLAKE2b-256 checksum
How to use checksums
e3f16dc96dfb9b734dd5d0517d8647591b22817b39e5890a265376fe8d8de2b7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1.1 This release

1 release file

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page