Re: NSSpeechSynthesizer and empty strings
Re: NSSpeechSynthesizer and empty strings
- Subject: Re: NSSpeechSynthesizer and empty strings
- From: "I. Savant" <email@hidden>
- Date: Thu, 26 Jun 2008 14:15:50 -0400
> If NSSpeechSynthesizer has nothing to say, I want to create an audio
> file with 1 second of silence.
Maybe I'm misunderstanding the problem, but how about ...
if ([myString isEqualToString:@""])
{
// Record silence into file ...
} else {
// Send string to speech synthesizer
}
--
I.S.
_______________________________________________
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