Re: New Subscriber
To: "Davros T. Slug" <email@example.com>
Subject: Re: New Subscriber
Date: Fri, 26 May 1995 08:37:43 -0400
Cc: firstname.lastname@example.org (Jim Van Zandt), raman, emacspeak
Davros T. Slug writes:
> I asked Mr Raman about this, and he said that anyone can write drivers
> and he encourages that sort of thing, because writing drivers is boring.
> (He said he could give advice but the code is up to us...)
Absolutely, you're free to write as many drivers as you like:-)
> Which leads me to the question:
Okay, here are some tips to get you started.
> I looked at the dtk-exp driver, and since I don't know the DECTalk
> command set, I don't really see how it works. How can I translate those
Look for instance at the tcl procs dectalk_set_rate in dtk-exp
It sends out the appropriate command string to the Dectalk by using the TCL
> commands to the Accent equivalents? (I.E.: to change the rate, pitch, and
> other things, you send an escape character (ASCII 27) followed by
> something else.) Since I don't know about tcl, a clue to get me started
> would be nice, if anyone can provide such.
so the dectalk equivalent in dectalk_set_rate is
puts $dectalk_globals(write) "[:rate $rate]"
#puts is the tcl command
#dectalk_globals(write) is the file handle that is connected to the
#$rate is the new rate being set (this is a tcl variable)
So in the case of the accent you would replace "[:rate $rate]" with
\033 is escape (octal)
... is whatever the accent wants to change the rate.
> Buddy Brannan, KB5ELV | And we will all go together when we go,
> 3508 S. First St. #208 | All suffused with an incandescent glow.
> Austin, TX 78704 | No one will have the endurance
> (512) 441-3246 | To collect on his insurance.
> Internet: email@example.com | Lloyd's of London will be loaded when they go.
> firstname.lastname@example.org | --Tom Lehrer
Adobe Systems Tel: 1 (408) 536 3945 (W14-129)
Advanced Technology Group Fax: 1 (408) 537 4042
(W14 129) 345 Park Avenue Email: email@example.com
San Jose , CA 95110 -2704 Email: firstname.lastname@example.org
http://labrador.corp.adobe.com/~raman/raman.html (Adobe Internal)
Disclaimer: The opinions expressed are my own and in no way should be taken
as representative of my employer, Adobe Systems Inc.