Re: Newbie question about Text to Speech
Re: Newbie question about Text to Speech
- Subject: Re: Newbie question about Text to Speech
- From: "Gary (Lists)" <email@hidden>
- Date: Sun, 12 Jun 2005 12:43:34 -0400
"Noah W. Allen III" wrote:
> 1. Is Text to Speech AppleScrtipable?
> 2. Would someone be willing to share an AppleScript (or example)
> with me that would allow me to say a command to the TTS engine and
> have it respond with a comment?
You are confusing two distinct "speech" functions, it seems (based on your
usage of the terms).
1. Text to Speech is that speech feature which will speak the selected text
in the currently selected Voice (from system preferences).
2. This is the confusing part. You could mean:
a) you want to have a script which responds to a script command by
"speaking" some text to the user (this _is_ Text to Speech and uses the
current Voice).
or, you might mean
b) you want to interact, by your own speech, with the script (...and have it
respond with a comment, which is 1. above)
The first part of (b) is Speech Recognition, not Text to Speech.
If you want to have your script "Listen" for human-spoken commands, then you
should be looking at the Speech Recognition features, which _did_ used to
include a command like "listen for..." and you provided a list of words or
phrases.
So...the best approach is to explore the Speech Recognition engine if that's
your goal. If the goal is just to have the script "say" things, then there
is (was?) a Standard Additions command called Say (and there was an osaxen
that had a command Speak.)
Check Standard Additions, Speech Recognition, System Events first.
(I'm not being coy with information, I haven't moved my Speech-related
scripts to OS X from OS 9 yet, but I am still using Speech Recognition in
X.)
--
Gary
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden