文件名称:speechapp:简单的应用程序语音识别
文件大小:41KB
文件格式:ZIP
更新时间:2024-04-29 16:29:53
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)