故障而在Android上使用Chrome的webkitSpeechRecognition录制音频 [英] Failure to record audio while using webkitSpeechRecognition on Android Chrome

查看:516
本文介绍了故障而在Android上使用Chrome的webkitSpeechRecognition录制音频的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Chrome的我跑语音识别的同时录制音频。结果
记录使用 AudioRecorder 其内部调用 getUserMedia 。结果
语音识别是使用 webkitSpeechRecognition

In Chrome I'm recording audio while running speech recognition.
The recording is using AudioRecorder which internally calls getUserMedia.
The speech recognition is using webkitSpeechRecognition.

在桌面上(+ Win7的最新的Chrome),它完美的作品。结果
在Android(也最新的Chrome),我得到一个非此即彼的行为。当识别工作时,录音输出仅仅是一个安静的文件。结果
当记录在工作(似乎随机到目前为止)的语音识别不输出任何结果。结果,
我没有得到任何错误可见无论哪种方式

On the desktop (Win7 + latest Chrome) it works perfectly.
On Android (also latest Chrome) I get an "either or" behavior. When the recognition is working, the recording output is just a quiet file.
When the recording is working (seems random so far) the speech recognition doesn't output any results.
I get no visible error either way

您可以看到这个其他问题处理这个组合,虽然它可能是在桌面上进行测试,并没有遇到同样的问题。

You can see this other question dealing with this combination, although it was probably tested on a desktop and didn't run into the same problem.

推荐答案

一个多一点,比去年同期的WebKit做语音识别在Android这是可以做到的语音识别和保存从中识别已完成的音频文件。我们通过发送声音到其他语音识别和结合的结果用这个很好的优势。我相信这是4.0版本的Andr​​oid的那把这种能力了。我认为去除是故意的(原因我就不在这里赘述了)。我们还没有发现在Android的解决方案。

A little more than a year ago doing WebKit speech recognition on android it was possible to do speech recognition and save the audio file from which the recognition was done. We used this to good advantage by sending the audio to other speech recognizers and combining results. I believe it was version 4.0 of android that took that capability away. I think that removal was intentional (for reasons I won't go into here). We still have not found a solution on Android.

FYI:谷歌语音识别的前景在不断变化。一个重要的近期的变化是,在页面上重复语音识别需要一个安全证书。如果没有它,你必须按钮,点击屏幕上,以便允许每个认可。

FYI: The landscape of Google speech recognition is changing. An important recent change is that repeated speech recognition on a page requires a security certificate. Without it you have to "button click" on the screen to permit each recognition.

这篇关于故障而在Android上使用Chrome的webkitSpeechRecognition录制音频的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆