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

Re: NSSpeechSynthesizer rate


  • Subject: Re: NSSpeechSynthesizer rate
  • From: Ron Fleckner <email@hidden>
  • Date: Tue, 23 Dec 2008 16:04:12 +1100


On 23/12/2008, at 5:26 AM, Reema Sardana wrote:

Is there any range within which the values returned by the method rate() of
the class NSSpeechSynthesizer lie? I see that the volume is always between
0.0 and 1.0.


--
Reema
http://www1.reemasardana.com/

Hmm... I see that the values for rate aren't in the new docs for NSSpeechSynthesizer in Leopard. The ability to set the rate wasn't present in this API until Leopard. In the Carbon docs it says:


soRate
Get or set a speech channel’s speech rate. The speechInfo parameter is a pointer to a variable of type Fixed. The possible range of speech rates is from 0.000 to 65535.65535. The range of supported rates is not predefined by the Speech Synthesis Manager; each speech synthesizer provides its own range of speech rates. Average human speech occurs at a rate of 180 to 220 words per minute.


This selector works with both the GetSpeechInfo and SetSpeechInfo functions and does not move memory.

Available in Mac OS X v10.0 and later.



I used the Carbon framework in my app.

Hope that helps.

Ron_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >NSSpeechSynthesizer rate (From: "Reema Sardana" <email@hidden>)

  • Prev by Date: Notification when NSPersistentDocument done loading model
  • Next by Date: Re: observeValueForKeyPath and how to do it right
  • Previous by thread: NSSpeechSynthesizer rate
  • Next by thread: iTunes Plug-in
  • Index(es):
    • Date
    • Thread