 <p>Your question and code does not help.</p> <p>In your code it seems you are trying to use Speech to Text(Audio recorder), and you are calling it using TTS (Text to Speech) which does exactly the opposite of what you are trying to accomplish i.e. speech to text.</p> <p>Can you make it a bit more clear what you are trying to do??</p>