Wednesday, November 16, 2011

Eroor in installation of speech tools

Error:make[2]: *** [matrix_i_t.o] Error 1 make[1]: *** [inst_tmpl] Error 2 make: *** [base_class] Error 2

Solution: 1. gcc 4.1 should work fine. please try it if you'll have problems and
suggest a patch. Also I'd be glad if you'll find a time to checkout
speech_tools and festival from svn and try to build them:

svn checkout http://svn.berlios.de/svnroot/repos/festlang/trunk/festival

svn checkout
http://svn.berlios.de/svnroot/repos/festlang/trunk/speech_tools

They should build fine. If not, please report about problems.

Source: http://lists.berlios.de/pipermail/festlang-talk/2008-October/001213.html

Tuesday, June 21, 2011

Audio::Wav - A modules for manipulating WAV Audio files

Audio::Wav is a collection of Perl modules that provide mechanisms to read, parse and write uncompressed Microsoft WAV audio files. It is a Pure Perl module, so it is extremely portable at the cost of performance.

How to install:
sudo apt-get install libaudio-wav-perl

or,
download the deb package from following link
http://packages.debian.org/unstable/perl/libaudio-wav-perl

Friday, April 29, 2011

Error:: Linux: can't open /dev/dsp

Go to your home directory and open the .festivalrc (if it is not there, just create it)
$cd
$sudo gedit .festivalrc
add the following line in this file and save:
(Parameter.set 'Audio_Command "aplay -q -c 1 -t raw -f s16 -r $SR $FILE")
(Parameter.set 'Audio_Method 'Audio_Command)

Monday, April 18, 2011

Installing gnome speech in ubuntu

The first step in rebuilding gnome-speech is to make sure you've set up your build environment. obtain the source. The most up to date, official release can always be found here: ftp://ftp.gnome.org/pub/GNOME/sources/gnome-speech/

At the time of this writing, the latest version is 0.4.7; However, as updates occur with relative frequency, it is a good idea to always confirm that you are getting the most current release before downloading. After downloading, extract the archive with a command similar to the following:

tar -xvf gnome-speech-0.4.7.tar.gz

apt-get build-dep gnome-speech


cd gnome-speech
./configure --prefix=/usr
make install

Errors:
1.checking for ORBIT... configure: error: Package requirements (ORBit-2.0 >= 2.3.94) were not met:

No package 'ORBit-2.0' found

Solution:You are supposed to install packages ending in dev for compiling so try installing liborbit2-dev and configure should stop complaining about orbit not found.

2.checking for gnome_speech... configure: error: Package requirements (bonobo-activation-2.0 >= 0.9.1 libbonobo-2.0 >= 1.97.0 ORBit-2.0 >= 2.3.94 gobject-2.0) were not met:

No package 'bonobo-activation-2.0' found
No package 'libbonobo-2.0' found

Solution: try installing libbonoboui2-dev from synaptic package manager

can't open /dev/dsp

If festival returns the following error message:

Linux: can't open /dev/dsp

Switch to ALSA output by adding these lines to the end of your .festivalrc file, or to /usr/share/festival/festival.scm (source):

(Parameter.set 'Audio_Method 'Audio_Command)
(Parameter.set 'Audio_Command "aplay -q -c 1 -t raw -f s16 -r $SR $FILE")