Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android: Accessing the microphone simultaneously (RecognizerIntent + own app)

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

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. Is it possible to use the RecognizerIntent with a recorded audio stream?
  2. Is it possible to access the microphone simultaneously with two Activites?
like image 773
Herr K Avatar asked Jan 12 '11 12:01

Herr K


People also ask

What is the function of voice input?

Voice input technology, also known as speech-to-text or voice recognition technology, allows the user to produce text or do some other function using their voice.


1 Answers

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.

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.

like image 121
Michael Levy Avatar answered Oct 02 '22 13:10

Michael Levy