text-to-speech

Are the SpeakProgressEventArgs of the SpeechSynthesizer inaccurate?

瘦欲@ 提交于 2019-12-19 17:48:13
问题 Using the System.Speech.Synthesis.SpeechSynthesizer class in .Net 3.5, the AudioPosition property of the SpeakProgressEventArgs appears to be inaccurate. The following code produces the following output: Code: using System; using System.Speech.Synthesis; using System.Threading; namespace SpeechTest { class Program { static ManualResetEvent speechDoneEvent = new ManualResetEvent(false); static void Main(string[] args) { SpeechSynthesizer synthesizer = new SpeechSynthesizer(); synthesizer

Windows 10 TTS voices not showing up?

独自空忆成欢 提交于 2019-12-19 11:23:08
问题 I installed a few English language packs (US, UK and Canada) with their Speech options and I can access them in Windows 10 setting -> Speech but they doesn't show into text to speech option available from control panel and I can't use the voices with apps ! I can just use default voices which are David and Zira ! Any idea how can I use other voices ? 回答1: Windows 10 has two different TTS engines installed by default. There are the WinRT speech synthesis APIs (in the Windows.Media

How to Predict Failure of Google Text-to-Speech?

廉价感情. 提交于 2019-12-19 10:04:43
问题 On Android, when using a TextToSpeech instance that uses the Google text to speech engine, it seems as though the method isLanguageAvailable() is unreliable. I say this because there are many instances where this method will return "success" (0,1,or 2), but subsequent speak() commands only results in silence. The case I am testing is a Samsung S5 with API 23. It is in airplane mode (no network). I'm assuming that the reason is at least partly because there is no network and therefore it can

SpeechSynthesis in Android-Chrome: cannot change English voice from US English

放肆的年华 提交于 2019-12-19 09:52:29
问题 I'm using the speech synthesis API on Android-Chrome. The issue is that although there are 4 English voices available, it is always US English that is used by the browser, no matter what the code specifies. I can use other languages e.g. French, just not other English voices e.g en-AU, GB, or IN. This code filters British English voice objects from the getVoices array and uses the first to utter the word 'tomato'. The problem is that the word is always pronounced "to-may-lo" not "to-mar-to"

SpeechSynthesis in Android-Chrome: cannot change English voice from US English

主宰稳场 提交于 2019-12-19 09:52:22
问题 I'm using the speech synthesis API on Android-Chrome. The issue is that although there are 4 English voices available, it is always US English that is used by the browser, no matter what the code specifies. I can use other languages e.g. French, just not other English voices e.g en-AU, GB, or IN. This code filters British English voice objects from the getVoices array and uses the first to utter the word 'tomato'. The problem is that the word is always pronounced "to-may-lo" not "to-mar-to"

Microsoft.Speech.Synthesis does not work for Text To Speech BUT System.Speech.Synthesis works.Why?

核能气质少年 提交于 2019-12-19 09:40:39
问题 I just try to run simple microsoft example for Text To Speech using using Microsoft.Speech.dll; using System; using Microsoft.Speech.Synthesis; namespace TTS { class Program { public static void Main(string[] args) { Console.WriteLine("Testing TTS!"); // Initialize a new instance of the SpeechSynthesizer. using (SpeechSynthesizer synth = new SpeechSynthesizer()) { // Output information about all of the installed voices. Console.WriteLine("Installed voices -"); foreach (InstalledVoice voice in

How to create a custom sapi voice for tts

我只是一个虾纸丫 提交于 2019-12-19 08:28:49
问题 I am working on a project which I need to create a custom voice engine for my application. I have seen something like the TTS Builder, but is there someone who understands how applications such as the TTS Builder itself is developed? What is the thing behind SAPI engines? How do they work? How can one construct his/her own? Can I develop my own algorithm? I would prefer to do this in C# if possible 回答1: From what I see, it looks like TTS Builder takes existing voices and allows you to tweak

Android TTS doesn't speak

走远了吗. 提交于 2019-12-19 02:41:13
问题 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) {

How can I save my android tts output in a wav file?

五迷三道 提交于 2019-12-18 16:12:41
问题 I have looked almost everywhere trying to find a way to save my android tts output in an audio file. I looked at these posts: How can I save TTS output in an audio file on android? How can I allow the TTS to write files to my app's directories? but couldn't find/understand the answers. I am using synthesizeToFile() like this: HashMap<String, String> myHashRender = new HashMap<String, String>(); myHashRender.put(TextToSpeech.Engine.KEY_PARAM_UTTERANCE_ID, result); String fileName = "/Android

FreeTTS no audio linux ubuntu - no errors

时光总嘲笑我的痴心妄想 提交于 2019-12-18 13:14:10
问题 I am running Ubuntu 10.10 using Java 6 and can not get FreeTTS to output any audio. I have tried it now on 3 different computers and even asked a buddy of mine to try it on his Ubuntu PC and he had the same problem. There is absolutly no errors that are displayed, after getting the MBROLA i no longer even get the warning about No MBROLA voices detected. blah blah blah.. Using the same computer I ran a virtual box and started Windows XP, i was actually able to get audio when running the