text-to-speech

'SAPI does not implement phonetic alphabet selection' exception

你离开我真会死。 提交于 2019-11-30 23:40:29
Whenever I attempt to code any speech recognition program in my laptop,I always get the same messages as mentioned below..I can always compile my code and get the windows form application working..But the problem is, the program will not detect my voice..And the program wont work.. I am very sure my codes works fine as I usually take the codes from youtube videos like : https://www.youtube.com/watch?v=KR0-UYUGYgA and many more.. I am using .NET framework 4 client profile for my projects.. I make reference only to "system.speech"...What might be my problem ? Debug messages that I get : speaker

UWP suitable project solution

荒凉一梦 提交于 2019-11-30 20:52:10
问题 I want rewrite C# Winforms desktop application to Universal Windows Platform, but first of all I'm trying to figure out, what should be suitable for my goal. The reason why I want to use UWP is a quality of Speech Recognition, (maybe also work on other devices, but this is currently very secondary). Here is my previous question Speech recognition for windows desktop application where advised to use UWP with Speech recognition Quickstart: Recognize speech with the Speech SDK for .NET Framework

speak with TTS such as Hindi

落花浮王杯 提交于 2019-11-30 20:36:36
In my application , I wish to know if there is any tts engine that can read hindi text . my code tts.setLanguage(Locale.US); unfortunately Hindi is not supported by Android. See the list of Locales supported below http://developer.android.com/reference/java/util/Locale.html How will i do the hindi locale any help ? Thanks in advance Hindi is supported by Android -- it is just that there isn't a Locale constant for it. If you look at http://en.wikipedia.org/wiki/List_of_ISO_639-1_codes , then hi is the ISO 639-1 code for Hindi. Also note that Android/Java may also use the ISO 39-3 code which

Using TTS on Android: Punctuation is read aloud

≯℡__Kan透↙ 提交于 2019-11-30 20:26:03
CONTEXT: My application is sending sentences to whatever TTS engine the user has. Sentences are user-generated and may contain punctuation. PROBLEM: Some users report that the punctuation is read aloud (TTS says "comma" etc) on SVOX, Loquendo and possibly others. QUESTION: Should I strip all punctuation? Should I transform the punctuation using this kind of API ? Should I let the TTS engine deal with the punctuation? The same user that sees the problem with Loquendo, does not have this problem with another Android application called FBReader. So I guess the 3rd option is not the right thing to

Android TTS doesn't speak

风格不统一 提交于 2019-11-30 20:05:27
I am trying to implement text to speech technology of android in my Activity but I face a strange error. I can't hear any sound, from my code. The speak method works only if I place it in onInit method, else it doesn't speak. My code is as follows : public class GameOverActivity extends Activity implements OnInitListener { private TextToSpeech talker; .... talker = new TextToSpeech(this, this); say("Something",false); ... public void onInit(int status) { if (status == TextToSpeech.SUCCESS) { talker.setLanguage(Locale.US); } else if (status == TextToSpeech.ERROR) { Toast.makeText(this,"Error

Missing languages in TTS android

时光怂恿深爱的人放手 提交于 2019-11-30 19:43:08
I am working on an android application that uses the TextToSpeech functionality provided by google and have followed this example: TTS Example from Google I want to know with this line: int result = mTts.setLanguage(Locale.US); if (result == TextToSpeech.LANG_MISSING_DATA || result == TextToSpeech.LANG_NOT_SUPPORTED) { // Lanuage data is missing or the language is not supported. } What can I do if the Language data is missing off the users device? The app will not continue if the data is not there? Is there a way to allow the user to get the language on their device? I have a test device that

Unable to detect completion of TTS (callback) android.

我只是一个虾纸丫 提交于 2019-11-30 19:35:38
I am developing android application in which I am using text to speech conversion.What I need when I open my application run text to speech conversion. After completion of this I want to do some thing.My code looks like public class Mainactivity extends Activity implements OnInitListener, OnUtteranceCompletedListener{ private static int REQ_CODE = 1; private TextToSpeech tts = null; private boolean ttsIsInit = false; @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); startTextToSpeech(); } private void startTextToSpeech() { Intent intent = new

'SAPI does not implement phonetic alphabet selection' exception

◇◆丶佛笑我妖孽 提交于 2019-11-30 18:15:41
问题 Whenever I attempt to code any speech recognition program in my laptop,I always get the same messages as mentioned below..I can always compile my code and get the windows form application working..But the problem is, the program will not detect my voice..And the program wont work.. I am very sure my codes works fine as I usually take the codes from youtube videos like : https://www.youtube.com/watch?v=KR0-UYUGYgA and many more.. I am using .NET framework 4 client profile for my projects.. I

SpeechToText and running the ACTION_CHECK_TTS_DATA intent

一世执手 提交于 2019-11-30 17:43:34
问题 I've implemented the TextToSpeech integration exactly as mentioned in this blog post. After I've added it to my program it's now interfering with my other intent s. For example: List item User starts app User invokes load activity User picks a file to load, and activity returns fileanme to load in the intent Main activity starts, and realizes it needs to load a filename so it starts doing so The check for TTS needs to be done so I launch the ACTION_CHECK_TTS_DATA intent This pauses the main

Using TTS on Android: Punctuation is read aloud

烂漫一生 提交于 2019-11-30 17:00:14
问题 CONTEXT: My application is sending sentences to whatever TTS engine the user has. Sentences are user-generated and may contain punctuation. PROBLEM: Some users report that the punctuation is read aloud (TTS says "comma" etc) on SVOX, Loquendo and possibly others. QUESTION: Should I strip all punctuation? Should I transform the punctuation using this kind of API? Should I let the TTS engine deal with the punctuation? The same user that sees the problem with Loquendo, does not have this problem