source: archive/freetts.xml@ ccded7e

11.0 11.1 11.2 11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since ccded7e was cfb32e2e, checked in by Bruce Dubbs <bdubbs@…>, 6 years ago

More tags
Archive freetts for 8,2 until we can get a better version.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@19873 af4574ff-66df-0310-9fd7-8a98e5e911e0

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