In this project, when need use different voice to read, need this cmd:
java -Dmbrola.base=/home/jim/mbrola -jar bin/FreeTTSHelloWorld.jar mbrola_us1
how to realize it in java frame with eclipse?
1. set Setting System Property
Run / Run... -> Java Application -> [New] -> Arguments tab -> VM arguments
2. change voice source
voice = VoiceManager.getInstance().getVoice("mbrola_us1");
from
voice = VoiceManager.getInstance().getVoice("kevin");
2009年9月1日星期二
2009年8月18日星期二
What is SABLE
SABLE: A Standard for Text-to-Speech Synthesis Markup
"SABLE is an XML/SGML-based markup scheme for text-to-speech synthesis, developed to address the need for a common TTS control paradigm. The SABLE specification evolved as an initiative to combine three existing speech synthesis markup languages: 1) SSML, the Speech Synthesis Markup Language; 2) STML, the Spoken Text Markup Language; 3) JSML, the Java Synthesis Markup Language. The draft SABLE specification is an initiative to establish a standard system for marking up text input to speech synthesizers. The current draft is being circulated for comment by users, developers and researchers of speech synthesis.
"SABLE is an XML/SGML-based markup scheme for text-to-speech synthesis, developed to address the need for a common TTS control paradigm. The SABLE specification evolved as an initiative to combine three existing speech synthesis markup languages: 1) SSML, the Speech Synthesis Markup Language; 2) STML, the Spoken Text Markup Language; 3) JSML, the Java Synthesis Markup Language. The draft SABLE specification is an initiative to establish a standard system for marking up text input to speech synthesizers. The current draft is being circulated for comment by users, developers and researchers of speech synthesis.
What is JSML
JSML也代表JScript标识语言。 JSML(Java Speech API Markup Language,Java语音API合成标识语言)是用于有声Web浏览器和有声email中语音合成——text-to-speech(TTS)——的一套标识代码和记号。JSML包括了描述文档结构的文本描述标记和控制文本重音,音调,速率和发音的扬声器指示标记。JSML和另一种叫做口语文本标识语言(STML)的标识语言已经结合在一起形成了Sable,一种指导文本到语音合成的标识语言。 Java Speech API Java Speech API 允许开发人员将语音技术整合到 Java applet 和应用程序的用户界面中。这种 API 规定一个跨平台的接口来支持命令―控制识别器、听写系统和语音合成器。这个综合 API 被分成几个规范:Java Speech API 规范(Java Speech API Specification,JSAPI) Java Speech API 程序员指南 Java Speech API 语法格式规范(Java Speech API Grammar Format Specification,JSGF) Java Speech API 标记语言规范(Java Speech API Markup Language Specification,JSML) 这个 API 没有 Sun 公司的参考实现,但是有许多第三方实现,包括 Speech for Java(可以从 IBM alphaWorks 获得http://www.alphaworks.ibm.com/tech/speech),它使用 ViaVoice 来支持语音命令识别、听写和文本到语音的合成。
订阅:
博文 (Atom)