Questions tagged [android-speech-api]

The API for Android platform that provides support for both speech recognition and speech synthesis.

The API for Android platform that provides support for both speech recognition and speech synthesis.

62 questions
0
votes
1 answer

Can Word error rate help to analyze stammering?

I am making Android application that takes input audio. And detects stammering. Can word error rate detect stammering? Java
0
votes
1 answer

Speak failed: TTS engine connection not fully set up

I am developing a research app in which the phone reads the users questions from a form using voice (I'm using TextToSpeech to read the questions) and the user has to fill the form by talking for which I am using the SpeechRecognizer class. I am…
0
votes
1 answer

How to know if text to speech is finished talking?

I am trying to make a text to speech app and all my code is fine. I want to execute some code when it has completed speaking. I have no idea what to write and where to write that code. I tried finding many solutions but they did not work for…
0
votes
0 answers

audio record testing

I have a Google Speech API android project and I want to create test for the speech recognition but I don't see how I can do it, I saw that some people have the "how old is the Brooklyn Bridge" (audio.raw file) but I don't see how to use it in my…
jordiPons
  • 164
  • 5
  • 21
0
votes
1 answer

No supported Languages for SpeechRecognizer on Android 8 Oreo

Querying for the system for supported SpeechRecognizer Languages using this method I've noticed that on Android 8 (Oreo) the returned results are empty. I've tested this on a Google Pixel and a Google Pixel C both running Android 8. It all works on…
Bernd Kampl
  • 4,837
  • 4
  • 21
  • 26
0
votes
1 answer

Android is ignoring RECORD_AUDIO permission and Speech API implementation

I'm trying to get Speech Recognition working for my Android 2.3.3 app but something fundamental is missing. First off, at the top of my AndroidManifest.xml file I have:
smeeb
  • 27,777
  • 57
  • 250
  • 447
0
votes
0 answers

Android-speech-api + pocketsphinx android cause ERROR_SPEECH_TIMEOUT

After listening for a keyword (using pocketsphinx) i try to start the google speech recognizer but getting many calls of onRmsChanged() with negative numbers and than get the…
adi181188
  • 23
  • 5
0
votes
0 answers

Increase Speed Recognition Engine accuracy in Android

I am using SpeechRecognizer and RecognizerIntent for speech to text in android and here is my code: recognizerIntent = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH); recognizerIntent.putExtra(RecognizerIntent.EXTRA_LANGUAGE,…
0
votes
1 answer

Android SpeechRecognizer words pool / context

When using Android SpeechRecognizer I can see that it also uses my contacts as source for words to resolve some of what been said and translate it into text. Is there an api to supply a bank of words for the speech recognition engine, instead of…
TacB0sS
  • 10,106
  • 12
  • 75
  • 118
0
votes
1 answer

Android offline speech recognition without a pop up dialog

I have followed this stackoverflow post and created an activity. Now on click of a button I start speech recognition but it returns with error "ERROR_SERVER" as soon as I click on the button, It simply does not listen. It does not make any…
Ishaan
  • 3,658
  • 2
  • 23
  • 39
0
votes
1 answer

Executing code after MediaPlayer is done playing?

I was wondering I'm working on an Android app where MediaPlayer/TextToSpeech is used to tell the user something and then a Speech Recognition object opens up after the MediaPlayer/TextToSpeech finishes and another is played after they answer the…
0
votes
0 answers

Android Project Compile Issues - From Eclipse to Android Studio

I am attempting to learn special functions of Android and have attempted to compile the app project listed below, but unfortunately it does not appear to compile on Android Studio. Is anyone able to help on this issue? It will be very beneficial for…
Marcus
  • 5
  • 1
  • 7
0
votes
0 answers

Adding a regional language to Android speech

I am new to android development in speech. I want to know whether it is possible to add a new regional language to android speech package (may be by creating new language model and dictionary and adding it to android). Plz help...
0
votes
1 answer

does Android SpeechRecognizer can recognize only English?

I am using following code to recognize text. At first I invoke the dialog to choose language for recognition. That I pass that argument to RecognizerIntent. Unfortunatly, only "en-US" is recognized on my phone(I also tried "fr-FR" and "ru-RU"). Is…
Yarh
  • 4,459
  • 5
  • 45
  • 95
0
votes
2 answers

how text to speech works in android

I am creating an android application using text to speech capability I used the built in text to speech I only want to know how it has been developed and maintained in the android SDK, if any one knows a termed paper about developing text to speech…
zienaa
  • 17
  • 1
  • 4