• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Say command using "Organ" doesn't work
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Say command using "Organ" doesn't work
      • From: kai <email@hidden>
    • Re: Say command using "Organ" doesn't work
      • From: Paul Berkowitz <email@hidden>
References: 
 >Re: Say command using "Organ" doesn't work (From: David Marshall <email@hidden>)

  • Prev by Date: Re: iCal: Clearing Dates from a Todo
  • Next by Date: Re: Say command using "Organ" doesn't work
  • Previous by thread: Re: Say command using "Organ" doesn't work
  • Next by thread: Re: Say command using "Organ" doesn't work
  • Index(es):
    • Date
    • Thread