source: archive/freetts.xml

trunk
Last change on this file was 3f2db3a6, checked in by Pierre Labastie <pierre.labastie@…>, 17 months ago

Remove sect1info tags

They only contain a date tag that is nowhere used.

  • Property mode set to 100644
File size: 10.4 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY freetts-download-http "&sourceforge-dl;/freetts/freetts-&freetts-version;-src.zip">
8 <!ENTITY freetts-download-ftp " ">
9 <!ENTITY freetts-md5sum "692b5ece251fed88539736e55af5f391">
10 <!ENTITY freetts-size "13.5 MB">
11 <!ENTITY freetts-buildsize "92 MB">
12 <!ENTITY freetts-time "0.3 SBU">
13
14 <!ENTITY freetts-testsuite-download "&sourceforge-dl;/freetts/freetts-&freetts-version;-tst.zip">
15 <!ENTITY freetts-testsuite-md5sum "4348c7db928612d4b6f6eb2fd621a949">
16 <!ENTITY freetts-testsuite-size "3.8 MB">
17
18]>
19
20<sect1 id="freetts" xreflabel="FreeTTS-&freetts-version;">
21 <?dbhtml filename="freetts.html"?>
22
23
24 <title>FreeTTS-&freetts-version;</title>
25
26 <indexterm zone="freetts">
27 <primary sortas="a-FreeTTS">FreeTTS</primary>
28 </indexterm>
29
30 <sect2 role="package">
31 <title>Introduction to FreeTTS</title>
32
33 <para>
34 The <application>FreeTTS</application> package contains a speech
35 synthesis system written entirely in the <application>Java</application>
36 programming language. It is based upon
37 <ulink url="http://www.cmuflite.org/">Flite</ulink>: a small run-time
38 speech synthesis engine developed at Carnegie Mellon University.
39 <application>Flite</application> is derived from the
40 <ulink url="http://www.cstr.ed.ac.uk/projects/festival/">Festival</ulink>
41 Speech Synthesis System from the University of Edinburgh and the
42 <ulink url ="http://festvox.org/">FestVox</ulink> project from Carnegie
43 Mellon University. The <application>FreeTTS</application> package is used
44 to convert text to audible speech through the system audio hardware.
45 </para>
46
47 &lfs81_checked;
48
49 <bridgehead renderas="sect3">Package Information</bridgehead>
50 <itemizedlist spacing="compact">
51 <listitem>
52 <para>
53 Download (HTTP): <ulink url="&freetts-download-http;"/>
54 </para>
55 </listitem>
56 <listitem>
57 <para>
58 Download (FTP): <ulink url="&freetts-download-ftp;"/>
59 </para>
60 </listitem>
61 <listitem>
62 <para>
63 Download MD5 sum: &freetts-md5sum;
64 </para>
65 </listitem>
66 <listitem>
67 <para>
68 Download size: &freetts-size;
69 </para>
70 </listitem>
71 <listitem>
72 <para>
73 Estimated disk space required: &freetts-buildsize;
74 </para>
75 </listitem>
76 <listitem>
77 <para>
78 Estimated build time: &freetts-time;
79 </para>
80 </listitem>
81 </itemizedlist>
82
83 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
84 <itemizedlist spacing="compact">
85 <listitem>
86 <para>
87 Test suite: <ulink url="&freetts-testsuite-download;"/>
88 </para>
89 </listitem>
90 <listitem>
91 <para>
92 Download MD5 sum: &freetts-testsuite-md5sum;
93 </para>
94 </listitem>
95 <listitem>
96 <para>
97 Download size: &freetts-testsuite-size;
98 </para>
99 </listitem>
100 </itemizedlist>
101
102 <bridgehead renderas="sect3">FreeTTS Dependencies</bridgehead>
103
104 <bridgehead renderas="sect4">Required</bridgehead>
105 <para role="required">
106 <xref linkend="apache-ant"/> and
107 <xref linkend="sharutils"/>
108 </para>
109
110 <para condition="html" role="usernotes">User Notes:
111 <ulink url="&blfs-wiki;/freetts"/>
112 </para>
113 </sect2>
114
115 <sect2 role="installation">
116 <title>Installation of FreeTTS</title>
117
118 <para>
119 The <application>FreeTTS</application> package is distributed in
120 ZIP format and the <command>unzip</command> command will default to
121 creating an unused source directory. Additionally,
122 unzipping the test suite file will prompt for questions
123 about overwriting existing files. Use the following commands to
124 <command>unzip</command> the source files:
125 </para>
126
127<screen><userinput>unzip -q freetts-&freetts-version;-src.zip -x META-INF/* &amp;&amp;
128unzip -q freetts-&freetts-version;-tst.zip -x META-INF/*</userinput></screen>
129
130 <tip>
131 <para>
132 The <command>sh jsapi.sh</command> command below installs the Java
133 Speech API components into the <application>FreeTTS</application> source
134 tree. You will be required to view, and then accept (by entering a
135 <keycap>y</keycap> keypress), a license agreement before the installation
136 will continue. If you are scripting (automating) the build, you'll need
137 to account for this. There is information about automating build commands
138 in the <xref linkend="automating-builds"/> section of Chapter 2. Towards
139 the end of this section, specific information for automating this type of
140 installation is discussed.
141 </para>
142 </tip>
143
144 <para>
145 Install <application>FreeTTS</application> by running the following
146 commands:
147 </para>
148
149<screen><userinput>sed -i 's/value="src/value="./' build.xml &amp;&amp;
150cd lib &amp;&amp;
151sh jsapi.sh &amp;&amp;
152cd .. &amp;&amp;
153ant</userinput></screen>
154
155 <para>
156 To test the results, issue:
157 </para>
158
159<screen><userinput>ant junit &amp;&amp;
160cd tests &amp;&amp;
161sh regression.sh &amp;&amp;
162cd ..</userinput></screen>
163
164 <para>
165 Now, as the <systemitem class="username">root</systemitem> user:
166 </para>
167
168<screen role="root"><userinput>install -v -m755 -d /opt/freetts-&freetts-version;/{lib,docs/{audio,images}} &amp;&amp;
169install -v -m644 lib/*.jar /opt/freetts-&freetts-version;/lib &amp;&amp;
170install -v -m644 *.txt RELEASE_NOTES docs/*.{pdf,html,txt,sx{w,d}} \
171 /opt/freetts-&freetts-version;/docs &amp;&amp;
172install -v -m644 docs/audio/* /opt/freetts-&freetts-version;/docs/audio &amp;&amp;
173install -v -m644 docs/images/* /opt/freetts-&freetts-version;/docs/images &amp;&amp;
174cp -v -R javadoc /opt/freetts-&freetts-version; &amp;&amp;
175ln -v -s freetts-&freetts-version; /opt/freetts</userinput></screen>
176
177 <para>
178 Optionally, install any or all of the additional
179 <application>FreeTTS</application> components using the following
180 commands as the <systemitem class="username">root</systemitem> user
181 (see the Command Explanations section for details):
182 </para>
183
184<screen role="root"><userinput>cp -v -R bin /opt/freetts-&freetts-version; &amp;&amp;
185install -v -m644 speech.properties $JAVA_HOME/jre/lib &amp;&amp;
186cp -v -R tools /opt/freetts-&freetts-version; &amp;&amp;
187cp -v -R mbrola /opt/freetts-&freetts-version; &amp;&amp;
188cp -v -R demo /opt/freetts-&freetts-version;</userinput></screen>
189
190 </sect2>
191
192 <sect2 role="commands">
193 <title>Command Explanations</title>
194
195 <para>
196 <command>sed -i 's/value="src/value="./' build.xml</command>: Fix an
197 error in the build file to allow the program to find the source.
198 </para>
199
200 <para>
201 <command>sh jsapi.sh</command>: This command installs the
202 <application>Java Speech API</application> components into the
203 <application>FreeTTS</application> source tree.
204 </para>
205
206 <para>
207 <command>ant</command>: <application>FreeTTS</application> uses the
208 <application>Apache Ant</application> build system instead of the GNU
209 <application>autotools</application>. This commands builds everything,
210 including the class libraries, tools and demos.
211 </para>
212
213 <para>
214 <command>cp -v -R bin ...</command>;
215 <command>install -v -m644 speech.properties</command>: These two commands
216 install the demonstration programs. Optionally copy the
217 <filename>speech.properties</filename> file to
218 <filename>~/speech.properties</filename> if you don't want to make it
219 available system-wide.
220 </para>
221
222 <para>
223 <command>cp -v -R tools ...</command>: This installs the voice data
224 import utilities. See the <filename>README.html</filename> files in the
225 <filename class="directory">tools/</filename> subdirectories for
226 information and instructions about using the tools.
227 </para>
228
229 <para>
230 <command>cp -v -R mbrola ...</command>: This installs the
231 <filename class="libraryfile">mbrola.jar</filename> file, required if you
232 use the <ulink
233 url="http://freetts.sourceforge.net/mbrola/README.html">MBROLA</ulink>
234 voices.
235 </para>
236
237 <para>
238 <command>cp -v -R demo ...</command>: This installs the sources
239 and documentation for the demonstration programs.
240 </para>
241
242 <para>
243 For additional information and documentation about the
244 <application>FreeTTS</application> project, visit the main web
245 page at <ulink url="http://freetts.sourceforge.net"/>.
246 </para>
247
248 </sect2>
249
250 <sect2 role="testing">
251 <title>Testing the Installation</title>
252
253 <para>
254 Test the installation using the following command:
255 </para>
256
257<screen><userinput>java -jar /opt/freetts/lib/freetts.jar \
258 -text "This is a test of the FreeTTS speech synthesis system"</userinput></screen>
259
260 <para>
261 Depending on the setup of your audio drivers and software, you
262 may have to add the <option>-streaming</option> switch to the command
263 as shown below:
264 </para>
265
266<screen><userinput>java -jar /opt/freetts/lib/freetts.jar -streaming \
267 -text "This is a test of the FreeTTS speech synthesis system"</userinput></screen>
268
269 </sect2>
270
271 <sect2 role="content">
272 <title>Contents</title>
273
274 <segmentedlist>
275 <segtitle>Installed Programs</segtitle>
276 <segtitle>Installed Libraries</segtitle>
277 <segtitle>Installed Directory</segtitle>
278
279 <seglistitem>
280 <seg>
281 None
282 </seg>
283 <seg>
284 /opt/freetts-&freetts-version;/lib/*.jar
285 </seg>
286 <seg>
287 /opt/freetts-&freetts-version;
288 </seg>
289 </seglistitem>
290 </segmentedlist>
291
292 <variablelist>
293 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
294 <?dbfo list-presentation="list"?>
295 <?dbhtml list-presentation="table"?>
296
297 <varlistentry>
298 <term><filename class="libraryfile">*.jar </filename></term>
299 <listitem>
300 <para>
301 contains the class libraries which make up the
302 <application>FreeTTS</application> speech synthesis system.
303 </para>
304 </listitem>
305 </varlistentry>
306 </variablelist>
307
308 </sect2>
309
310</sect1>
Note: See TracBrowser for help on using the repository browser.