[NTLK] Fwd: SpeakText dashboard script

From: Daniel Padilla (daniel.padilla_at_gmail.com)
Date: Thu May 06 2004 - 15:46:44 PDT


 the strings are:

"fred", "kath", "junr", "prin", "whis", "ralf", "zarv", "gnws", "bnws"

be sure to use && to add any text after that, using only one & will
add the text without a space, so the voice strong could go
unrecognized.

D.

> Got a question on scripting in Dashboard. I got a small script
> that uses SpeakText and MacInTalk to read the text that's currently
> highlighted. The script works fine, but I cannot figure out how to get
> it to set the voice properly. The original script that does set the
> voice properly does so with the following:
>
> local vox := "[[svox kath]]";
>
> Seems simple enough, but I would like to have a few different
> scripts that will read the text using the different voices (my
> favorite is Zarvox). However changing the above line to read
>
> local vox := "[[svox zarv]]";
>
> doesn't work, it ends up choosing Fred's voice instead. I've tried
> 'Zarv' and 'Zarvox' as well, (also tried Ralph, Ralp, ralp -- same
> thing).
>
> Does anyone know what the internal title of the various voices
> are? Also, are there other modifications to the voice you can do from
> within a script like this? I am thinking somewhere I'd seen various
> ways of manipulating speaktext programmatically, but can't recall
> where or what....
>

-- 
This is the NewtonTalk list - http://www.newtontalk.net/ for all inquiries
Official Newton FAQ: http://www.chuma.org/newton/faq/
WikiWikiNewt for all kinds of articles: http://tools.unna.org/wikiwikinewt/


This archive was generated by hypermail 2.1.5 : Thu May 06 2004 - 17:00:01 PDT