authorfu / speech-demo

语音api示例

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

speech-demo

项目地址:https://github.com/Baidu-AIP/speech-demo

百度语音rest api 调用语音识别,语音合成示例

Rest API 接口为http 访问, 任意操作系统,任意语言,只要能对baidu域名发起http请求的,均可以使用。

简介

以JAVA PHP C BASH作为示例,展示rest api的调用过程,选择一个运行即可。

目录结构

+--rest-api-asr  语音识别rest api
   /--bash_shell shell脚本
   /-- java 代码 
   /-- linux_c C代码
   /-- php 代码
 
 +--rest-api-tts 语音合成rest api
   /--bash_shell shell脚本
   /-- java 代码 
   /-- linux_c C代码
   /-- php 代码
   
 +-- sample-files 示例音频文件

About

语音api示例


Languages

Language:Java 92.8%Language:C 4.2%Language:PHP 1.8%Language:Shell 1.2%