source: multimedia/audioutils/freetts.xml@ b66ece35

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 b66ece35 was fce275e, checked in by Randy McMurchy <randy@…>, 16 years ago

Modified all the Sourceforge download URLs to use a newly created entity instead of a hard-coded URL

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

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