Click here to Skip to main content
15,346,923 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have been using Speech Recognizer for this purpose but it only convert the external audio not the audio played by phone.

So how can I convert phone internal audio to string so that I can search keyword in it!!
Below is how it used my Speech recognizer to convert audio from external but i want to convert its internal audio!!

What I have tried:

Intent intent = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH);
intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL, RecognizerIntent.LANGUAGE_MODEL_FREE_FORM);
intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE, Locale.getDefault());

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900