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
1
vote
0 answers

SpeechRecognizer doesn't timeout when silent

With the recent Google App update (6.14.20.21.arm), the google Speech recognizer stopped working. If you respond within seconds after the recognizer is started , the listener onResult is called. But if we don't respond, and there is no callback…
Libin
  • 16,967
  • 7
  • 61
  • 83
1
vote
2 answers

Android text to Speech

Im trying to use the TextToSpeech class to say text in my app. When I run my code I don't hear anything, the volume is high. What is wrong with my code? Do I need a permission or anything? public class MainActivity extends…
1
vote
0 answers

Can't Open Microphone Error when using an Activity

I am creating an app that using google's api for converting speech to text. The following code works perfectly when I have it set as the main activity. However I am now creating a new app and have copy pasted the xml layout and java file as an…
1
vote
1 answer

Pocketsphinx simply listening for one command

I have successfully created a speech to text app which is able to open activities based on recognising keywords. At the moment for me to start the Speech to text feature I need to click a button. I now do not want to manually press the button and…
1
vote
0 answers

Disabling Samsung TTS term expansion

It appears that Samsung's text-to-speech engine for Android automatically expands certain terms that appear in spoken strings. For example, if a Samsung user has Samsung's TTS engine selected, which I believe is the default, a string like "20 A" is…
spaaarky21
  • 6,524
  • 7
  • 52
  • 65
1
vote
0 answers

Can Android's inbluit feature Google speech to text used by Ionic framework

I'm trying to build an app using Ionic framework, and need to provide a speech to text feature in it. Is it possible to configure Ionic or Cordova plugins to use Android-Google's built-in speech-to-text feature? If yes then how?
Arvind Singh
  • 733
  • 1
  • 10
  • 31
1
vote
1 answer

Text To Speech speak() failure: not bound to the TTS engine in Android Studio

I'm getting an error when trying to use Text To Speech. I have a Button and when I click it I'm getting an error in my logcat saying E/TexttoSpeech: speak failed: not bound to TTS Engine. Here's my cityinfo.class public class CityInfo extends…
1
vote
0 answers

Why Android Text To Speech initialization Is slow?

I am implementing TTS (Text to Speech) support in my Android app. I am showing my code : TextSpeech textSpeech = new TextSpeech(); textToSpeech = new TextToSpeech(this, textSpeech); private class TextSpeech implements…
Akashsingla19
  • 690
  • 2
  • 8
  • 18
1
vote
2 answers

What is the minimum supporting android api level for Google Text to Speech and Samsung Tex to Speech engines?

I am using Text to Speech feature in my Android application. Here I am using Google Text to Speech, Samsung Tex to Speech engines. But I do not have idea from which version (api level) of android OS is supported by Google Text to Speech, Samsung Tex…
Raghu Mudem
  • 6,793
  • 13
  • 48
  • 69
1
vote
1 answer

Android: Why STREAM_MUSIC effected by STREAM_VOICE_CALL?

I am implementing Text to speech feature for my android application. I know Text to Speech will user STREAM_MUSIC as default stream. When i invoke Text to Speech it is speaking with expected volume. But i am wondering, when i invoke Text to Speech…
Raghu Mudem
  • 6,793
  • 13
  • 48
  • 69
1
vote
1 answer

Getting speech to text Android

I have been refering to Android Speech Recognition as a service on Android 4.1 & 4.2 post to try and implement speech recognition in a service. I guess I have got it right. On running in my device I am getting "Ready for Speech" toast message which…
ik024
  • 3,566
  • 7
  • 38
  • 61
1
vote
2 answers

How to get a list of languages supported by the Speech Recognition API on Android?

I found this on stackoverflow: How to set the language in speech recognition on android? . The top answer explains how to do so programmatically by broadcasting an intent with the list of languages to a new activity and you can store that list in a…
yellowbyte
  • 189
  • 1
  • 2
  • 13
0
votes
1 answer

SpeechRecognizer onBeginningOfSpeech() **after** cancel()

In my app's Logcat, I noticed that SpeechRecognizer's onBeginningOfSpeech() is sometimes called after SpeechRecognizer.cancel(). Assuming this is not a SpeechRecognizer bug, in what circumstances this should or could happen? Is there a delay between…
WebViewer
  • 761
  • 7
  • 21
0
votes
0 answers

"android.speech.RecognitionService" - suddenly stopped detecting words "one" to "ten". Detecting "eleven" onwards

Android Speech Recognition Service not detecting (when someone speaks) the numbers one~ten (gives an error: Error:7 - "No-match") but detecting numbers eleven onwards. This was working fine & don't think this is an update issue at our end. Also, I…
0
votes
1 answer

What is the package name of android.speech.RecognizerIntent?

I am using Google speech recognizer intent in my application. It is working well in a normal environment. But this app is being developed for a managed environment Microsoft Intune. As per this link, I need to exempt the speech recognizer intent in…