source: multimedia/audioutils/freetts.xml@ 912ce3e

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.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 912ce3e was 3502f04a, checked in by Manuel Canales Esparcia <manuel@…>, 19 years ago

Tagged an user name.

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

  • Property mode set to 100644
File size: 9.3 KB
Line 
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>
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>The <application>FreeTTS</application> package contains a speech
38 synthesis system written entirely in the <application>Java</application>
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
43 <ulink url="http://www.cstr.ed.ac.uk/projects/festival/">Festival</ulink>
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
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>
87 <para><xref linkend="apache-ant"/> (and
88 <ulink url="http://www.junit.org/">JUnit</ulink>
89 to run the test suite),
90 <xref linkend="unzip"/> and working audio hardware/software.</para>
91
92 </sect2>
93
94 <sect2 role="installation">
95 <title>Installation of FreeTTS</title>
96
97 <para>The <application>FreeTTS</application> package is distributed in
98 ZIP format and the <command>unzip</command> command will default to
99 creating an unused source directory. Additionally,
100 <command>unzip</command>ping the test suite file will prompt for questions
101 about overwriting existing files. Use the following commands to
102 <command>unzip</command> the source files:</para>
103
104<screen><userinput>unzip -q freetts-&freetts-version;-src.zip -x META-INF/* &amp;&amp;
105unzip -q freetts-&freetts-version;-tst.zip \
106 -x {META-INF/*,freetts-&freetts-version;/{acknowledgments.txt,license.terms}}</userinput></screen>
107
108 <para>Install <application>FreeTTS</application> by running the following
109 commands:</para>
110
111<screen><userinput>yes | sh jsapi.sh &amp;&amp;
112ant</userinput></screen>
113
114 <para>To test the results, issue:</para>
115
116<screen><userinput>ant junit &amp;&amp;
117sh regression.sh</userinput></screen>
118
119 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
120
121<screen role="root"><userinput>install -v -m755 -d /opt/freetts-&freetts-version;/{lib,docs/{audio,images}} &amp;&amp;
122install -v -m644 lib/*.jar /opt/freetts-&freetts-version;/lib &amp;&amp;
123install -v -m644 *.txt RELEASE_NOTES license.terms \
124 docs/*.{pdf,html,txt,sx{w,d}} \
125 /opt/freetts-&freetts-version;/docs &amp;&amp;
126install -v -m644 docs/audio/* /opt/freetts-&freetts-version;/docs/audio &amp;&amp;
127install -v -m644 docs/images/* /opt/freetts-&freetts-version;/docs/images &amp;&amp;
128cp -v -R javadoc /opt/freetts-&freetts-version; &amp;&amp;
129ln -v -s freetts-&freetts-version; /opt/freetts</userinput></screen>
130
131 <para>Optionally, install any or all of the additional
132 <application>FreeTTS</application> components using the following
133 commands as the <systemitem class="username">root</systemitem> user
134 (see the Command Explanations section for details):</para>
135
136<screen role="root"><userinput>cp -v -R bin /opt/freetts-&freetts-version; &amp;&amp;
137install -v -m644 speech.properties /opt/jdk/jdk/jre/lib &amp;&amp;
138cp -v -R tools /opt/freetts-&freetts-version; &amp;&amp;
139cp -v -R mbrola /opt/freetts-&freetts-version; &amp;&amp;
140cp -v -R demo /opt/freetts-&freetts-version;</userinput></screen>
141
142 </sect2>
143
144 <sect2 role="commands">
145 <title>Command Explanations</title>
146
147 <para><command>yes | sh jsapi.sh</command>: This command installs the
148 <application>Java Speech API</application> into the
149 <application>FreeTTS</application> source tree. <command>yes</command>
150 is piped so that this command can be scripted and will automatically
151 agree to the JSAPI license terms. You can view the license you are
152 agreeing to at
153 <ulink url="http://linuxfromscratch.org/~randy/jsapi-license.txt"/>.</para>
154
155 <para><command>ant</command>: <application>FreeTTS</application> uses the
156 <application>Apache Ant</application> build system instead of the GNU
157 <application>autotools</application>. This commands builds everything,
158 including the class libraries, tools and demos.</para>
159
160 <para><command>cp -v -R bin ...</command>;
161 <command>install -v -m644 speech.properties</command>: These two commands
162 install the demonstration programs. Optionally copy the
163 <filename>speech.properties</filename> file to
164 <filename>~/speech.properties</filename> if you don't want to make it
165 available system-wide.</para>
166
167 <para><command>cp -v -R tools ...</command>: This installs the voice data
168 import utilities. See the <filename>README.html</filename> files in the
169 <filename class='directory'>tools/</filename> subdirectories for
170 information and instructions about using the tools.</para>
171
172 <para><command>cp -v -R mbrola ...</command>: This installs the
173 <filename class='libraryfile'>mbrola.jar</filename> file, required if you
174 use the <ulink
175 url="http://freetts.sourceforge.net/mbrola/README.html">MBROLA</ulink>
176 voices.</para>
177
178 <para><command>cp -v -R demo ...</command>: This installs the sources
179 and documentation for the demonstration programs.</para>
180
181 <para>For additional information and documentation about the
182 <application>FreeTTS</application> project, visit the main web page at
183 <ulink url="http://freetts.sourceforge.net"/>.</para>
184
185 </sect2>
186
187 <sect2 role="testing">
188 <title>Testing the Installation</title>
189
190 <para>Test the installation using the following command:</para>
191
192<screen><userinput>java -jar /opt/freetts/lib/freetts.jar \
193 -text "This is a test of the FreeTTS speech synthesis system"</userinput></screen>
194
195 <para>Depending on the setup of your audio drivers and software, you
196 may have to add the <option>-streaming</option> switch to the command
197 as shown below:</para>
198
199<screen><userinput>java -jar /opt/freetts/lib/freetts.jar -streaming \
200 -text "This is a test of the FreeTTS speech synthesis system"</userinput></screen>
201
202 </sect2>
203
204 <sect2 role="content">
205 <title>Contents</title>
206
207 <segmentedlist>
208 <segtitle>Installed Programs</segtitle>
209 <segtitle>Installed Libraries</segtitle>
210 <segtitle>Installed Directory</segtitle>
211
212 <seglistitem>
213 <seg>None</seg>
214 <seg>/opt/freetts-&freetts-version;/lib/*.jar</seg>
215 <seg>/opt/freetts-&freetts-version;</seg>
216 </seglistitem>
217 </segmentedlist>
218
219 <variablelist>
220 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
221 <?dbfo list-presentation="list"?>
222 <?dbhtml list-presentation="table"?>
223
224 <varlistentry>
225 <term><filename class='libraryfile'>*.jar </filename></term>
226 <listitem>
227 <para>contains the class libraries which make up the
228 <application>FreeTTS</application> speech synthesis system.</para>
229 </listitem>
230 </varlistentry>
231 </variablelist>
232
233 </sect2>
234
235</sect1>
Note: See TracBrowser for help on using the repository browser.