js將文字轉語音播放

<script type="text/javascript"> var msg = new SpeechSynthesisUtterance("hello everyone"); console.log(msg); window.speechSynthesis.speak(msg); </script> 設置播放參數可查看控制檯javascript
相關文章
相關標籤/搜索