react-webapi-demo:科大讯飞语音听写 webApi 前端示例

上传者: 42178963 | 上传时间: 2022-05-08 20:41:05 | 文件大小: 195KB | 文件类型: ZIP
讯飞语音听写 webApi 前端示例 安装并启动 npm install npm run dev 配置应用ID及服务密钥 打开 /src/api/aer-config.js 填写你在讯飞云平台上创建的应用的ID及语音听写服务的密钥。 { engineType: 'sms16k', // 引擎类型, 默认即可 aue: 'raw', // 音频编码,本实例取'raw' appId: '', // 应用ID APIKey: '', // 服务密钥 sampleRate: 16000, // 采样率(48000),注意:设定的值必须为 48000 的约数 sampleBits: 16, // 采样比特率,8 或 16 twoChannel: false // 双声道 }

文件下载

资源详情

[{"title":"( 31 个子文件 195KB ) react-webapi-demo:科大讯飞语音听写 webApi 前端示例","children":[{"title":"react-webapi-demo-master","children":[{"title":".prettierignore <span style='color:#111;'> 23B </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 41B </span>","children":null,"spread":false},{"title":"tsconfig.json <span style='color:#111;'> 202B </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 590B </span>","children":null,"spread":false},{"title":"public","children":[{"title":"index.html <span style='color:#111;'> 504B </span>","children":null,"spread":false}],"spread":true},{"title":".prettierrc <span style='color:#111;'> 60B </span>","children":null,"spread":false},{"title":"package.json <span style='color:#111;'> 1.96KB </span>","children":null,"spread":false},{"title":"lefthook.yml <span style='color:#111;'> 104B </span>","children":null,"spread":false},{"title":"src","children":[{"title":"components","children":[{"title":"app.tsx <span style='color:#111;'> 2.48KB </span>","children":null,"spread":false},{"title":"app.test.js <span style='color:#111;'> 513B </span>","children":null,"spread":false},{"title":"app.css <span style='color:#111;'> 1.87KB </span>","children":null,"spread":false}],"spread":true},{"title":"utils","children":[{"title":"record-worker.js <span style='color:#111;'> 4.48KB </span>","children":null,"spread":false},{"title":"readAsArrayBuffer.js <span style='color:#111;'> 419B </span>","children":null,"spread":false},{"title":"readAsDataUrl.js <span style='color:#111;'> 391B </span>","children":null,"spread":false},{"title":"recorder.js <span style='color:#111;'> 5.46KB </span>","children":null,"spread":false},{"title":"arrayBufferToBase64.js <span style='color:#111;'> 354B </span>","children":null,"spread":false},{"title":"salt-md5.js <span style='color:#111;'> 198B </span>","children":null,"spread":false}],"spread":true},{"title":"api","children":[{"title":"asr-config.js <span style='color:#111;'> 372B </span>","children":null,"spread":false},{"title":"request.js <span style='color:#111;'> 723B </span>","children":null,"spread":false},{"title":"iat-api.js <span style='color:#111;'> 1.20KB </span>","children":null,"spread":false},{"title":"host.js <span style='color:#111;'> 125B </span>","children":null,"spread":false}],"spread":true},{"title":"index.js <span style='color:#111;'> 380B </span>","children":null,"spread":false}],"spread":true},{"title":".babelrc <span style='color:#111;'> 432B </span>","children":null,"spread":false},{"title":"config","children":[{"title":"webpack.dev.js <span style='color:#111;'> 213B </span>","children":null,"spread":false},{"title":"webpack.prod.js <span style='color:#111;'> 261B </span>","children":null,"spread":false},{"title":"webpack.analyze.js <span style='color:#111;'> 241B </span>","children":null,"spread":false},{"title":"webpack.base.js <span style='color:#111;'> 1.06KB </span>","children":null,"spread":false}],"spread":true},{"title":".eslintignore <span style='color:#111;'> 4B </span>","children":null,"spread":false},{"title":"yarn.lock <span style='color:#111;'> 314.05KB </span>","children":null,"spread":false},{"title":".eslintrc.json <span style='color:#111;'> 799B </span>","children":null,"spread":false},{"title":"package-lock.json <span style='color:#111;'> 422.30KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明