text-to-speech

How to use Index Marks in “speech-dispatcher”?

扶醉桌前 提交于 2019-12-08 08:41:28
问题 So, question like in theme: "How to use Index Marks in speech-dispatcher?" I hear many about it but can't find any tutorial with how to use it in SPD_MODE_THREADED. The main problem is when you send "SPEAK" command, you can't change data mode to SPD_DATA_SSML. And I think I doing something wrong. So, who knows how to use this Index Marks, tutorials is very acceptable too. Thank you! 回答1: Solved , this is the way to set index marks in speech-dispatcher: pthread_mutex_lock( m_connection->ssip

FreeTTS - java.lang.ClassNotFoundException: javax.speech.EngineCentral

点点圈 提交于 2019-12-08 07:39:21
问题 I have a problem, and I know this might similiar to the ones that are online, but I have followed every instruction I have found online and I am still getting this problem. Basically I am making a GUI with a Virtual Keyboard, and whatever the user types, I want the user to be able to click a button and I want a speech synthesis to convert the text-to-speech. I have looked online and found that the easiest and most common open software used was freeTSS. I have installed freeTSS and followed

how can i use japanese google tts engine in my android app without change any device setting

落花浮王杯 提交于 2019-12-08 07:37:35
问题 I am developing a Japanese study app. i wanna hear japanese pronunciation in my app. i initialize tts like this private TextToSpeech tts; private void initTTS() { tts = new TextToSpeech(this, new TextToSpeech.OnInitListener() { @Override public void onInit(int status) { if(status == TextToSpeech.SUCCESS) { Locale loc = new Locale("ja_JP"); int result = tts.setLanguage(loc); if(result == TextToSpeech.LANG_MISSING_DATA || result == TextToSpeech.LANG_NOT_SUPPORTED) { Intent installIntent = new

Text to Speech in ASP.NET

只谈情不闲聊 提交于 2019-12-08 07:30:53
问题 I would like to do some japanese text to speech on my dedicated windows 2003 x64 server with .net framework, using c# I found something on google, but requires to install a lot of files on the server... i don't like, for stability issues: there is another option, like a linked dll or something? 回答1: You can use Microsoft Speech SDK. It's a set of COM APIs containing TTS and SR engines. I'm not sure if it contains Japanese TTS though. 回答2: What you most likely want is the Microsoft Speech

Microsoft SpeechSynthesizer crackles when outputting to files and streams

核能气质少年 提交于 2019-12-08 05:52:27
问题 I'm writing a thing that uses the SpeechSynthesizer to generate wave files on request, but I'm having problems with crackling noises. The weird thing is that output directly to the sound card is just fine. This short powershell script demonstrates the issue, though I'm writing my program in C#. Add-Type -AssemblyName System.Speech $speech = New-Object System.Speech.Synthesis.SpeechSynthesizer $speech.Speak('Guybrush Threepwood, mighty pirate!') $speech.SetOutputToWaveFile("${PSScriptRoot}\foo

Adding text to speech functionality to iOS app

喜欢而已 提交于 2019-12-08 05:50:46
问题 I'd like to implement such functionality in my app, and AFAIK, the only choice is to use a third-party library, so I've been looking for possible options. I've found that OpenEars seems to be one of the best free and open-source libraries for that purpose, and it works offline, but it only supports English language and I'd want to offer multilanguage text to speech, at least for English, Portuguese, Spanish and French. I've read that, for multilanguage support, Google TTS performs well, but

Using AVSpeechSynthesizer/AVSpeechUtterance for Text-To-Speech will not work if SpeakSelection is not enabled in device's Accessiblity settings

三世轮回 提交于 2019-12-08 05:48:56
问题 I use AVSpeechSynthesizer and AVSpeechUtterance for text-to-speech. It works fine, but the User must enable SpeakSelection feature in his/her device's accessibility settings. Is there a way to do it for them, or at least check the settings and warn them? 回答1: Maybe you can try to say something, attach delegate and measure duration of speaking. If duration of speaking out yours text is near zero, user should check settings/download voice or so! 来源: https://stackoverflow.com/questions/26181764

Using AVSpeechSynthesizer/AVSpeechUtterance for Text-To-Speech will not work if SpeakSelection is not enabled in device's Accessiblity settings

落花浮王杯 提交于 2019-12-08 05:16:19
I use AVSpeechSynthesizer and AVSpeechUtterance for text-to-speech. It works fine, but the User must enable SpeakSelection feature in his/her device's accessibility settings. Is there a way to do it for them, or at least check the settings and warn them? Maybe you can try to say something, attach delegate and measure duration of speaking. If duration of speaking out yours text is near zero, user should check settings/download voice or so! 来源: https://stackoverflow.com/questions/26181764/using-avspeechsynthesizer-avspeechutterance-for-text-to-speech-will-not-work-if

using multiple variables to open different links

时光总嘲笑我的痴心妄想 提交于 2019-12-08 05:02:36
问题 Edit, Updated see my main goal is first to let the user request a specific (book_name) by the voice (speech to text) then the book open to read it loudly (text to speech) and the last step is to print this book to braille, my stuck points is I didn't found a way to open the book as pdf so I just left him as a text area, and I don't know how to convert the text to braille letters with this code https://gist.github.com/meh/141520 My goal is to open different pages when calling different

converting text to speech java code

你说的曾经没有我的故事 提交于 2019-12-08 01:39:18
问题 I dont understand this syntax error , insert ")" to complete MethodInvocation Syntax error, insert ";" to complete Statement at demojsapi.main(demojsapi.java:46) I am actually working on a java project converting text to speesh with this code : import javax.speech.*; import java.util.*; import javax.speech.synthesis.*; public class demojsapi { String speaktext; public void dospeak(String speak,String voicename) { speaktext=speak; String voiceName =voicename; try { SynthesizerModeDesc desc =