javascript - 使用带有 SpeechSynthesisUtterance 的 java 脚本的泰米尔语语音响应?
问题描述
当我为此目的做基于语音的项目时,我想用我尝试过的 SpeechSynthesisUtterance 以泰米尔语返回我的泰米尔语输入,但我没有得到确切的声音。请任何人建议我,让我知道我做错了什么。
这是我的代码:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
</head>
<body>
<script>
var utterance = new SpeechSynthesisUtterance('Hello,உங்கள் பதிவு செயல்முறை நிறைவடைந்தது');
utterance.lang='ta-IN'; // for US english, en-GR for british
window.speechSynthesis.speak(utterance);
</script>
</body>
</html>
解决方案
推荐阅读
- python - 如何向dict键添加多个值?
- amazon-web-services - 使用备用域名和自定义 SSL 在 CloudFront 后面访问被拒绝的 S3 存储桶
- c++ - 具有多个参数的 masm x64 上的 Printf
- forms - 从一个表单中插入同一个实体 3 次
- arrays - array3d 和 array2d 之间的荒谬性能差异
- android - 如何使用实现 'com.google.firebase:firebase-auth:16.0.3:15.0.0' 不起作用
- reactjs - 如何使用 GraphQL、Firebase 和 Gatsby 查询关系数据
- angularjs - 为多个数组动态添加输入
- html - 对齐卡片内的复选框
- apache-kafka - 如何发现和过滤 Kafka Streams 中的重复记录