Text to speech nonfunctional in standalone

Marian Petrides mpetrides at earthlink.net
Sat Feb 14 16:39:54 EST 2004


Addendum to previous

If I add a second field to accept text from the following command 
(placed in the button's mouseUp handler in addition to the revSpeak 
command):   put whatText into field "debug"

Entire button script follows:

On mouseUp
   Put field "TextToSpeak" into whatText
   RevSpeak whatText
   put whatText into field "Debug"
end mouseUp


In the IDE:   the text entered into the first field gets spoken and 
appears properly in the second field ("debug")
In the standalone: No speech, no text placed into field "debug"

What gives?  Evidently there is some difference between the IDE and the 
standalone that prevents the contents of the first field from being 
properly captured and presented to the speech routine but also prevents 
it from being passed to the second field.  But I can't figure out 
why??????



Marian

	
On Feb 14, 2004, at 4:21 PM, Marian Petrides wrote:

> I just put together a very simple demonstration of the RevSpeak 
> command which consists of a card with 2 items on it:
>
> A field named "TextToSpeak" into which one enters text  and a button 
> containing the following simple script.
>
> On mouseUp
>   Put field "TextToSpeak" into whatText
>   RevSpeak whatText
> end mouseUp
>
> This works just fine (speaks the text entered into the field whenever 
> button is pressed) in the IDE running in Mac OS X 10.3.  However, when 
> I make the stack into a standalone for OS X, pressing the button 
> yields nothing but silence.
>
> Anybody have any thoughts on why this works in IDE but not in 
> standalone???
>
> Thanks
>
> Marian
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>



More information about the use-livecode mailing list