From: Ron B. <rb...@be...> - 2011-02-10 20:22:03
|
"Matthew Campbell" <dv...@gm...> wrote in message news:AAN...@ma...... Thanks much Ron for working this out. Can you post a writeup of this to the documentation wiki? Matt I believe that I did but do not see the entry. I put it under "How Tos". Does it need apporval before appearing or did I hose it? Ron On Thu, Feb 10, 2011 at 7:43 AM, Ron Blout <rb...@be...> wrote: > using cepstral voices "swift" is the name of the voice engine. > > doing: > swift hello > you get: > oss_audio: failed to open audio device /dev/dsp > this audio device does not exist under FC14 AND as of this post > Cepstrals voice do use OSS audio drivers. > > Solution: > you will require the following rpm and possibly others. might be a good > idea to install all PulseAudio rpms. > here is the one you definitely need: > pulseaudio-utils-0.9.21-7.fc14.x86_64 : PulseAudio sound server > utilities > > this rpm provides a wrapper called padsp > > now with this rpm you can: > > padsp swift hello > > and the cepstral voice of your choice will speak. No oss_audio: > failed to open .... > > now to fix this for "mh" you need to complete the following 2 steps: > > 1. when you install cepstral voice engine it places the engine in > /opt/swift/bin/swift > this binary is pointed to by /usr/local/bin/swift, i.e., > /usr/local/bin/swift -> /opt/swift/bin/swift > remove the link, i.e. /usr/local/bin/swift and replace it with a file > called swift that looks like this: > ------cut here------ > > #!/bin/sh > if test -x /usr/bin/padsp ; then > exec /usr/bin/padsp /opt/swift/bin/swift "$@" > else > exec /usr/bin/opt/swift/bin/swift "$@" > fi > > ------cut here------ > chmod +x this file (/usr/local/bin/swift) or you will get permission > errors > in the data/log/print.log file > > 2. mh.private.ini > for me there was only one change to mh.private.ini and that was to > comment out > the "voice_text_card" parameter as noted below. > I include this code fragment info. > # > # voice setup using the cepstral speech engine > # this sets the sound program. in my case I am using Cepstrals > voice > # engine known as "swift". > speak_engine=swift > voice_names=male=>Cepstral David > voice_text=swift > voice_text_swift=/usr/local/bin/swift > #voice_text_card=/dev/dsp > sound_program=play > sound_pre_speak=/usr/share/sounds/purple/alert.wav > > I am not totally convinced that this is the best solution. In googlin I > cam > across something called > OSS PROXY that uses a module called CUSE (lower case actually). this > module > does > exist in the FC14/64 bit distro. do a "modinfo cuse" to see results. You > can read more > about this here: http://fedoraproject.org/wiki/Features/OSSProxy This > might > be the better solution. > > For me the above process seems to take of the issue of not having "voice" > working. So for now on to > other things. > > hope this helps. > > -- > http://www.usefulramblings.org > http://www.lonesomecow.org > > > > > ------------------------------------------------------------------------------ > The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: > Pinpoint memory and threading errors before they happen. > Find and fix more than 250 security defects in the development cycle. > Locate bottlenecks in serial and parallel code that limit performance. > http://p.sf.net/sfu/intel-dev2devfeb > ________________________________________________________ > To unsubscribe from this list, go to: > http://sourceforge.net/mail/?group_id=1365 > > ------------------------------------------------------------------------------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb ________________________________________________________ To unsubscribe from this list, go to: http://sourceforge.net/mail/?group_id=1365 |