简体   繁体   English

用html5说文字

[英]speak text using html5

I've been looking on the web for a while and can't seem to find api for you to make html5 speak predefined text. 我已经在网上寻找了一段时间,但似乎找不到能使html5说出预定义文本的API。 I have a list of numbers in an array and I want html5 to speak the numbers in 1 second intervals. 我在数组中有一个数字列表,我希望html5以1秒的间隔说出这些数字。 Anyone know how to make html5/ javascript talk numbers? 有人知道如何制作html5 / javascript通话号码吗?

您可以使用Microsoft SAPI来创建将文本转换为语音的应用程序,但是很难找到一些很好的教程,几乎只能是在线文档。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM