TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

JavaScript Speech Recognition

14 点作者 hbhakhra超过 8 年前

3 条评论

moron4hire超过 8 年前
&gt; Chrome ends the listener after a given amount of time, so you&#x27;ll need to hook into the end event to restart the speech listener<p>Which will burn up your battery on a mobile device. Chrome implements this by piping your audio stream to their servers. Not saying it should be avoided completely, just that you should know this going in.<p>Also, it is not enabled by default in Firefox, you have to enable it in about:config, which means you certainly can&#x27;t count on it as a public user-facing feature. It&#x27;s not implemented in any other browsers, as far as I&#x27;m aware.<p>[0] <a href="https:&#x2F;&#x2F;developer.mozilla.org&#x2F;en-US&#x2F;docs&#x2F;Web&#x2F;API&#x2F;SpeechRecognition" rel="nofollow">https:&#x2F;&#x2F;developer.mozilla.org&#x2F;en-US&#x2F;docs&#x2F;Web&#x2F;API&#x2F;SpeechRecog...</a>
yakster超过 8 年前
There is this library as well: <a href="https:&#x2F;&#x2F;github.com&#x2F;TalAter&#x2F;annyang" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;TalAter&#x2F;annyang</a>
评论 #12601455 未加载
hbhakhra超过 8 年前
This was pretty mind blowing to me to see that speech recognition is built right into the browser now.
评论 #12600703 未加载