From - Mon Nov 24 11:54:14 1997 Path: news2.cais.com!out2.nntp.cais.net!in1.nntp.cais.net!nntp.newsfirst.com!nntp.crosslink.net!207.106.0.20.MISMATCH!news-xfer.netaxs.com!europa.clark.net!208.134.241.18!newsfeed.internetmci.com!141.211.144.13!newsxfer3.itd.umich.edu!oleane!calvacom!pb277 From: pb277@calva.net (Patrick Blancheton) Newsgroups: comp.sys.apple2 Subject: Re: Talking Tools question Date: Sat, 22 Nov 1997 14:10:22 +0100 Organization: Shamrock-CoDeS. Lines: 39 Message-ID: <199711221247432751940N@parb24.calvacom.fr> References: <6564q8$78j@milo.vcn.bc.ca> NNTP-Posting-Host: parb24.calvacom.fr X-Face: w-A&^Ug%CQOQX3%+byJeemk>bKOBpgAF X-Newsreader: MacSOUP F1-2.3b5 Xref: news2.cais.com comp.sys.apple2:127935 Gareth Jones wrote (ecrivait) : > Is there any way to use the Talking Tools (from the ByteWorks) from > HyperCard GS to read the contents of a field aloud? Yes, there's an XCMD made bye ... me ;-) You must know that there are some limitations in the use of "Speak". The string that "will be spoken" must not exceed about 100 characters long or the XCMD freezes. I think that's due to the parameter passed by HyperCard to the external, a Pascal string. You can override this using several calls to the external of course. I found the audio results not very good so I restricted the choices to change the gender only. Some examples: Speak "My string not too long, understood?", "female" Speak card field id 2, male Speak myVariable (in that case male is the default gender) Speak "?": show the syntax in the message window so you can try it! Speak "!": display the copyright message. I wrote this external in 1995 and didn't look at it since then. The help is still in French, but I don't think it's a problem ;-) Amicalement, Patrick +--------------------------------------------------+ | Patrick Blancheton | | Shamrock-CoDeS. | | <101356.1021@compuserve.com> | +--------------------------------------------------+ "Education is not filling a pail, but the lighting of a fire." - W. B. Yeats