开发者

Saving the audio file when using Android's speech recognition

开发者 https://www.devze.com 2023-02-18 04:00 出处:网络
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, b

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消