I have a Google Speech API android project and I want to create test for the speech recognition but I don't see how I can do it, I saw that some people have the "how old is the Brooklyn Bridge" (audio.raw file) but I don't see how to use it in my test, any ideas?
Asked
Active
Viewed 63 times
0
-
Should I somehow mock the microphone? – jordiPons Nov 14 '17 at 17:12
-
How are you trying to do this? Please add some code. – monteirobrena Nov 14 '17 at 17:19
-
That's the problem that I don't know how to send the audio.raw file as a microphone input in my code. I think I should do it using the MediaRecorder class but I don't know how to start. Sorry I'm a newbie using audio in android – jordiPons Nov 14 '17 at 17:29