• 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: Rant Generator
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Rant Generator


  • Subject: Re: Rant Generator
  • From: Paul Berkowitz <email@hidden>
  • Date: Sat, 17 Jul 2010 17:21:29 -0700
  • Thread-topic: Rant Generator

Title: Re: Rant Generator
According to the OS 10.6 AS documentation someone pointed us to, 'speaking rate' and 'pitch' as keywords (without the "[[ ]]" stuff as quoted text in your first example) are new to OS 10.6, and work, as you say. It will not compile in 10.5.8 (which I have).

The terminology in the first example, with the "[[ ]]" stuff, compiles and runs in 10.5.8. But there, it behaves as I previously reported and you are now reporting also for 10.6: the "[[rate]]" is modified, but not "[[pitch]]". This must be the old terminology: perhaps someone can say whether "[[pitch]]" ever worked in some yet earlier OS before 10.5 - it certainly does not in 10.5.8 - or , you say, 10.6.

If you're in 10.6, you should stuck to the new terminology. If you're trying to use the older terminology, that would only be for compatibility with older OS's, and then you'd better skip "[[pitch]]" altogether since it doesn't work in 10.5.x or 10.6.

--
Paul Berkowitz



From: "email@hidden" <email@hidden>
Date: Sat, 17 Jul 2010 14:27:03 -0700
To: Tommy Bollman <email@hidden>, AppleScript-Users <email@hidden>
Subject: Re: Rant Generator

This is odd,

--using this construct I can change the rate, but not the pitch.
say "[[pitch 50]][[rate 350]]OMG. OH"
say "[[pitch 60]][[rate 350]]OMG. OH"
say "[[pitch 70]][[rate 350]]OMG. OH"
say "[[pitch 80]][[rate 350]]OMG. OH"
say "[[pitch 50]][[rate 200]]OMG. OH"
say "[[pitch 60]][[rate 400]]OMG. OH"
say "[[pitch 70]][[rate 350]]OMG. OH"
say "[[pitch 80]][[rate 600]]OMG. OH"

--but using this construct I can change both:

say "OMG. OH" pitch 50 speaking rate 200
say "OMG. OH" pitch 60 speaking rate 350
say "OMG. OH" pitch 70 speaking rate 400
say "OMG. OH" pitch 80 speaking rate 600
say "OMG. OH" pitch 50 speaking rate 600
say "OMG. OH" pitch 60 speaking rate 350
say "OMG. OH" pitch 70 speaking rate 400
say "OMG. OH" pitch 80 speaking rate 200

What's up with that?

ES

On Jul 16, 2010, at 8:26am, Tommy Bollman wrote:



try
set
fire to trousers
on error
say
"[[pitch 54]][[rate 350]]OMG. OH[[pitch 38]][[rate 350]] [[pitch 54]]YE[[rate 250]]S" using "Victoria"
end try



      

Best regards







Tommy Bollman

--------------------------------------------------------------------------------------------------

Mollison's Bureaucracy Hypothesis:

If an idea can survive a bureaucratic review

and be implemented it wasn't worth doing.

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden



_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: Rant Generator
      • From: "email@hidden" <email@hidden>
    • Re: Rant Generator
      • From: "email@hidden" <email@hidden>
References: 
 >Re: Rant Generator (From: "email@hidden" <email@hidden>)

  • Prev by Date: Re: Rant Generator
  • Next by Date: shell script
  • Previous by thread: Re: Rant Generator
  • Next by thread: Re: Rant Generator
  • Index(es):
    • Date
    • Thread