From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by befuddled.reisers.ca (Postfix, from userid 65534) id B20A21C2C6B; Fri, 7 Feb 2020 02:06:09 -0500 (EST) Received: from covici.com (debian-2.covici.com [IPv6:2600:3c03:e000:39d::1]) by befuddled.reisers.ca (Postfix) with ESMTPS id 852081C0D97 for ; Fri, 7 Feb 2020 02:06:03 -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 01775VGr024696 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT) for ; Fri, 7 Feb 2020 02:05:48 -0500 Received: from ccs.covici.com (localhost [127.0.0.1]) by ccs.covici.com (8.15.2/8.15.2) with ESMTPS id 01775IjV1161728 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT) for ; Fri, 7 Feb 2020 02:05:18 -0500 Received: (from covici@localhost) by ccs.covici.com (8.15.2/8.15.2/Submit) id 01775IgH1161727; Fri, 7 Feb 2020 02:05:18 -0500 Date: Fri, 07 Feb 2020 02:05:18 -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: <20200207042943.GA12133@gregn.net> References: <20200207000127.GA6319@gregn.net> <20200207042943.GA12133@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 07:06:10 -0000 You can treat the serial port like a file (this is linux after all), just do open in the i nit section and write characters to the file. The name will be something like /dev/ttyS0 or similar. Note the capital S. As an example look at the espeak driver, so you get all the things in the right places. On Thu, 06 Feb 2020 23:29:43 -0500, Gregory Nowak wrote: > > Right, this would require a speech-dispatcher module file. The thing > I'm not sure about is how to do the serial port I/O from > speech-dispatcher. The speech-dispatcher modules are .conf files, so > maybe the answer would be a separate program to expose the serial port > to speech-dispatcher modules, or a modification to the actual > speech-dispatcher code to do that. > > What I like about the synth_direct approach is that speakup already > does the heavy lifting, and speakup and gnome-speech would use > speakup's interface to talk to the synth, which would mean they both > wouldn't be setting parameters and causing a mess. The disadvantage is > it requires speakup to be loaded, which I already use anyway, so it > doesn't bother me personally. > > Greg > > > On Thu, Feb 06, 2020 at 11:10:24PM -0500, John Covici wrote: > > 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. > > > -- > 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