Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/baidu-aip/speech-demo
语音api示例
https://github.com/baidu-aip/speech-demo
baidu rest-api speech-recognition speech-to-text
Last synced: 5 days ago
JSON representation
语音api示例
- Host: GitHub
- URL: https://github.com/baidu-aip/speech-demo
- Owner: Baidu-AIP
- Created: 2018-02-24T08:28:09.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-07-25T02:45:12.000Z (4 months ago)
- Last Synced: 2024-07-25T03:47:41.614Z (4 months ago)
- Topics: baidu, rest-api, speech-recognition, speech-to-text
- Language: Java
- Size: 4.05 MB
- Stars: 681
- Watchers: 23
- Forks: 761
- Open Issues: 15
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# speech-demo
项目地址:https://github.com/Baidu-AIP/speech-demo文档地址:
- 语音识别:https://ai.baidu.com/ai-doc/SPEECH/Jlbxdezuf
- 语音合成:https://ai.baidu.com/ai-doc/SPEECH/mlbxh7xie百度语音rest api 调用语音识别,语音合成示例
**Rest API 接口为http 访问, 任意操作系统,任意语言,只要能对baidu域名发起http请求的,均可以使用。**
百度语音合成的接口支持跨域,但是获取token的接口不支持。浏览器直接发请求的示例见:https://github.com/Baidu-AIP/SPEECH-TTS-CORS
## 简介
以JAVA PHP python C BASH 作为示例,展示rest api的调用过程,选择一个运行即可。
## 目录结构
```
+--rest-api-asr 语音识别rest api
/--bash_shell shell脚本
/-- java 代码
/-- linux_c C代码 (windows Cygwin可以运行)
/-- php 代码
/-- python代码
+--rest-api-tts 语音合成rest api
/--bash_shell shell脚本
/-- java 代码
/-- linux_c C代码 (windows Cygwin可以运行)
/-- php 代码
/-- python代码
+-- sample-files 语音识别示例音频文件
```