Actually, "if ([myString length] == 0)" is probably better, but just
IMHO... :)
On Jun 26, 2008, at 1:15 PM, I. Savant wrote:
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 (Cocoa-dev@lists.apple.com)
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:
http://lists.apple.com/mailman/options/cocoa-dev/wsquires%
40satx.rr.com
This email sent to [EMAIL PROTECTED]
_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]