V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
ChangxuBlack
V2EX  ›  Python

Python 百度语音 API

  •  
  •   ChangxuBlack ·
    DelightRun · 2015-07-21 22:16:42 +08:00 · 8438 次点击
    这是一个创建于 3208 天前的主题,其中的信息可能已经有所发展或是发生改变。

    参照SpeechRecognition,用Python封装了百度语音API,支持语音识别和语音合成,欢迎评论。

    Github地址: https://github.com/DelightRun/PyBaiduYuyin

    4 条回复    2016-06-29 11:00:32 +08:00
    ChangxuBlack
        1
    ChangxuBlack  
    OP
       2015-07-22 20:42:58 +08:00
    1. 可以直接使用pip install PyBaiduYuyin进行安装
    2. 本Package需要依赖PyAudio
    3. 欢迎各种issues和pull requests
    ila
        2
    ila  
       2016-04-19 15:40:49 +08:00
    已安装 pybaiduyuyin , pyaudio 等等。
    运行以下代码无声:
    import PyBaiduYuyin as pby
    tts = pby.TTS(app_key=已删除,secret_key=已删除)
    tts.say("ok")


    已删除这里是我的 key 信息
    jiang950826
        3
    jiang950826  
       2016-06-28 13:52:40 +08:00
    你好,请问在进行语音合成时如何与图灵机器人配合使用,在 tts.say("x")中, x 可以是中文变量么,还有就是语音识别我不知道如何使用
    jiang950826
        4
    jiang950826  
       2016-06-29 11:00:32 +08:00
    你好,这个项目的语音识别如何使用
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1159 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 17:40 · PVG 01:40 · LAX 10:40 · JFK 13:40
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.