speechapp:简单的应用程序语音识别

时间:2021-04-09 22:43:13
【文件属性】:
文件名称:speechapp:简单的应用程序语音识别
文件大小:41KB
文件格式:ZIP
更新时间:2021-04-09 22:43:13
JavaScript 语音应用 简单的应用程序语音识别 添加的选项助手:语音: const dictate = ( ) => { recognition . start ( ) ; recognition . onresult = ( event ) => { const speechToText = event . results [ 0 ] [ 0 ] . transcript ; paragraph . textContent = speechToText ; if ( event . results [ 0 ] . isFinal ) { if ( speechToText . includes ( 'what is the time' ) ) { speak ( getTime ) ; } ; i
【文件预览】:
speechapp-main
----README.md(665B)
----Capture.PNG(38KB)
----index.js(2KB)
----images()
--------microphone.png(16KB)
----index.html(960B)
----style.css(649B)

网友评论