[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Serial Synthesizer Support
From: |
Trevor Saunders |
Subject: |
Serial Synthesizer Support |
Date: |
Sun, 15 Aug 2010 02:14:13 -0400 |
Hi,
On Sat, Aug 14, 2010 at 09:51:19PM -0700, Steve Holmes wrote:
> On Sat, Aug 14, 2010 at 04:51:44PM -0500, William Hubbs wrote:
> > This definitely would be ugly, and I don't see any reason we should go
> > here. I like the approach of having one module and separate
> > configurations for each serial synthesizer.
>
> Yeah, I don't think I will be going there. I don't know tcl at all
> and don't wanna get tangled up with another layer of complexity like
> that. Out of curiousity, if I write a c module to communicate with
> the serial port, should I merely write to it like I would to STDOUT?
> The only program I've recently written for the speakout to set its
> clock, writes its output to the file, /sys/accessibility/speakup/synth
> and I think speech-dispatcher modules should not be tied to speakup
> devices. So can I just write to /dev/ttyS0 for example or should I
> use a more lower level approach?
I'd just use unix io ( open / read / write / close)
>
> I like the advice I'm getting so far; the serial generic module idea
> sounds good to me.
agreed, if the protocol is the same, which is what people are saying it should
work.
trev
>
> _______________________________________________
> Speechd mailing list
> Speechd at lists.freebsoft.org
> http://lists.freebsoft.org/mailman/listinfo/speechd
Serial Synthesizer Support, Halim Sahin, 2010/08/14