• 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: "email@hidden" <email@hidden>
  • Date: Sun, 18 Jul 2010 10:10:21 -0700

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.


Found it!  Just what I was looking for, and more!

http://developer.apple.com/mac/library/documentation/UserExperience/Conceptual/SpeechSynthesisProgrammingGuide/FineTuning/FineTuning.html#//apple_ref/doc/uid/TP40004365-CH5-SW10

Hear the difference?

--------------------------
set halfNote to 150
set fullNote to 75
set quarterNote to 300
set singingVoice to "trinoids"
set {mC, D, E, F, G, A, B, hC} to {"60", 62, 64, 65, 67, 69, 71, 72}
set {cs, ds, fs, gs, aSh} to {61, 62, 66, 68, 70}
set thisIsMySong to {}
 
say "doe" pitch mC using singingVoice speaking rate fullNote
say "ray" pitch D using singingVoice speaking rate fullNote
say "me" pitch E using singingVoice speaking rate fullNote
say "fa" pitch F using singingVoice speaking rate halfNote
say "so" pitch G using singingVoice speaking rate halfNote
say "law" pitch A using singingVoice speaking rate quarterNote
say "tee" pitch B using singingVoice speaking rate quarterNote
say "doe" pitch hC using singingVoice speaking rate fullNote

set the end of thisIsMySong to " [[ " & mC & " pbas ]][[" & "rate " & fullNote & " ]] doe"
set the end of thisIsMySong to " [[" & "rate " & fullNote & " ]][[pbas " & D & " ]] ray"
set the end of thisIsMySong to "[[" & "rate " & fullNote & " ]][[pbas " & E & " ]]  me "
set the end of thisIsMySong to " [[pbas " & F & " ]] [[" & "rate " & halfNote & " ]] fa"
set the end of thisIsMySong to "[[pbas " & G & " ]] [[" & "rate " & halfNote & " ]]so  "
set the end of thisIsMySong to " [[pbas " & A & " ]] [[" & "rate " & quarterNote & " ]] law"
set the end of thisIsMySong to " [[pbas " & B & " ]] [[" & "rate " & quarterNote & " ]] tee"
set the end of thisIsMySong to " [[pbas " & hC & " ]] [[" & "rate " & fullNote & " ]]doe "
set thisIsMySong to thisIsMySong as text
say thisIsMySong using singingVoice

 _______________________________________________
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

References: 
 >Re: Rant Generator (From: Paul Berkowitz <email@hidden>)

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