<!--
* @Author: xss 995550359@qq.com
* @Date: 2022-09-23 15:16:20
* @LastEditors: xss 995550359@qq.com
* @LastEditTime: 2022-09-23 17:41:02
* @FilePath: /打开:关闭摄像头:拍照/百度开源文字转语音tts播报.html
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
<button onclick="speak()">开始播报</button>
<button onclick="pause()">暂停</button>
<button onclick="resume()">播放</button>
前端实现tts(文字转语音)
最新推荐文章于 2024-05-21 14:28:57 发布