NSSpeechSynthesizer and empty strings
NSSpeechSynthesizer and empty strings
- Subject: NSSpeechSynthesizer and empty strings
- From: "David Brennan" <email@hidden>
- Date: Thu, 26 Jun 2008 19:10:38 +0100
Hi,
I have a cocoa app that is using NSSpeechSynthesizer to speak the
contains of a NSString to a file. My problem is when it is passed an
empty string, - (BOOL)isSpeaking returns true. So I don't know when it
is finished.
If NSSpeechSynthesizer has nothing to say, I want to create an audio
file with 1 second of silence.
Any help with this would be great.
Regards,
Dave.
_______________________________________________
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