text-to-speech

text to phonemes converter

主宰稳场 提交于 2019-11-29 03:16:29
问题 I'm searching for a tool that converts text to phonemes, (like text to speech software) I can program one but it will not be without errors and takes a lot of time! so my question is: is there a simple tool for converting e.g. "hello" to "HH AH0 L OW1" maybe some command-line tool so i can capture the stdout? i'm searching for the phonemes in 'Arpabet' style (see the 'hello' example). espeak does something like that but the output is not in Arpabet style and the phonemes are not split by some

Setting language for TTS programmatically?

北慕城南 提交于 2019-11-29 02:17:27
I have written a small Android Demo to use TTS in different languages. I have a layout with two buttons, Spanish and English. Pressing the button triggers an utterance in the language selected. However, I can't change the language (setLanguage (Locale locale)). I can do it by hand, using the phone settings and changing the TTS language to US, UK, Italian, German, etc, but my code doesn't seem to work. Could you tell me where the problem is? Thank you!! package com.ignacio.SpeakAPP; import android.app.Activity; import android.os.Bundle; import android.speech.tts.TextToSpeech; import android

Exception with Freetts when using kevin or mbrola

心已入冬 提交于 2019-11-29 00:05:52
I am trying to run a program using freetts. I am able to compile the program however I am not able to use kevin or mbrola voices I get the follwing output message at the end System property "mbrola.base" is undefined. Will not use MBROLA voices. LINE UNAVAILABLE: Format is pcm_signed 16000.0 Hz 16 bits 1 channel big endian import javax.speech.*; import javax.speech.synthesis.*; import java.util.*; class freetts { public static void main(String[] args) { try{ Calendar calendar = new GregorianCalendar(); String sayTime = "It is " + calendar.get(Calendar.HOUR) + " " + calendar.get(Calendar.MINUTE

Any free Text To Speech for browsers?

非 Y 不嫁゛ 提交于 2019-11-28 23:36:34
Wondering if there is any Text to Speech software available as a plug in for IE or Firefox. WebAnywhere is a university project aimed at creating a site that allows you to use text to speech from any browser at any location, without installing anything or using any plugins. You can try it out and see for yourself. I was pretty impressed with it when I first heard of it. There is also NVDA (NonVisual Desktop Access) which is an open source general purpose screen reader for Windows. It is built in for Safari on Mac OSX. Highlight any text and go to the menu, Safari > Services > Speech > Start

Using list preference in Android

天大地大妈咪最大 提交于 2019-11-28 21:01:00
问题 I have a text to speech application where the user can select a language and also select a male or female voice. The problem is that for each language there are different strings used to called the male and female voice but in my preference I only have two options (male and female). <string-array name="Language"> <item>English (US)</item> <item>English (UK)</item> <item>French (France)</item> <item>Spanish (Spain)</item> <item>Italian</item> </string-array> <string-array name="languageAlias">

ms speech from command line

落花浮王杯 提交于 2019-11-28 17:15:44
Is there a way to use the MS Speech utility from command line? I can do it on a mac, but can't find any reference to it on Windows XP. Thanks. I don't think there's a command line tool for it, but someone wrote one: http://krolik.net/post/Say-exe-a-simple-command-line-text-to-speech-program-for-Windows.aspx My 2 cents on the topic, command line one-liners: on Win using PowerShell.exe PowerShell -Command "Add-Type –AssemblyName System.Speech; (New-Object System.Speech.Synthesis.SpeechSynthesizer).Speak('hello');" on Win using mshta.exe mshta vbscript:Execute("CreateObject(""SAPI.SpVoice"")

open source text to speech library [closed]

五迷三道 提交于 2019-11-28 15:40:17
Does any one know of a good text to speech library. It needs to be open source and provide C API? PS: I've already done a search, but I'd like recommendations from people who have actually used these APIs you can go for Festival worked nice for me. Matt G Festival is an open source text-to-speech system. Stanford uses it for their Natural Language Processing class, and they have up-to-date instructions about installation on this cs224s homework page . Installation on Mac OS X requires a couple patches, which they've wrapped into a handy install script . There are alternate voices you can use

How come millisUntilFinished cannot detect exact CountDownTimer intervals?

主宰稳场 提交于 2019-11-28 14:01:39
Hey all, so there is a rather small but annoying problem with the CountDownTimer.. Currently I have an interval set to 1000. And I am trying to detect the amount of milliseconds left in my onTick() method. So that I can use Text To Speech when there are 20 seconds left, 10 seconds left, etc. Well if I use: //Speak when 20 seconds left if (millisUntilFinished == 20000) { tts.speak("You have 20 seconds left.", TextToSpeech.QUEUE_FLUSH, null); } The timer is not able to detect the 20000 milliseconds exactly. So I have to resort to using: //Speak when 20 seconds left if (millisUntilFinished <

SpeechSynthesizer.SelectVoice() Fails with “No matching voice is installed or the voice was disabled”

人走茶凉 提交于 2019-11-28 13:03:39
I am modifying Scott Hanselman 's BabySmash code to support other languages. I installed the speech platform and a new language per these steps . The language now shows up in the registry: The language can now be selected and played by Windows: System.Speech.Synthesis.SpeechSynthesizer.GetInstalledVoices() now returns the voice. However SelectVoice() in the code below throws the error "System.ArgumentException: Cannot set voice. No matching voice is installed or the voice was disabled." string phrase = null; SpeechSynthesizer speech = new SpeechSynthesizer(); CultureInfo keyboardCulture =

Arabic TTS (Text To Speech) Library for Android [closed]

不羁的心 提交于 2019-11-28 11:40:56
In there an Arabic TTS for Android? Best if for free. other choices are Nuance , and Voxygen Yes - according to this link . Do a ctrl+f search for "arabic", you will see it. It is called "Star Translate" and it says it is free :). I'm not so sure if it is exactly a TTS or just a translator, but the website is titled "Speech Enabled Applications", so it's probably worth a try. Also, according to this link , SVOX offers an Arabic TTS as well. Let me know if any of these work :). 来源: https://stackoverflow.com/questions/8851384/arabic-tts-text-to-speech-library-for-android