Monday, October 13, 2008

Installing Espeak on opensuse 11 for use with orca

After the installation of opensuse 11 is finished and you start working with orca, you probably realise that festival is somewhat slow and sluggish. If you want to use Espeak instead, follow the steps below:
open the terminal window, elevate your previleges to super user by typing su.
#zypper refresh
#zypper in make automake autoconf gcc-c++ gnome-speech-devel portaudio
#exit ##back to your user terminal window.
now type
$wget http://ftp.gnome.org/pub/GNOME/sources/gnome-speech/0.4/gnome-speech-0.4.21.tar.gz
wget http://master.dl.sourceforge.net/sourceforge/espeak/espeak-1.39-source.zip
unzip -x espeak* ##typing partial name and pressing tab completes the file name
tar xvf gnome-speech*
$cd espeak*
$sudo cp -r espeak-data /usr/share
$cd src
$cp portaudio19.h portaudio.h
$su
#make
#cp libespeak.so.* /usr/lib
#cp speak_lib.h /usr/include
#ln -s /usr/lib/libespeak.so.* /usr/lib/libespeak.so
#ldconfig
#exit
$ cd gnome-speech*
./configure --with-espeak-directory=/usr/share/espeak-data
$make
$su
#make install

This will install espeak and configure gome-speech with the same. restart orca and espeak should appear in your speech preferences.

No comments: