As of now, in Android demo app provided, we need to provide the audio wav file location. when we click on infer, it gives us the result. I modified the code such that, now it takes microphone input. On clicking start button, we can speak our content and the app continuously writes the audio buffer onto a file. Once, we click the stop button, inferencing is done on the wav file generated.
I now, want to perform speech-to-text on the go. Similar to google assistant, where a person continuously speaks and speech is getting converted to text simultaneously.
Can anyone guide me to the code which I can modify to change the input from wav file to wav buffer for stt method of DeepSpeechModel class.