Gentoo Logo
Gentoo Spaceship

Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-accessibility
Lists: gentoo-accessibility: < Prev By Thread Next > < Prev By Date Next >
To: "'gentoo-accessibility@g.o'" <gentoo-accessibility@g.o>
From: Whitley CTR Cecil H <WhitleyCH.ctr@...>
Subject: RE: speakup and software speech revisited
Date: Thu, 28 Oct 2004 09:00:10 -0400
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2654.45">
<TITLE>RE: [gentoo-accessibility] speakup and software speech revisited</TITLE>

<P><FONT SIZE=2>Hi Deedra,</FONT>
<BR><FONT SIZE=2>I am far from expert, but I will give it a shot.&nbsp; </FONT>

<P><FONT SIZE=2>First, for speakup itself make sure that you have software speech compiled in as a module.&nbsp; You will also need to create the /dev/softsynth character device (I don't remember the major/minor node numbers offhand), will look those up and forward.&nbsp; I presume you have alsa already loaded/configured, if not do so.&nbsp; I then emerged flite (the only tts I got to work with speechd-up).&nbsp; I then emerged speech-dispatcher and speechd-up.&nbsp; Speechd-up at the time required an entry in package.keywords to emerge.&nbsp; I manually edited a startup script for flite since it doesn't have one.&nbsp; I then did</FONT></P>

<P><FONT SIZE=2>rc-update add speech-dispatcher boot</FONT>
<BR><FONT SIZE=2>rc-update add flite boot</FONT>
<BR><FONT SIZE=2>rc-update add speechd-up default</FONT>

<P><FONT SIZE=2>Use a kernel command line which includes speakup_synth=sftsynth.</FONT>

<P><FONT SIZE=2>Making speech-dispatcher and flite start at boot loads them before speechd-up which is the proper sequence, getting speechd-up before speech-dispatcher results in much pulling of hair.&nbsp; On my system speech starts around the time networking is being loaded.&nbsp; flite is/was the default tts for speech-dispatcher and I personally didn't have any luck getting it to use festival (which was loaded/configured and worked in gnome just fine).&nbsp; However I didn't spend a lot of time on it either.&nbsp; I found a dectalk express on ebay which i got and as soon as it arrived and worked I disabled software speech, except for festival which is still present for gnopernicus to use.&nbsp; </FONT></P>

<P><FONT SIZE=2>As a side note, for ease of troubleshooting I wrote a script that would flip speakup back to the hw synth I had so if speech didn't come up I could just log in and type hwsynth to get speech.</FONT></P>

<P><FONT SIZE=2>------- cut here ------</FONT>
<BR><FONT SIZE=2>#!/bin/bash</FONT>
<BR><FONT SIZE=2>echo &quot;synth_keyword&quot; &gt; /proc/speakup/synth_name</FONT>
<BR><FONT SIZE=2>----- cut here ----</FONT>
<BR><FONT SIZE=2>Replace synth_keyword in the above with the appropriate speakup designation for your hw synth.&nbsp; </FONT>
<BR><FONT SIZE=2>**** important *****</FONT>
<BR><FONT SIZE=2>Also check some of the commands above, some used _ instead of - in places, and I don't remember if it was in the command names or the names of the log files.&nbsp; The critical things are to create the character device, to start speech-dispatcher *before* speechd-up and to start your tts with an init script during boot.&nbsp; </FONT></P>

<P><FONT SIZE=2>Regards,</FONT>

RE: speakup and software speech revisited
-- Jeremy Huddleston
Lists: gentoo-accessibility: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
speakup and software speech revisited
Next by thread:
RE: speakup and software speech revisited
Previous by date:
speakup and software speech revisited
Next by date:
RE: speakup and software speech revisited

Updated Jun 17, 2009

Summary: Archive of the gentoo-accessibility mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.