Skip to content

Latest commit

 

History

History
executable file
·
19 lines (11 loc) · 648 Bytes

README.md

File metadata and controls

executable file
·
19 lines (11 loc) · 648 Bytes

baidu_tts_demo

百度文字转语音示例

环境要求:需要安装 python3 https://www.python.org/downloads

  1. 下载或者克隆代码:git clone https://github.com/muyongming/baidu_tts_demo.git

  2. 进入目录: cd baidu_tts_demo

  3. 单条输入合成运行:python3 tts_one.py,输入要合成的文本

  4. 批量合成:

    linux 版本: 用文本编辑器修改test.sh 中的需要合成的词和文件名,保存后双击即可合成相应音频在本目录中。

    windows 版: 用记事本修改 test.bat 中的需要合成的词和文件名,保存后双击即可合成相应音频在本目录中。