Saving the audio file when using Android's speech recognition
Is there a way to save the file that is recorded when using Android's voice/speech recognition software? I tried the alternative of both recording and using the speech recognition at the same time, but this doesn't seem to work; probably because Android itself won't let two activities use the microphone at the same time. Of course, finding where (and if) the 开发者_Python百科file is saved would be much better.
Thanks!
When using RecognitionListener, the function onBufferReceived reads the speech into a buffer, which you can collect.
精彩评论