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
Tuesday, June 21, 2011
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:
$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
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")
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")
Wednesday, April 6, 2011
Friday, March 18, 2011
How to enable festival in orca?
Go in Orca Preferences --> Speech tab and change the "Speech System" to 'GNOME Speech Services' After that, you can change the "Speech synthesizer" to Festival.
But some times you do not get 'GNOME Speech Services' option in "Speech System" for that install
libgnome-speech7 :
$ sudo apt-get install libgnome-speech7
Note: You may get following error
E: crossplatformui: subprocess installed post-installation script returned error exit status 1
Solution: Ignore the error. Festival will work
More about it in this thread:
https://answers.launchpad.net/ubuntu/+question/113136
It means only that "crossplatformui" is not managed by Ubuntu distro team, and that you have to check by yourself if current version is compatible with Lucid.
The risk applies only to "crossplatformui".
You have also to check in Synaptic is deposit for this package is always active.
Note: "crossplatformui" is a Reliance net connect usb driver.
But some times you do not get 'GNOME Speech Services' option in "Speech System" for that install
libgnome-speech7 :
$ sudo apt-get install libgnome-speech7
Note: You may get following error
E: crossplatformui: subprocess installed post-installation script returned error exit status 1
Solution: Ignore the error. Festival will work
More about it in this thread:
https://answers.launchpad.net/ubuntu/+question/113136
It means only that "crossplatformui" is not managed by Ubuntu distro team, and that you have to check by yourself if current version is compatible with Lucid.
The risk applies only to "crossplatformui".
You have also to check in Synaptic is deposit for this package is always active.
Note: "crossplatformui" is a Reliance net connect usb driver.
Tuesday, October 26, 2010
Subscribe to:
Posts (Atom)