source: multimedia/audioutils/freetts.xml@ d4277d4

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.2 6.2.0 6.2.0-rc1 6.2.0-rc2 6.3 6.3-rc1 6.3-rc2 6.3-rc3 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 d4277d4 was d4277d4, checked in by Randy McMurchy <randy@…>, 18 years ago

Removed the piping of 'yes' commands from the installation of the packages containing Sun license agreements (JDK binary, FOP and FreeTTS) and instead provided a note to reference the text about automating builds

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