I have an audio file (in .m4a / .wav format) stored on the Android device, and I need to transcribe the speech content from it into text.
From my understanding, the built-in SpeechRecognizer API in Android is mainly designed for live speech input via the microphone.
My questions are:
Is it possible to pass an existing audio file into Android’s SpeechRecognizer API to get the transcription?
If not, what would be the recommended way to transcribe pre-recorded audio files on Android?
Are there any open-source projects, libraries, or services that handle this use case (speech-to-text from audio file) directly on Android?
I would prefer solutions that can run on-device, but cloud APIs are also an option if there’s no native way.