From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tim X Newsgroups: gmane.emacs.help Subject: Re: EMacspeak Windows Date: Fri, 30 Mar 2007 13:03:50 +1000 Organization: Posted via Supernews, http://www.supernews.com Message-ID: <87k5wz3015.fsf@lion.rapttech.com.au> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1175225929 18244 80.91.229.12 (30 Mar 2007 03:38:49 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 30 Mar 2007 03:38:49 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Mar 30 05:38:41 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HX7wm-0007pm-T8 for geh-help-gnu-emacs@m.gmane.org; Fri, 30 Mar 2007 05:38:41 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HX7zQ-0003U6-VH for geh-help-gnu-emacs@m.gmane.org; Thu, 29 Mar 2007 22:41:24 -0500 Original-Path: shelby.stanford.edu!newshub.stanford.edu!sn-xt-sjc-02!sn-xt-sjc-01!sn-post-sjc-01!supernews.com!corp.supernews.com!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.95 (gnu/linux) Cancel-Lock: sha1:3zz4JIU/Su81MtqNxjDtPTSimPY= Original-X-Complaints-To: abuse@supernews.com Original-Lines: 48 Original-Xref: shelby.stanford.edu gnu.emacs.help:146692 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:42296 Archived-At: "Wilfred Zegwaard (privé)" writes: > Hi, > > Is there anyone who can help me to let EMacspeak run on a Windows machine? > > Thanks, > It is non-trivial to get emacspeak to run on a windows platform. The first problem you will have is the TTS driver code. This is written in Tcl. So, you will either have to install Tcl for Windows (and I don't know anything about Tcl for windows) or re-write the Tcl code using another scripting language. How difficult this would be depends on the TTS engine you plan to use. If its a hardware synthesiser connected to a serial port etc, it probably wouldn't be that hard. However, if its a software synthesiser, it cold be more difficult if you want to embed the synthesiser into the driver code (which is how the current Tcl drivers work for some of the software synths, like IBM's ViaVoice). If you are able to get Tcl working for windows, you will probably have to modify the code to cater for platform differences in things like directory path seperators, device names etc. One nice thing about Tcl is that it is possibly the easiest language to link with a C/C++ library (i.e. for the software speech synth). I briefly had a look at doing the same with Perl, but ran into quite a few problems because the automated header generation didn't like the C code in the library I was trying to link with. There was an emacspeak driver written in C as an experiment some years back, so you could write one in C, C# or even Java, but you will need good (fast) regular expression library. The driver code (i.e. Tcl library and scripts) is pretty straight forward and it wouldn't e too difficult to translate that to another language. Emacs communicates with the driver via stdout/stdin, so there are no real complications there. In summary, theoretically, it can be done, but you need to come up with new TTS drivers and whatever language you choose, it will need regular expression support and possibly the ability to link with C and C++ TTS libraries or use their APIs. There is an emacspeak mailing list at emacspeak@cs.vassar.edu HTH Tim -- tcross (at) rapttech dot com dot au