old-www/HOWTO/Emacspeak-HOWTO/appendixb.html

319 lines
6.1 KiB
HTML

<HTML
><HEAD
><TITLE
>Appendix B: Installing ViaVoice TTS</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
"><LINK
REL="HOME"
TITLE="Installing Emacspeak HOWTO"
HREF="index.html"><LINK
REL="PREVIOUS"
TITLE="Appendix A: Installing Linux from a DOS machine"
HREF="appendixa.html"><LINK
REL="NEXT"
TITLE="Acknowledgments"
HREF="acknowledgments.html"></HEAD
><BODY
CLASS="sect1"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#840084"
ALINK="#0000FF"
><DIV
CLASS="NAVHEADER"
><TABLE
SUMMARY="Header navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TH
COLSPAN="3"
ALIGN="center"
>Installing Emacspeak HOWTO</TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="appendixa.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
></TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="acknowledgments.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><DIV
CLASS="sect1"
><H1
CLASS="sect1"
><A
NAME="appendixb">9. Appendix B: Installing ViaVoice TTS</H1
><P
>This section steps through the installation of ViaVoice TTS, which can be used as a software synthesizer with Emacspeak.</P
><DIV
CLASS="sect2"
><H2
CLASS="sect2"
><A
NAME="downloading-viavoice">9.1. Downloading ViaVoice</H2
><P
>First, you must download the ViaVoice Software Development Kit (SDK) and the Run Time Kit (RTK), as described in the following steps.</P
><P
></P
><OL
TYPE="1"
><LI
><P
>Go to IBM's ViaVoice TTS website a
<A
HREF="http://www-4.ibm.com/software/speech/dev/ttssdk_linux.html"
TARGET="_top"
>http://www-4.ibm.com/software/speech/dev/ttssdk_linux.html</A
>.</P
></LI
><LI
><P
>Scroll down to the Downloads section, and click on the Downloads link. You will be asked to provide a username and password before you download anything. </P
></LI
><LI
><P
>Download the following files:</P
><P
></P
><UL
><LI
STYLE="list-style-type: disc"
><P
>ViaVoice TTS SDK for Linux V5.1. The filename is <TT
CLASS="filename"
>viavoice_tts_sdk_5.tar</TT
>. </P
></LI
><LI
STYLE="list-style-type: disc"
><P
>ViaVoice TTS Run Time Kit for Linux V5.1. The filename is <TT
CLASS="filename"
>viavoice_tts_rtk_5.tar</TT
>.</P
></LI
></UL
></LI
></OL
></DIV
><DIV
CLASS="sect2"
><H2
CLASS="sect2"
><A
NAME="installing-rtk">9.2. Installing ViaVoice RTK</H2
><P
>Now that you have downloaded the ViaVoice files, you can install them. You must install the RTK first, as it contains libraries required by the SDK.</P
><P
></P
><OL
TYPE="1"
><LI
><P
>Type the <B
CLASS="command"
>su root</B
> command and provide the root password to log on to your system as root.</P
></LI
><LI
><P
>Type the <B
CLASS="command"
>cd</B
> command to change to the directory that contains the files you just downloaded.</P
></LI
><LI
><P
>Untar the RTK using the command <B
CLASS="command"
>tar -xvf viavoice_tts_rtk_5.tar</B
>. You
should now have two files in your directory, <TT
CLASS="filename"
>ttsrt_readme.txt</TT
> and <TT
CLASS="filename"
>ViaVoice_TTS_rtk_5.1-1.2.i386.rpm</TT
>. </P
></LI
><LI
><P
>Unpack the rpm using the command <B
CLASS="command"
>rpm -i ViaVoice_TTS_rtk_5.1-1.2.i386.rpm</B
>. You will be given a license agreement to read. You can press the spacebar to scroll through the document. When you've read the document, you'll be returned to the command prompt.</P
></LI
><LI
><P
>Type the command <B
CLASS="command"
>source /etc/profile</B
> to finish installing the RTK.</P
></LI
></OL
></DIV
><DIV
CLASS="sect2"
><H2
CLASS="sect2"
><A
NAME="installing-sdk">9.3. Installing ViaVoice SDK</H2
><P
>Now that you have installed the RTK, you can install the SDK as well using the following steps:</P
><P
></P
><OL
TYPE="1"
><LI
><P
>Change directories to the directory that contains the SDK file you downloaded.</P
></LI
><LI
><P
>Untar the SDK file using the command <B
CLASS="command"
>tar -xvf viavoice_tts_sdk_5.tar</B
>. You should
now have two files in your directory, <TT
CLASS="filename"
>ttssd.readme.txt</TT
> and <TT
CLASS="filename"
>ViaVoice_TTS_sdk-5.1-1.2.i386.rpm</TT
>. </P
></LI
><LI
><P
>Unpack the rpm using the command <B
CLASS="command"
>rpm-i --nodeps ViaVoice_TTS_sdk-5.1-1.2.i386.rpm</B
>. You will be given a license agreement to read. You can press the spacebar to scroll through the agreement. When you've read the document, you'll be returned to the command prompt.</P
></LI
></OL
></DIV
><DIV
CLASS="sect2"
><H2
CLASS="sect2"
><A
NAME="testing-install">9.4. Testing the installation</H2
><P
>Now that you have installed both the ViaVoice RTK and SDK, you must test to make sure that they are working correctly. You can perform two tests using the following steps:</P
><P
></P
><OL
TYPE="1"
><LI
><P
>Type the <B
CLASS="command"
>cd</B
> command to change to the <TT
CLASS="filename"
>/usr/lib/ViaVoiceTTS/samples/cmdlinespeak/</TT
> directory. </P
></LI
><LI
><P
>Type the command <B
CLASS="command"
>./runcmdlinespeak</B
> at the prompt. You should hear your computer say "Hello, welcome to ViaVoice Outloud for Linux." Normal system volume is often very low, so you may not be able to hear it very well. Refer to, <A
HREF="troubleshooting.html"
>Troubleshooting</A
>, for information on how to increase your system volume. </P
></LI
></OL
><P
>If for some reason your test was not successful, refer to the installation notes provided with both the RTK (ttsrt.readme.txt) and the SDK (ttssd.readme.txt) for debugging information. </P
></DIV
></DIV
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
SUMMARY="Footer navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><A
HREF="appendixa.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
ACCESSKEY="H"
>Home</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="acknowledgments.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>Appendix A: Installing Linux from a DOS machine</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
>&nbsp;</TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>Acknowledgments</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>