I'm doing some basic command recognition and using Google Search Input API for that. However I want to capture audio myself, preprocess the audio (denoise, boost amplitude, etc), send those modified audio to the recognizer and obtaining results. Is it possible?
I know you can use SpeechRecognizer
along with RecognitionListener
to obtain audio using onBufferReceived
method. However I want to do preprocessing instead of postprocessing. Is there any workaround/hack to feed google recognizer with processed data?