From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by befuddled.reisers.ca (Postfix, from userid 65534) id 77E8A1C0DDF; Thu, 6 Feb 2020 23:11:17 -0500 (EST) Received: from covici.com (debian-2.covici.com [IPv6:2600:3c03:e000:39d::1]) by befuddled.reisers.ca (Postfix) with ESMTPS id 357981C0DBA for ; Thu, 6 Feb 2020 23:11:08 -0500 (EST) Received: from ccs.covici.com (ccs.covici.com [70.109.53.110]) (authenticated bits=0) by covici.com (8.15.2/8.15.2/Debian-14~deb10u1) with ESMTPSA id 0174Aaak023472 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT) for ; Thu, 6 Feb 2020 23:10:52 -0500 Received: from ccs.covici.com (localhost [127.0.0.1]) by ccs.covici.com (8.15.2/8.15.2) with ESMTPS id 0174AOft963937 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT) for ; Thu, 6 Feb 2020 23:10:24 -0500 Received: (from covici@localhost) by ccs.covici.com (8.15.2/8.15.2/Submit) id 0174AOC3963936; Thu, 6 Feb 2020 23:10:24 -0500 Date: Thu, 06 Feb 2020 23:10:24 -0500 Message-ID: From: John Covici To: "Speakup is a screen review system for Linux." Subject: Re: driving a serial synthesizer through speech-dispatcher In-Reply-To: <20200207000127.GA6319@gregn.net> References: <20200207000127.GA6319@gregn.net> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM/1.14.9 (=?ISO-8859-4?Q?Goj=F2?=) APEL/10.8 EasyPG/1.0.0 Emacs/26 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) Reply-To: covici@ccs.covici.com Organization: Covici Computer Systems MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 X-BeenThere: speakup@linux-speakup.org X-Mailman-Version: 2.1.29 Precedence: list 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, 07 Feb 2020 04:11:22 -0000 You might need to write a driver in speech-dispatcher, that would do exactly what you want. I have been thinking about this for years, but never had the time to do it. On Thu, 06 Feb 2020 19:01:27 -0500, Gregory Nowak wrote: > > Hi all. > > I'm wondering if it's possible to drive a serial synthesizer through > speech-dispatcher? My goal here is to use orca to output to a serial > synthesizer. > > While speech-dispatcher itself has no facility a far as I can tell to > communicate through serial ports, something like cat could be used to > send a text of string to the serial port for the synthesizer to > speak. This is crude, and there is no way to interrupt speech until it > completes. > > An even better approach is to use > /sys/accessibility/speakup/synth_direct for the speech output. This > would use speakup settings in use for the synthesizer. The problem > with this is the same as with the cat command; no way to interrupt > speech, at least until the todo items in /sys/accessibility/speakup > are resolved, and maybe not even then. Interrupting could probably be > done by sending the silence command for the synthesizer in question to > /sys/accessibility/speakup/synth_direct, to cause the synthesizer to > stop speaking, and flush its buffer. Again, simply invoking speakup's > interrupt command by sending something to > /sys/accessibility/speakup/filename would make this synthesizer > generic. > > Has anyone here done what I'm thinking of? If yes, can you please > describe your approach? > > Greg > > > -- > web site: http://www.gregn.net > gpg public key: http://www.gregn.net/pubkey.asc > skype: gregn1 > (authorization required, add me to your contacts list first) > If we haven't been in touch before, e-mail me before adding me to your contacts. > > -- > Free domains: http://www.eu.org/ or mail dns-manager@EU.org > _______________________________________________ > Speakup mailing list > Speakup@linux-speakup.org > http://linux-speakup.org/cgi-bin/mailman/listinfo/speakup > -- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici wb2una covici@ccs.covici.com