Skip to content

DelightRun/PyBaiduYuyin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

This project has been deprecated

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages