Android:同时访问麦克风(RecognizerIntent +自己的应用) [英] Android: Accessing the microphone simultaneously (RecognizerIntent + own app)

查看:211
本文介绍了Android:同时访问麦克风(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. 是否可以同时使用两个Activite来访问麦克风?

推荐答案

我试图找到解决同一问题的方法,但没有成功.我们探索的另一种方法是访问Google用于识别的Web服务.我在 Google的语音搜索语音识别服务上发布了一个问题,但问题仍然存在未回答.

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.

在录制声音的android上的语音识别剪辑?处理了这个问题,我相信答案来自Google员工.

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.

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

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