From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from fed1rmmtao104.cox.net ([68.230.241.42]) by speech.braille.uwo.ca with esmtp (Exim 3.36 #1 (Debian)) id 1HNARu-0007bW-00 for ; Fri, 02 Mar 2007 11:17:39 -0500 Received: from fed1rmimpo01.cox.net ([70.169.32.71]) by fed1rmmtao104.cox.net (InterMail vM.7.05.02.00 201-2174-114-20060621) with ESMTP id <20070302161708.EDIY1226.fed1rmmtao104.cox.net@fed1rmimpo01.cox.net> for ; Fri, 2 Mar 2007 11:17:08 -0500 Received: from lnx2.holmesgrown.com ([70.162.12.128]) by fed1rmimpo01.cox.net with bizsmtp id VsH71W00Q2lltDi0000000; Fri, 02 Mar 2007 11:17:07 -0500 Received: from lnx3.holmesgrown.com ([192.168.1.5] ident=mail) by lnx2.holmesgrown.com with esmtp (Exim 4.62) (envelope-from ) id 1HNAWE-0005cf-6N for speakup@braille.uwo.ca; Fri, 02 Mar 2007 09:22:06 -0700 Received: from steve by lnx3.holmesgrown.com with local (Exim 4.62) (envelope-from ) id 1HNARO-0004kW-B4 for speakup@braille.uwo.ca; Fri, 02 Mar 2007 09:17:06 -0700 Date: Fri, 2 Mar 2007 09:17:06 -0700 From: Steve Holmes To: speakup@braille.uwo.ca Subject: Re: problems compiling speechd-up Message-ID: <20070302161706.GA15090@lnx3.holmesgrown.com> Mail-Followup-To: speakup@braille.uwo.ca References: <001701c75c7c$c932acb0$0701a8c0@majik> <45E7A181.3020807@proficio.ca> <01e401c75ce2$57177d70$4ba65c90@vv507j> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <01e401c75ce2$57177d70$4ba65c90@vv507j> User-Agent: Mutt/1.5.12-2006-07-14 X-BeenThere: speakup@braille.uwo.ca X-Mailman-Version: 2.1.9 Precedence: list Reply-To: "Speakup is a screen review system for Linux." List-Id: "Speakup is a screen review system for Linux." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Mar 2007 16:17:39 -0000 What I do for switching synths on the fly is run a shell script I wrote. Note this is in a Slackware environment. I will attach it below. I then built a couple aliases to shorten up the commands for the two synths I frequently use. I Compile the ketnel with Speakup and my hard synth, speakout statically and softsynth as a loadable module. When I boot, speakout comes up automatically and I then switch synths as needed later on. ----- Begin aliases ----- alias sft='/etc/rc.d/rc.speakup restart sftsyn' alias spk='/etc/rc.d/rc.speakup restart spkout' ----- End aliases ----- ----- Begin rc.speakup ----- #!/bin/sh # # Shel script to load and unload a modularized version of Speakup # case "$1" in 'start') synth="$2" if [ "$synth" = "sftsyn" ]; then nice -5 /usr/bin/speech-dispatcher fi echo "$synth" >/proc/speakup/synth_name if [ "$synth" = "sftsyn" ]; then sleep 1 modprobe speakup_sftsyn nice -n 10 /usr/bin/speechd-up fi /usr/local/bin/speakupconf load ;; 'stop') synth=`cat /proc/speakup/synth_name` if [ "$synth" = "sftsyn" ]; then killall -9 speechd-up killall -9 speech-dispatcher fi echo "none" >/proc/speakup/synth_name sleep 1 /sbin/modprobe -r "speakup_$synth" ;; 'restart') $0 stop sleep 1 $0 start "$2" ;; *) echo "usage $0 start|stop|restart" ;; esac ----- End rc.speakup ----- On Fri, Mar 02, 2007 at 09:49:19AM -0600, John Heim wrote: > What you said didn't exactly work but this did: > > # apt-get install -y libglib2.0-dev > > So there are a couple of things that are left out of the instructions at > http://www.freebsoft.org/doc/speechd-up/speechd-up_1.html > > 1. As noted you need libglib. > > 2. You need g++ > # apt-get install -y g++ > > 3. If you're running debian sid/testing, there are no libspeechd1 and > libspeechd1-dev packages. You need libspeechd2 and libspeechd-dev. > > I have my linux box talking via the default software synth, festival, I > think. All I need to do now is figure out how to get it to speak via DECtalk > software and then I will be happy. Actually, I will have one more task after > that: I'll want to have an easy way to use the software synth if the > hardware synth is not connected to the serial port. I wonder if there is > some way to auto-detect that? If not, I can do it manually. What I could do > is have it default to the software synth and if the hardware synth is > connected, after it boots and I log in, I can echo ltlk.... > > The only problem with that is that if I have it default to the hardware > synth, it starts talking earlier in the boot process. -- HolmesGrown Solutions The best solutions for the best price! http://holmesgrown.ld.net/