or is there any library that I can use?
What I want is to record a audio, and then display the text recognized. Thanks a lot.
Yes, please do a google search next time, http://code4reference.com/2012/07/tutorial-android-voice-recognition/
Alternately, if you want more control you can use SpeechRecognizer, Is there a way to use the SpeechRecognizer API directly for speech input?
Related
I want integrate the algorithm which is used by paytm to speak amount like 20rs done successfully. so i want to implement same functionality can anyone suggest that how i can achieve this with india voice accent in android or kotlin.
You can use speak() method of android.speech.tts.TextToSpeech class
and using the same you can convert a text to speech (audio)
Is it possible to implement Voice Interactions for Android 4.4?
If it possible so how to implement it?
https://io2015codelabs.appspot.com/codelabs/voice-interaction#1
You can interact with your phone using Speech to text .while you speak.you can convert your speech to Text(String) and check it with a condition.the you can use Text to speech for getting audio output like google now.
refer this for speech to text and Text to Speech
We can see on Android reference that API added since API level 23 (M) check here. So you can't use it in 4.4.
The only way to to do Voice interactions with previews API version is to use TextToSpeech API, use SpeechRecognition service or implement SpeechListener interface (use SpeechRecognizer to do that) in order to do ASR.
I hope this help you.
See you ;).
I know I can use the Android SpeechRecognizer API for speech recognition, but that API is meant for pressing a button, saying something, and then having it spit the text out. I'm wondering if there's a way to use a pre-recorded file (3gp) on the device and run that through some built-in library. All of my searches have only brought up the SpeechRecognizer, which can't use audio files.
As I have found, it isn't possible with android's API, but there may be a way around it.
Try this url.
EDIT:
I haven't tested it myself, it doesn't really look like it's supported, but check the link I guess.
I hope this helps!
I want to be able to change the voice in the text to speech API such as change the:
Voice from female to male.
Make the voice more clear
Change the speed of the voice
Please can someone let me know if this is possible.
Thanks.
You can provide your own conversions for specific strings via addSpeech(). There is no documentation for how you can substitute your own text-to-speech engine, though, AFAICT.
i want to develop apps based on speech to text conversion.can you please share your suggestions and how to develop this app
This is probably a good start:
http://developer.android.com/resources/articles/speech-input.html
Yes it should be possible Android has a Speech to Text APi in it. Get the user input as speech and convert it into String(The API Does it for you automatically). Based on your string output you can do operations on your application.
Check this post for getting more info on speech to text API
http://android-developers.blogspot.com/2009/09/introduction-to-text-to-speech-in.html