安卓:同时放访问麦克风(RecognizerIntent +自己的应用程序) [英] Android: Accessing the microphone simultaniously (RecognizerIntent + own app)

查看:137
本文介绍了安卓:同时放访问麦克风(RecognizerIntent +自己的应用程序)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的应用程序使用RecognizerIntent记录用户的声音,做一些语音识别。

my app uses the RecognizerIntent to record the user's voice and doing some speech recognition.

现在,我想的结果进行比较,以一些开源的语音识别引擎。他们最需要一个音频文件作为输入。我的想法是,捕捉到从Android的麦克风的声音,并开始RecognizerIntent在同一时间。但似乎,在访问麦克风是唯一的。

Now, I'd like to compare the results to some open source speech recognition engines. Most of them take an audio file as input. My thought was, to capture the sound from the Android's microphone, and start the RecognizerIntent at the same time. But it seems, that accessing the microphone is exclusive.

  1. 是否有可能使用RecognizerIntent有记录的音频流?
  2. 是否有可能有两个Activites?
  3. 同时访问麦克风

谢谢!

推荐答案

我试图找到一个解决同样的问题,还没有成功。我们探讨的另一个方法是访问谷歌用来识别的Web服务。我发布了一个问题,在<一个href="http://stackoverflow.com/questions/4055830/googles-voice-search-speech-recognition-service">Google's语音搜索语音识别服务,但它仍然无人应答。

I have tried to find a solution to the same problem and have not had success. One other approach we explored was to access the web service that Google uses for recognition. I posted a question at Google's voice search speech recognition service, but it still goes unanswered.

目前正处于一个很好的职位<一href="http://stackoverflow.com/questions/2319735/voice-recognition-on-android-with-recorded-sound-clip">Voice承认在Android与录制的声音片段?的处理这个问题,我相信答案来自一个谷歌员工。

There was a good post at Voice recognition on android with recorded sound clip? that dealt with this question and I believe the answer came from a Google employee.

这篇关于安卓:同时放访问麦克风(RecognizerIntent +自己的应用程序)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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