Pandorabot Speech Interfaces - android

I want to create a application android that use pandorabot with Speech Interfaces like CallMOM
https://play.google.com/store/apps/details?id=com.pandorabots.callmom
Is there any example ?
Thanks

The algorithm is pretty simple:
recognize user input
send it to pandorabots
get result back
synthesize it with TTS engine
go to step 1
You can learn more about speech recognition on Android from answer on Is there a way to use the SpeechRecognizer API directly for speech input?
You can learn more about TTS on Android from answer on Android TTS speech synthesizer

Here is an example project that should give you the basics idea of building an Android app that talks to the Pandorabots API.

Related

Voice speak out with amount like paytm

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 on Android 4.4?

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 ;).

Is it possible to customize Android google speech recognition?

I have few questions to ask related to Google Speech recognition in Android. I have developed an Android application using Google Speech Recognition online service. Now, to further improve it, I need to know answers for the below questions.
Can I add a "custom dictionary" either in offline recognition or online recognition?
Can I command it to do Grammar based recognition, keyword recognition and keyphrase recognition? Right now it seems like there is no options for such, instead of common recognition.
Can I change the "listen timeout" ? It seems like how much I change, it simply do not work.
It's not possible with Android Speech API, but you can use CMU Sphinx project for all of the above.
This is the correct answer, because I have tried and done it.
Can I add a "custom dictionary" either in offline recognition or
online recognition?
Not possible
Can I command it to do Grammar based recognition, keyword recognition
and keyphrase recognition? Right now it seems like there is no options
for such, instead of common recognition
Can't command it to do grammer based recognition but can detect keywords and keyphrase, you have to write custom code with if-else condition do do that. To do this you actually need detect and convert word by word instead of waiting for the entire sentence is completed by the user and android voice recognition service automatically get closed to give you the result. This is possible and it is known as "mid speech interim"
For keyword recognition see this video
Can I change the "listen timeout" ? It seems like how much I change,
it simply do not work.
No, but you can code it in a tricky way to do continuous recognition. Aboce youtube video does continuous recognition as well. For an application which does the same refer to this link.

Keyword Spotting in Speech on Android?

I need to use speech input to insert text. How can i detect keyword when I'm speaking ?
Can i do this with Android Speech Input or I need external library ?
Any ideas ?
Thanks
Keyword detection task is different from a speech recognition task. While second tries to understand the text being spoken and check all possible word combinations, keyword spotting usually check two hypothesis - word is here or garbage is here. Its way more efficient to check keyword presence but it requires custom algorithm. You can implement one with the open source speech recognition toolkit like CMUSphinx.
http://cmusphinx.sourceforge.net
Which runs on Android too, you can check
Voice command keyword listener in Android
to see how to integrate it.
Absolutely.
See this for some code that detects the "magic word"
Just launch an Intent with ACTION_RECOGNIZE_SPEECH and then check the results for your keyword. Checking for the keyword can be complicated, but this code should get you started.
https://github.com/gmilette/Say-the-Magic-Word-
I used the Snowboy library for this task
Website: https://snowboy.kitt.ai
Github: https://github.com/kitt-ai/snowboy
It is a C library but it can be included in Android code using the JNI. The only downside to it is that you have to train it with audio samples if you want to use another keyword than the ones that come with the library.

speech to text conversion in android

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

Categories

Resources