Re: Say command using "Organ" doesn't work
Re: Say command using "Organ" doesn't work
- Subject: Re: Say command using "Organ" doesn't work
- From: "Adam Bell" <email@hidden>
- Date: Sat, 18 Mar 2006 17:17:37 -0400
While not as crisp as it could be, this script will let you listen to the voices in Tiger:
tell application "Finder"
set F to alias (((path to library folder from system domain) as string) &
"Speech:Voices:")
set v to name of items of F
end tell
set vn to {}
set text item delimiters to ".SpeechVoice"
repeat with k from 1 to count of v
tell text item 1 of item k of v
if it is not in {"BadNews", "GoodNews"
, "Organ"} then
set end of vn to it
else if it is "BadNews" then
set end of vn to "Bad News"
else if it is "GoodNews" then
set end of vn to "Good News"
else
set end of vn to "Pipe Organ"
end if
end tell
end repeat
choose from list vn without multiple selections allowed and empty selection allowed
set tVoice to result
set text item delimiters to ""
try
say "This is a sample of " & tVoice using tVoice
on error theError
display dialog theError
end try
-- used to be simpler.
Adam
On 3/18/06, David Marshall <
email@hidden> wrote:Although /System/Library/Speech/Voices/Organ.SpeechVoice/Contents/
Info.plist does indeed list CFBundleName as "Organ" and
CFBundleIdentifier as "com.apple.speech.synthesis.voice.Organ,"
opening /System/Library/Speech/Voices/Organ.SpeechVoice/Contents/
Resources/VoiceDescription in TextWrangler reveals this snippet:
--
Some minds remain open long enough for a truth to both enter and leave without processing.
_______________________________________________
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