# baiduTTS **Repository Path**: rocket049/baiduTTS ## Basic Information - **Project Name**: baiduTTS - **Description**: baidu tts 语音合成 - **Primary Language**: JavaScript - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2019-11-27 - **Last Updated**: 2022-06-06 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 百度语音合成 安装: ``` git clone https://github.com/rocket049/baiduTTS.git cd baiduTTS cd ../split make cd .. go build . ``` **运行程序时需要`baiduTTS`目录中的`tmpls`,因此请在`baiduTTS`目录中运行本程序。** **使用本软件需要一个百度大脑语音应用ID。** ### 二进制程序下载 [百度网盘](https://pan.baidu.com/s/103cgeSFOmPZFvVZOQYdDPw) ### 使用方法 首先申请百度大脑语音应用,然后把百度大脑语音应用ID写入下面形式的JSON文件(例如:app.json): ``` { "AppID":"xxxxxx", "ApiKey":"xxxxxxxxxxxxxx", "SecretKey":"xxxxxxxxxxxxxxxxxxxxxx" } ``` 然后用下面的参数运行程序: ``` ./baiduTTS -i /path/to/app.json ``` **运行后会自动打开浏览器,在页面输入框中输入文字,点击“合成”即可,超过2000字时自动分段。**