text-to-speech

Why am I getting a System.Security.Permissions.SecurityPermission error in my .NET Application?

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-22 01:36:30
问题 I am trying to develop a text-to-speech editor in .NET 3.5 using C#. I encountered the following exception: System.Security.Permissions.SecurityPermission . How to handle it? 回答1: The system is saying that there has been an attempt to do something that is not allowed according to the current policy. More information is needed to give good advice here: 1) What is the full text of the exception message? There are a dozen or so situations that can cause a SecurityPermission so this is important.

Managing text-to-speech and speech recognition at same time in iOS

自古美人都是妖i 提交于 2019-12-21 23:02:24
问题 I'd like my iOS app to use text-to-speech to read to the user some information that it receives from a server, and I'd also like to allow the user to stop such speech by a voice command. I have tried speech recognition frameworks for iOS like OpenEars and I find the problem that it is listening and detecting the information the app itself is "saying" and it intereferes in the recognition of user's voice commands. Has somebody dealt with this scenario in iOS and found a solution for that?

How do I show the TTS Preference Activity Settings Screen, which intent Do I need to call

有些话、适合烂在心里 提交于 2019-12-21 22:41:36
问题 I have implemented the TTS support for reading the Text Strings in my Application, and that works just fine. What I want to achieve is , that the user is able to Open the Preferences for TTS and can make changes according to his/her wish. I know there has to be some intent call that is required to be made to open the Settings Screen, but I am not able to find any thing related to it. Anyone any suggestions? 回答1: Found out, intent = new Intent(); intent.setAction("com.android.settings.TTS

Is there any japanese TTS voice to work with C# SpeechSynthesizer

时间秒杀一切 提交于 2019-12-21 20:37:43
问题 Is there any Japanese voice for C#'s SpeechSynthesizer TTS? If so please state detailed information about it, better if documentation provided. Thanks in advance. 回答1: Microsoft's Agent had a set of free voices including Japanese based on the L&H TTS3000 engine. The engines were SAPI 4 compatible. Unfortunately the Microsoft Agent site seems to be unavailable at the moment 回答2: Microsoft has a list of third-party TTS engines here. In particular, NeoSpeech has a Japanese TTS engine. Also,

How to add new voices to Android Pico TTS?

隐身守侯 提交于 2019-12-21 17:30:32
问题 I want to add new voices (e.g. a female voice or a cartoon voice) to the existing Pico TTS engine that ships with Android. It ships with only one male voice. I know there are other TTS engines that support multiple voices but they are not free. I want my Android application to be able to use multiple voices. Does anyone know how to achieve this? 回答1: The creator of the Pico TTS engine is SVOX, and they are not likely to make it easy for their free offering to compete with their “Classic Text

Java: download Text to Speech from Google Translate

筅森魡賤 提交于 2019-12-21 17:15:22
问题 I am trying to download text to speech from Google Translate using Java. It works fine with English language, but with Japanese it is not successful. Following is my code: try{ String word="〜のそばに"; word=java.net.URLEncoder.encode(word, "UTF-8"); URL url = new URL("http://translate.google.com/translate_tts?tl=ja&q="+word); HttpURLConnection urlConn = (HttpURLConnection) url.openConnection(); urlConn.addRequestProperty("User-Agent", "Mozilla/4.76"); InputStream audioSrc = urlConn.getInputStream

Android: Listen for a voice command (all the time)

血红的双手。 提交于 2019-12-21 16:38:56
问题 I have a fairly popular application in Android market, which allows tens of thousands of its users to press a button and give it a voice command. Then I am able to do many different things, like give them current weather forecast, etc... Anyhow, I came to a point where am getting asked almost every day by users of my app, that they don't want to be pressing a button all the time. They want my app to launch by a trigger word (some specific word command). In that way, app would wake up and ask

add my TTS Engine to Android TTS Serivce like SAPI

筅森魡賤 提交于 2019-12-21 13:02:20
问题 I have developed my own TTS apps in Android. Is there any way to deploy my TTS engine into the OS instead on running the TTS apps, so that other apps can call my TTS? Something like SAPI in MS Window. SVOX can package the engine as apk and after installed, it adds new engines into the Andorid OS, not sure how can I do that same. 回答1: For your text-to-speech engine to show up in the list of available services, you'll need to add the appropriate activities and manifest entries. For API 14 and

AVSpeechUtterance maximum volume really quiet and rate really fast

删除回忆录丶 提交于 2019-12-21 12:17:36
问题 I was toying with adding speech cues to my app and was testing out AVSpeechUtterance in iOS 7, but the default speech rate is REALLY fast. The minimum speech rate is much more understandable. But the maximum volume value of 1 is soooo quiet! I tested it on my iPhone 4 with the volume turned all the way up. Something must be wrong or else how would this be usuable at all. AVSpeechSynthesizer *synthesizer = [[AVSpeechSynthesizer alloc]init]; NSString *mystring = [NSString stringWithFormat:@

Text to speech conversion

痴心易碎 提交于 2019-12-21 03:01:08
问题 I am using OpenEars in my app for speech to text conversion, but now the situation demands that I convert my text to speech. Can I do this using OpenEars only? Has anyone tried this? If so, please guide me on how to do this. Any help will be appreciated. 回答1: Yes it is possible through open ears. You can look at the sample project provided in the Openears itself with the help of FliteController. There is method called say. e.g. -(void)viewDidLoad { [super viewDidLoad]; // This is how to use