Re: NSSpeechSynthesizer and Volume
Re: NSSpeechSynthesizer and Volume
- Subject: Re: NSSpeechSynthesizer and Volume
- From: Ricky Sharp <email@hidden>
- Date: Fri, 23 Jul 2004 07:54:02 -0500
On Friday, July 23, 2004, at 07:36AM, Vincent Pottier <email@hidden> wrote:
>
I'll like to controle Speech Synthetis volume in my app via a
>
NSSlider, but i can't found a way to control it. If someone know a way
>
to do it, he is welcome. :,)
I don't think this is possible when using NSSpeechSynthesizer. I know you can do it from Carbon using the SetSpeechInfo API with the soVolume specifier.
It also doesn't appear possible to mix the Carbon APIs with NSSpeechSynthesizer. This is because the Cocoa class doesn't expose the underlying speech channel (which is required when using SetSpeechInfo).
I would definitely file an enhancement bug in that NSSpeechSynthesizer should allow one to get and set all the properties as you can with the Carbon APIs. I may file a bug myself on this as I plan to also use that Cocoa object.
Rick Sharp
Instant Interactive(tm)
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.