r/androidapps•
btapi

In Automate, can I do speech to text from audio files?

QUESTION

I want to do this, but not sure how.

Could you (including u/ballzak69 , sorry for mentioning) please help me?

Thank you.

Posted Oct 27, 2017, 2:56 AM UTC

78
ballzak69•

No. The Android API doesn't support it.

2
btapiOP•

Okay, thanks for the answer! Then is it possible to do voice recognition while recording the audio input at the same time?

1
ballzak69•

Maybe. Try using an Audio record block before the Speech recognition block, then an Audio record stop block afterwards.

2
btapiOP•

I tried it, and voice recognition fails with

java.net.SocketException: Speech recognizer network error

, while voice recognition alone works well. After a little web search, I found that this suggests a possible solution. I hope there exists this feature, but it's up to you, of course. Thank you for the suggestion and this amazing app anyway.

1
ballzak69•

If you're using a Samsung device, please read: https://stackoverflow.com/a/24593835/445360

Replacing the built-in Android speech recognition API with an third-party online service will not be possible since they're too expensive for use in a free app.

2