Re: text to speech volume
Re: text to speech volume
- Subject: Re: text to speech volume
- From: Mr Tea <email@hidden>
- Date: Wed, 25 Sep 2002 16:53:20 +0100
This from Russ - dated 25-9-02 01.58 pm:
>
Is there a way to set the volume for a 'say' command?
Yes. You need to use an 'embedded speech command'.
say "[[volm 0.4]]Hats off to Larry."
Use any value from 0.9 (a little quieter) to 0.0 (silent). You can also
prepend a '+' to these values to make the speech louder.
>
On a related note, how can I find the dictionary for such a thing, where there
>
is not an obvious application associated with it?
In this case, the 'say' command and its various parameters are included in
the 'Standard Additions' scripting addition dictionary, but you won't find
the embedded commands there. For more about manipulating speech, you need to
look in chapter 4 of 'Inside Macintosh: Sound', which is available through
the Apple Developer Connection, or I'm sure Google can find it for you.
Pre-OS X, dictionaries without an 'obvious application' could often be found
by looking in the extensions and control panels folders. The 'Folder Actions
Control' suite, for example is in the Folder Actions extension. Simple.
In OS X 10.2, the equivalent commands are in something called, er, 'System
Events', buried in System > Library > Core Services. Actually, there's all
sorts of interesting stuff in there, so hopefully this is now the default
location for system-related commands that wouldn't otherwise have an obvious
home.
HTH
BTW - I just tried viewing the 'System Events' dictionary's 'disk - folder -
file' suite in Script Debugger, and SD froze up solid, twice. I force quit
it, and when it relaunched, it told me that another copy of SD with the same
serial number was already running. :(
Regards
Nick
pp Mr Tea
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.