source: multimedia/audioutils/freetts.xml@ 6de7590

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 6de7590 was 6de7590, checked in by Bruce Dubbs <bdubbs@…>, 11 years ago

Tags for remaining multimedia sections of the book

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@11741 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-repo;/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-repo;/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 &lfs74_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>
173install -v -m755 -d /opt/freetts-&freetts-version;/{lib,docs/{audio,images}} &amp;&amp;
174install -v -m644 lib/*.jar /opt/freetts-&freetts-version;/lib &amp;&amp;
175install -v -m644 *.txt RELEASE_NOTES docs/*.{pdf,html,txt,sx{w,d}} \
176 /opt/freetts-&freetts-version;/docs &amp;&amp;
177install -v -m644 docs/audio/* /opt/freetts-&freetts-version;/docs/audio &amp;&amp;
178install -v -m644 docs/images/* /opt/freetts-&freetts-version;/docs/images &amp;&amp;
179cp -v -R javadoc /opt/freetts-&freetts-version; &amp;&amp;
180ln -v -s freetts-&freetts-version; /opt/freetts</userinput></screen>
181
182 <para>
183 Optionally, install any or all of the additional
184 <application>FreeTTS</application> components using the following
185 commands as the <systemitem class="username">root</systemitem> user
186 (see the Command Explanations section for details):
187 </para>
188
189<screen role="root"><userinput>cp -v -R bin /opt/freetts-&freetts-version; &amp;&amp;
190install -v -m644 speech.properties $JAVA_HOME/jre/lib &amp;&amp;
191cp -v -R tools /opt/freetts-&freetts-version; &amp;&amp;
192cp -v -R mbrola /opt/freetts-&freetts-version; &amp;&amp;
193cp -v -R demo /opt/freetts-&freetts-version;</userinput></screen>
194
195 </sect2>
196
197 <sect2 role="commands">
198 <title>Command Explanations</title>
199
200 <para>
201 <command>sed -i 's/value="src/value="./' build.xml</command>: Fix an
202 error in the build file to allow the program to find the source.
203 </para>
204
205 <para>
206 <command>sh jsapi.sh</command>: This command installs the
207 <application>Java Speech API</application> components into the
208 <application>FreeTTS</application> source tree.
209 </para>
210
211 <para>
212 <command>ant</command>: <application>FreeTTS</application> uses the
213 <application>Apache Ant</application> build system instead of the GNU
214 <application>autotools</application>. This commands builds everything,
215 including the class libraries, tools and demos.
216 </para>
217
218 <para>
219 <command>cp -v -R bin ...</command>;
220 <command>install -v -m644 speech.properties</command>: These two commands
221 install the demonstration programs. Optionally copy the
222 <filename>speech.properties</filename> file to
223 <filename>~/speech.properties</filename> if you don't want to make it
224 available system-wide.
225 </para>
226
227 <para>
228 <command>cp -v -R tools ...</command>: This installs the voice data
229 import utilities. See the <filename>README.html</filename> files in the
230 <filename class="directory">tools/</filename> subdirectories for
231 information and instructions about using the tools.
232 </para>
233
234 <para>
235 <command>cp -v -R mbrola ...</command>: This installs the
236 <filename class="libraryfile">mbrola.jar</filename> file, required if you
237 use the <ulink
238 url="http://freetts.sourceforge.net/mbrola/README.html">MBROLA</ulink>
239 voices.
240 </para>
241
242 <para>
243 <command>cp -v -R demo ...</command>: This installs the sources
244 and documentation for the demonstration programs.
245 </para>
246
247 <para>
248 For additional information and documentation about the
249 <application>FreeTTS</application> project, visit the main web
250 page at <ulink url="http://freetts.sourceforge.net"/>.
251 </para>
252
253 </sect2>
254
255 <sect2 role="testing">
256 <title>Testing the Installation</title>
257
258 <para>
259 Test the installation using the following command:
260 </para>
261
262<screen><userinput>java -jar /opt/freetts/lib/freetts.jar \
263 -text "This is a test of the FreeTTS speech synthesis system"</userinput></screen>
264
265 <para>
266 Depending on the setup of your audio drivers and software, you
267 may have to add the <option>-streaming</option> switch to the command
268 as shown below:
269 </para>
270
271<screen><userinput>java -jar /opt/freetts/lib/freetts.jar -streaming \
272 -text "This is a test of the FreeTTS speech synthesis system"</userinput></screen>
273
274 </sect2>
275
276 <sect2 role="content">
277 <title>Contents</title>
278
279 <segmentedlist>
280 <segtitle>Installed Programs</segtitle>
281 <segtitle>Installed Libraries</segtitle>
282 <segtitle>Installed Directory</segtitle>
283
284 <seglistitem>
285 <seg>
286 None
287 </seg>
288 <seg>
289 /opt/freetts-&freetts-version;/lib/*.jar
290 </seg>
291 <seg>
292 /opt/freetts-&freetts-version;
293 </seg>
294 </seglistitem>
295 </segmentedlist>
296
297 <variablelist>
298 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
299 <?dbfo list-presentation="list"?>
300 <?dbhtml list-presentation="table"?>
301
302 <varlistentry>
303 <term><filename class="libraryfile">*.jar </filename></term>
304 <listitem>
305 <para>
306 contains the class libraries which make up the
307 <application>FreeTTS</application> speech synthesis system.
308 </para>
309 </listitem>
310 </varlistentry>
311 </variablelist>
312
313 </sect2>
314
315</sect1>
Note: See TracBrowser for help on using the repository browser.